juspay/hyperswitch

[REFACTOR]: [Globalpay] MCA metadata validation

Open

#2.911 geöffnet am 17. Nov. 2023

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (4.676 Forks)batch import
A-connector-integrationC-refactorgood first issuehelp wanted

Repository-Metriken

Stars
 (42.690 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 12h) (212 gemergte PRs in 30 T)

Beschreibung

:memo: Feature Description

  • We don't have validation for MCA metadata, So while creating MCA we are allowing any json value. Because of which RequestEncodingFailure happening during payments for the MCA which doesn't have the expected fields

:hammer: Possible Implementation

  • While adding Merchant Connector Account we want that metadata field should be validated.
  • You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2746 :bookmark: Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/globalpay and crates/router/src/core/admin.rs

:package: Have you spent some time checking if this feature request has been raised before?

  • I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

:sparkles: Are you willing to submit a PR?

Contributor Guide