#sr

1 messages · Page 1 of 1 (latest)

upbeat sedgeBOT
gilded shore
rigid sand
#

So I need to use stripe.invoices.create to create an invoice and then use the paymentIntent of this invoice to make the payment in the app? (e.g. with Apple Pay) @gilded shore

#

Or could I create the invoice after I did the successful payment with the paymentIntent?

gilded shore
#

So I need to use stripe.invoices.create to create an invoice and then use the paymentIntent of this invoice to make the payment in the app?
Yes

#

Or could I create the invoice after I did the successful payment with the paymentIntent?
No you can't create an Invoice after creating a PaymentIntent

rigid sand
#

Thank you @gilded shore
Do you have a code example to create the invoice and use the payment intent for the payment? Cannot find anything n the docs

gilded shore
#

Once finalized