#florian5262

1 messages · Page 1 of 1 (latest)

naive ploverBOT
fast yacht
#

Hi there!

#

If you want an Invoice, then you shouldn't be creating a PaymentIntent directly. Instead create an Invoice object.

plush zephyr
#

Hi there, thanks for that fast answer! What should I do after creating the Invoice object?

fast yacht
plush zephyr
#

How can I then process the invoice amount in the frontend using Stripe Elements? This worked very well with Payment Intents.

fast yacht
#

The Invoice object will contain a PaymentIntent. Use the client_secret of that PaymentIntent to pay the Invoice on the frontend.

plush zephyr
#

Oh, perfect, I was missing that information. I'll give it a try right away. Thank you very much!