#Pilou-one-time-payment-invoice
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Are you using the PaymentIntents API or are yo using Stripe Checkout?
The PaymentIntents API doesn't support creating a invoice for payments. Using the PaymentIntent and invoices at the same time will basically duplicate the payments in your account (one payment via the PaymentIntent and the other via the invoice you marked as paid).
Yes i saw that i had a duplicate payment. I have to use Stripe Checkout instead ?
Or it is not possible to do that ? But it is very strange because it is a big feature i think
You can use Stripe Checkout, yes.
The other option would be to create an invoice first and once it is finalized, you can use the PaymentIntent created by the invoice to render the elements
https://stripe.com/docs/api/invoices/object#invoice_object-payment_intent
OK it is a little big tricky but i think i will try to do that
Thx for helping me ! ๐
NP! ๐ happy to help