mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(core): Add Support for redirection inside Iframe (#7976)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -857,6 +857,14 @@ pub(crate) fn into_stripe_next_action(
|
||||
},
|
||||
}
|
||||
}
|
||||
payments::NextActionData::RedirectInsidePopup { popup_url } => {
|
||||
StripeNextAction::RedirectToUrl {
|
||||
redirect_to_url: RedirectUrl {
|
||||
return_url,
|
||||
url: Some(popup_url),
|
||||
},
|
||||
}
|
||||
}
|
||||
payments::NextActionData::DisplayBankTransferInformation {
|
||||
bank_transfer_steps_and_charges_details,
|
||||
} => StripeNextAction::DisplayBankTransferInformation {
|
||||
|
||||
@ -410,6 +410,14 @@ pub(crate) fn into_stripe_next_action(
|
||||
},
|
||||
}
|
||||
}
|
||||
payments::NextActionData::RedirectInsidePopup { popup_url } => {
|
||||
StripeNextAction::RedirectToUrl {
|
||||
redirect_to_url: RedirectUrl {
|
||||
return_url,
|
||||
url: Some(popup_url),
|
||||
},
|
||||
}
|
||||
}
|
||||
payments::NextActionData::DisplayBankTransferInformation {
|
||||
bank_transfer_steps_and_charges_details,
|
||||
} => StripeNextAction::DisplayBankTransferInformation {
|
||||
|
||||
Reference in New Issue
Block a user