feat: ACH transfers (#905)

This commit is contained in:
Sangamesh Kulkarni
2023-05-19 15:14:29 +05:30
committed by GitHub
parent 39405bb478
commit 23bca66b81
39 changed files with 1247 additions and 66 deletions

View File

@ -70,6 +70,7 @@ enum PaymentDetails {
Paypal,
#[serde(rename = "bankRedirect")]
BankRedirect,
BankTransfer,
}
fn get_pm_and_subsequent_auth_detail(
@ -137,7 +138,8 @@ fn get_pm_and_subsequent_auth_detail(
}
api::PaymentMethodData::Crypto(_)
| api::PaymentMethodData::BankDebit(_)
| api::PaymentMethodData::MandatePayment => {
| api::PaymentMethodData::MandatePayment
| api::PaymentMethodData::BankTransfer(_) => {
Err(errors::ConnectorError::NotSupported {
message: format!("{:?}", item.request.payment_method_data),
connector: "AuthorizeDotNet",