#canopus1io
1 messages · Page 1 of 1 (latest)
const { setupIntent, error } = await stripe.confirmSetup({
elements,
confirmParams: {
return_url: window.location.href, // TODO create redirect page
},
redirect: 'if_required',
});
The Bank Debits group of Payment Methods includes a number of different payment methods each with their own specific requirements.
If one of them does require the customer to be directed to a bank hosted interface then Stripe will use the redirect URL to return them to your integration
at the moment I would only be using sepa_debit and us_bank_account
do either of these require it?
Using Stripe Payment Element those should only render modal windows
But that being said you would likely want to be ready to redirect users.
so that we could accept other payment methods in the future?
is there documentation on how to test this redirect process?
You would test out the Save details pages for each of the Payment methods using the test information we provide. For example: https://stripe.com/docs/payments/ach-debit/set-up-payment?platform=web#test-integration