#ledevfoufoufou

1 messages · Page 1 of 1 (latest)

surreal glenBOT
untold hull
#

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

dire sandal
#

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

untold hull
#

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

dire sandal
#

so I don't have to create a paymentIntent but a subscription instead

untold hull
#

Yes

#

Assuming you are trying to take Subscription payments

dire sandal
#

thanks !

untold hull
#

Sure