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:
awasthi21
2025-05-15 15:33:54 +05:30
committed by GitHub
parent 22a90078df
commit 831149c962
29 changed files with 288 additions and 17 deletions

View File

@ -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 {

View File

@ -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 {