#castle9000 - Auth Off Session

1 messages · Page 1 of 1 (latest)

hidden salmon
#

One moment please

pure bear
#

Hey @fluid surge !

fluid surge
#

hi

pure bear
#

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

fluid surge
#

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

pure bear
#

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 a requires_payment_method status
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 to confirmCardPayment, 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. confirmCardSetup is for Setup Intents

fluid surge
#

that's perfect that answers my questions thank you

pure bear
#

Sure, np!