#CalebR-prevent-redirect
1 messages · Page 1 of 1 (latest)
Good question. You can set it such that redirects will only happen if required https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
Complete reference documentation for the Stripe JavaScript SDK.
I am guessing this is because you want to use automatic payment methods but not allow redirects as well?
Yes, I found that option. Is it possible to completely prevent them though? Or is there a list of the payment methods that will cause a redirect so that I can omit those from the initialization?
Not immediately sure. Looking in to if you can programmatically prevent showing them or at the very least see a list that would say what not to include.
Thanks
If it helps, we're only planning to support Card, Apple Pay, Google Pay, and US Bank Accounts via Stripe Connections with only instant verification (no micro-deposits).
Those first three won't be an issue.
Looking in to the bank accounts. So that would be ACH right?
Yes, with the Connections beta. In my testing it all go through the modal that pops up, but I'm not sure if there's a scenario where it might trigger a redirect even when set up with instant as the only verification method: https://stripe.com/docs/payments/us-bank-account/set-up-payment?platform=web#instant-only-verification
Ah thank you for the clarification. I was not considering that beta. I will look in to if that case exists
Thanks!
It looks like you can safely assume that Connections will create a modal here