#kezal

1 messages · Page 1 of 1 (latest)

grizzled fernBOT
heavy crypt
#

hi! do you have an example of a Subscription sub_xxx where you see this, so I can understand what kind of API calls you're making?

rain plinth
#

Yes, sorry I was looking for it. Here is a subscription sub_1OU8fDF9R6Nkg8poxB31TKFA

heavy crypt
#

well in this case you pass payment_behavior: "default_incomplete" so it's expected that no payment is attempted and the subscription is incomplete

rain plinth
#

Is doing one PaymentIntent enough for subscriptions or should I make it each month ?

heavy crypt
#

each Invoice (which the Subscription creates each month) creates a PaymentIntent; recurring Invoices(i.e. not the first one) charge the default card automatically

rain plinth
#

Okay thank you

heavy crypt
#

for the first payment generally you're triggering this from the customer checking out on your site or clicking a button so usually you pass the PaymentIntent to the frontend to complete payment that way(which then activate the incomplete subscription); recurring payments happen automatically after that

grizzled fernBOT