#mlo300
1 messages · Page 1 of 1 (latest)
Sorry for italian
NP! You can set redirect to if_required when calling confirmPayment
https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
This would stop redirect for any payment methods that don't need it.
I wish it doesn't send you from any page
Unfortunatley, some payment methods do need the redirect in order to complete the payment so there's no way to completely disable it
But does the redirect only when successful?
I believe so, yes.
You can try using the test cards to trigger different behaviours and check what's expected
https://stripe.com/docs/testing