#toxiCity
1 messages ยท Page 1 of 1 (latest)
Hi
Hello ๐
I don't think we support running custom actions after calling confirmSetup
You'd either need to run them before confirmSetup is called or after the redirecct
Where do I put that code before confirm setup?
you mean here?
is there any way to prevent redirection then?
I need to confim first that the card setup went through
You can set redirect to if_required
https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
that should prevent the redirect for card payments
NP! ๐ Good luck