mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 12:06:56 +08:00
fix(connector): [NEXIXPAY] Add Validation Checks for Request Fields (#8345)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
This commit is contained in:
committed by
GitHub
parent
7338a8db85
commit
6fd7626c99
@ -601,6 +601,7 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode {
|
||||
errors::ApiErrorResponse::NotImplemented { .. } => Self::Unauthorized,
|
||||
errors::ApiErrorResponse::FlowNotSupported { .. } => Self::InternalServerError,
|
||||
errors::ApiErrorResponse::MandatePaymentDataMismatch { .. } => Self::PlatformBadRequest,
|
||||
errors::ApiErrorResponse::MaxFieldLengthViolated { .. } => Self::PlatformBadRequest,
|
||||
errors::ApiErrorResponse::PaymentUnexpectedState {
|
||||
current_flow,
|
||||
field_name,
|
||||
|
||||
Reference in New Issue
Block a user