#castle9000 - Auth Off Session
1 messages · Page 1 of 1 (latest)
Hey @fluid surge !
hi
Do you have a specific Payment Intent I can take a look at? Or is this a hypothetical question?
Generally, you're going to need to bring your user back on-session somehow and re-confirm the Payment Intent with Stripe.js
Yeah it's more of a hypothetical question really. So once I have the customer back on site I can use the existing payment intent on the subscription is that correct? I don't have to ask the user to enter their card again, is that true?
also with the react stripe library is it true I need to use confirmCardPayment ?
instead of confirmCardSetup
Will breakdown these questions 1-by-1:
I can use the existing payment intent on the subscription is that correct
Yes, you can re-use the existing Payment Intent (they don't expire) that will likely have arequires_payment_methodstatus
I don't have to ask the user to enter their card again, is that true?
Well, that depends. If you have the existing Payment Method object you can pass that toconfirmCardPayment, yes: https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-existing
also with the react stripe library is it true I need to use confirmCardPayment ?
Yep, that's the correct function for Payment Intents.confirmCardSetupis for Setup Intents
that's perfect that answers my questions thank you
Sure, np!