#ledevfoufoufou
1 messages · Page 1 of 1 (latest)
Hello
I'm not sure what you mean by that.
You create a PaymentIntent from your backend
So not sure what you mean by
Currently it creates a new paymentIntent for me
in first, I create a payment_intent on my server
in front I create a stripe.elements with this payment_intent
The customer submit elements, and I create a paymentMethod with stripe.createPaymentMethod({elements})
but a second paymentIntent is created for the paymentMethod
How attach the first paymentIntent when I create the paymentMethod
Subscriptions create PaymentIntents
From the screenshot it looks like you are both creating a Subscription and a PaymentIntent?
You should only be creating the Subscription in that case
so I don't have to create a paymentIntent but a subscription instead
thanks !
Sure