mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
feat(router): payment_method block (#3056)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: shashank_attarde <shashank.attarde@juspay.in>
This commit is contained in:
@ -520,6 +520,7 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode {
|
||||
connector_name,
|
||||
},
|
||||
errors::ApiErrorResponse::DuplicatePaymentMethod => Self::DuplicatePaymentMethod,
|
||||
errors::ApiErrorResponse::PaymentBlocked => Self::PaymentFailed,
|
||||
errors::ApiErrorResponse::ClientSecretInvalid => Self::PaymentIntentInvalidParameter {
|
||||
param: "client_secret".to_owned(),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user