#Goltan - one time payment with subscriptions

1 messages · Page 1 of 1 (latest)

chilly arrow
#

How are you creating these subscriptions? Through the API or Checkout or something?

#

Do we 1. Create Customer, 2. Create Subscription, 3. Create Invoice for additional Products, 4. Create PaymentIntent for both?

#

You can add one time items to the first payment for your subscription. There are a couple ways to do that depending on how you are creating these subscriptions

karmic summit
#

we have our own custom cart and using the API

#

subscriptions are either Monthly or Annual

#

could we charge for Product and Subscription on the 1st transaction (make sure Card is saved against Customer) and setup a Subscription which starts 1 month/year in the future?

chilly arrow
#

That way you have one transaction for the subscription fee and the one time payment and that sets up the Subscription

#

You can definitely do it your way as well but that has a few more moving parts

karmic summit
#

so... Create Customer -> Capture Card -> Create Invoice with Subscription and non-recurring Product -> Create PaymentIntent for Invoice -> Confirm ?

chilly arrow
#

The Subscription itself should create an invoice that already has a payment intent itself. My suggested flow was more:
Create Customer -> Create Subscription -> Add Invoice Items to Subscription's first Invoice -> Finalize Invoice -> Capture Card -> Confirm Invoice PaymentIntent