feat(core): Add Support for redirection inside Iframe #7976
Merged
Gnanasundari24 merged 2 commits intomainfrom May 15, 2025
Merged
feat(core): Add Support for redirection inside Iframe #7976Gnanasundari24 merged 2 commits intomainfrom
Gnanasundari24 merged 2 commits intomainfrom
Conversation
fd573dc to
ade5b93
Compare
SanchithHegde
previously approved these changes
May 12, 2025
c0fda12 to
d699073
Compare
7eed867 to
bdab7aa
Compare
9e5af1c to
2c1c828
Compare
2c1c828 to
03f8503
Compare
SanchithHegde
approved these changes
May 13, 2025
sai-harsha-vardhan
approved these changes
May 14, 2025
apoorvdixit88
approved these changes
May 14, 2025
Contributor
apoorvdixit88
left a comment
There was a problem hiding this comment.
Dashboard specific change looks fine.
Sakilmostak
approved these changes
May 14, 2025
iemyashasvi
pushed a commit
that referenced
this pull request
May 22, 2025
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
This pull request introduces support for payment redirection inside an iframe.
New flag added:
is_iframe_redirection_enabledhas been introduced in both:PaymentIntentBusinessProfileNew
NextActionType:RedirectInsidePopuptoNextActionTypeandNextActionDataenums to support redirection within a popup (iframe-based).Behavior of
is_iframe_redirection_enabledPaymentIntentrequest (if explicitly set)BusinessProfileis usedFlag Resolution Scenarios
truefalsefalsetruetruefalseor not setAdditional Changes
Motivation and Context
How did you test it?
🟢 Case 1:
PaymentIntent = true,BusinessProfile = false"is_iframe_redirection_enabled": true"is_iframe_redirection_enabled": falseRedirectInsidePopupScreen.Recording.2025-05-13.at.6.59.54.PM.mov
🟢 Case 1:
PaymentIntent = False,BusinessProfile = TrueScreen.Recording.2025-05-13.at.7.09.43.PM.mov
This change is done only for cards 3ds where we get the authenticationData .
Screen.Recording.2025-05-15.at.4.41.07.PM.mov
Checklist
cargo +nightly fmt --allcargo clippy