mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat: SEPA and BACS bank transfers through stripe (#930)
This commit is contained in:
committed by
GitHub
parent
53aa5ac92d
commit
cf000599dd
@ -691,7 +691,7 @@ where
|
||||
//TODO: For ACH transfers, if preprocessing_step is not required for connectors encountered in future, add the check
|
||||
let router_data_and_should_continue_payment = match payment_data.payment_method_data.clone() {
|
||||
Some(api_models::payments::PaymentMethodData::BankTransfer(data)) => match data.deref() {
|
||||
api_models::payments::BankTransferData::AchBankTransfer(_) => {
|
||||
api_models::payments::BankTransferData::AchBankTransfer { .. } => {
|
||||
if payment_data.payment_attempt.preprocessing_step_id.is_none() {
|
||||
(
|
||||
router_data.preprocessing_steps(state, connector).await?,
|
||||
@ -701,6 +701,7 @@ where
|
||||
(router_data, should_continue_payment)
|
||||
}
|
||||
}
|
||||
_ => (router_data, should_continue_payment),
|
||||
},
|
||||
_ => (router_data, should_continue_payment),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user