mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
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:
@ -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 }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -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 }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user