#FallenBlade
1 messages · Page 1 of 1 (latest)
Good question. I am not sure if this is possible with the card element but will look in to it
For what it is worth, we do have this for the payment element where you can tell it to always redirect https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect
Thanks. Will this confirmPayment() also works in PaymentRequest Button?
Unfortunately not and unfortunately it looks like this isn't possible with confirmCardPayment. I think here you will need to code your page to do the redirect on the successful payment
I see, I am just confused since there's a return_url parameter on confirmCardPayment just like in confirmPayment() here:
https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-data-return_url
Anyways, I redirected my customers now on the successful payment page.
That URL is for if the user gets redirected because of 3DS. It tells us where to send them if we have to redirect the user
So similar to the URL in the other call but we don't provide a way of forcing that redirect
Ohhh, thanks for that information.
Thanks for your help here Pompey!