-
Notifications
You must be signed in to change notification settings - Fork 94
feat: integration for redsys 3ds #963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
76045e3
to
2d6c959
Compare
2d6c959
to
56c94f7
Compare
56c94f7
to
786f15b
Compare
PritishBudhiraja
previously approved these changes
Mar 25, 2025
29137d3
to
ed018d0
Compare
ed018d0
to
34ea608
Compare
PritishBudhiraja
previously approved these changes
Mar 27, 2025
34ea608
to
d846f90
Compare
d846f90
to
2ea1c88
Compare
2ea1c88
to
3db7f01
Compare
3db7f01
to
5e64705
Compare
5e64705
to
cc9fecc
Compare
ArushKapoorJuspay
approved these changes
Mar 27, 2025
PritishBudhiraja
approved these changes
Mar 27, 2025
Sanskar2001
pushed a commit
that referenced
this pull request
Mar 27, 2025
# [0.120.0](v0.119.9...v0.120.0) (2025-03-27) ### Features * integration for redsys 3ds ([#963](#963)) ([b4bea78](b4bea78))
10 tasks
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
Redsys 3DS auth implementation.
handled new next action
invoke_hidden_iframe
Task Details:
new next action behavior (
invoke_hidden_iframe
)Construct a hidden Iframe as given bellow
endpoint: three_ds_method_url
input field name: method_key
input field value: three_ds_method_data
On submitting, wait for the 10sec time out. If submission of the form takes more than 10secs, call complete_authorize with client_secret and
threeds_method_comp_ind
flag marked as "N" . Else sendthreeds_method_comp_ind
marked as "Y".curl --location 'http://localhost:8080/payments/pay_2n5oBH26fEGkdLjsw152/complete_authorize' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'api-key: pk_dev_a4914922937e42f7a55065450b26aa1d' \ --data '{ "threeds_method_comp_ind": "Y", "client_secret": "pay_2n5oBH26fEGkdLjsw152_secret_p8t3s9TtYkhjbV63hgax" }'
This complete authorize call can either return the payment status with no next action or return a redirect_to_url next action.
How did you test it?
Tested Locally
output_compressed.mov
Checklist
npm run re:build