mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 13:30:39 +08:00
feat(core): [Stripe] add bank debits payment method to stripe (#906)
This commit is contained in:
@ -87,11 +87,14 @@ impl TryFrom<api_models::payments::PaymentMethodData> for PaymentDetails {
|
||||
api::PaymentMethodData::PayLater(_) => Ok(Self::Klarna),
|
||||
api::PaymentMethodData::Wallet(_) => Ok(Self::Wallet),
|
||||
api::PaymentMethodData::BankRedirect(_) => Ok(Self::BankRedirect),
|
||||
api::PaymentMethodData::Crypto(_) => Err(errors::ConnectorError::NotSupported {
|
||||
payment_method: format!("{value:?}"),
|
||||
connector: "AuthorizeDotNet",
|
||||
payment_experience: api_models::enums::PaymentExperience::RedirectToUrl.to_string(),
|
||||
})?,
|
||||
api::PaymentMethodData::Crypto(_) | api::PaymentMethodData::BankDebit(_) => {
|
||||
Err(errors::ConnectorError::NotSupported {
|
||||
payment_method: format!("{value:?}"),
|
||||
connector: "AuthorizeDotNet",
|
||||
payment_experience: api_models::enums::PaymentExperience::RedirectToUrl
|
||||
.to_string(),
|
||||
})?
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user