feat(connectors): [Redsys] add 3D secure card payment support, including transaction capture, cancellation, and refunds (#7508)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2025-03-21 15:08:44 +05:30
committed by GitHub
parent 0efeaa890f
commit a1ecce8f25
58 changed files with 3153 additions and 536 deletions

View File

@ -839,6 +839,9 @@ pub enum StripeNextAction {
CollectOtp {
consent_data_required: payments::MobilePaymentConsent,
},
InvokeHiddenIframe {
iframe_data: payments::IframeData,
},
}
pub(crate) fn into_stripe_next_action(
@ -903,6 +906,9 @@ pub(crate) fn into_stripe_next_action(
} => StripeNextAction::CollectOtp {
consent_data_required,
},
payments::NextActionData::InvokeHiddenIframe { iframe_data } => {
StripeNextAction::InvokeHiddenIframe { iframe_data }
}
})
}

View File

@ -392,6 +392,9 @@ pub enum StripeNextAction {
CollectOtp {
consent_data_required: payments::MobilePaymentConsent,
},
InvokeHiddenIframe {
iframe_data: payments::IframeData,
},
}
pub(crate) fn into_stripe_next_action(
@ -456,6 +459,9 @@ pub(crate) fn into_stripe_next_action(
} => StripeNextAction::CollectOtp {
consent_data_required,
},
payments::NextActionData::InvokeHiddenIframe { iframe_data } => {
StripeNextAction::InvokeHiddenIframe { iframe_data }
}
})
}