#gunwant_dev - paymentintent
1 messages · Page 1 of 1 (latest)
Hello
the return_url is required when calling confirmPayment https://stripe.com/docs/js/payment_intents/confirm_payment
That's not possible. That's because when confirming the PaymentIntent, customers may be redirected to a different page to authenticate. So once the authentication is complete, they have to be redirected to the return_url.
When called, stripe.confirmPayment will attempt to complete any required actions, such as authenticating your user by displaying a 3DS dialog or redirecting them to a bank authorization page. Your user will be redirected to the return_url you pass once the confirmation is complete.