#Adaman

1 messages · Page 1 of 1 (latest)

tranquil streamBOT
honest verge
#

Hi there!

#

In order to mount the Payment Element, you first need to have a PaymentIntent. And once you have the PaymentIntent, it's completely up to you to decide when exactly to load the Payment Element.

jagged oasis
#

Hi @honest verge

#

Thanks for that, just to check the paymentintent can be created regardless of if the user eventually ends up making a payment?

#

Sorry if I gave you a bunch of technobabble I'm new to stripe 🤣

honest verge
#

No worries! And yes when you create a PaymentIntent, you don't know yet if the customer will actually buy or not. And if they don't, then the PaymentIntent will stay in the requires_payment_method status and that's fine.

jagged oasis
#

Ok perfect thanks so much for your help.