#Wasabi - SCA return_url
1 messages · Page 1 of 1 (latest)
I am not that familiar with non-3DS SCA, is there a guide you are following for this?
Have you tried making a call with or without that URL?
This is the QS guide that our user follows: https://stripe.com/docs/payments/quickstart
Their question: regarding payment element return_url parameter required — It seems that stripe.confirmPayment API requires a return_url. Our application is meant to be a single page app (i.e. we try to avoid "reloading" the page) and based on our initial testing, it seems that our site automatically redirects to the URl. Is there a way to register some type of a callback, so our Javascript could handle the logic once the user is complete.
The redirect URL seems to be used any time a user completes a purchase, which effectively would make the user leave our "1 page" application.
You can set redirect to if_required when confirming the payment so that it does not always redirect, but I am not immediately sure how that effects 3DS https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
Some payment methods do require a redirect though so if you are going to use them you will need to code for that
Yes, I have informed them about the if_required parameter, but it seems that :The redirect URL seems to be used any time a user completes a purchase, which effectively would make the user leave our "1 page" application.
Thanks for the clarification, I will check in to how you can configure this behavior if possible
Thank you @cobalt edge !
What payment methods are you working with specifically? For me if_required is preventing redirects on card payments, but for other methods that need a redirect I don't think there is a way to configure around that.
@cobalt edge the user is using cards payment method
Digital wallets in the future
Hi there, I'm stepping in for Pompey. Give me a moment to catch up
Thank you @noble wasp
So there shouldn't be any redirect as long as you are setting if_required and using cards (as Pompey stated). I just also tested and confirmed that was the case on my end. Are you seeing different behavior?