#inthisar_h - checkout subscriptions

1 messages ยท Page 1 of 1 (latest)

winged valveBOT
hollow sun
#

Hi ๐Ÿ‘‹

We don't currently support the creation of subscription schedules via the Checkout Session.

ripe garden
#

so, I need to do everything manually through API, right? from creating customer to attaching payment method to customer and so on..

hollow sun
#

inthisar_h - checkout subscriptions

ripe garden
#

huh thats nice, after the sucesss event webhook , I can update it right

hollow sun
#

Correct. So you would configure the the Checkout Session subscription_data to match what you want for your first phase of the Schedule

ripe garden
#

what is the flow? am i need set checkout session with initial month payment or i need to set it up with 0$ price ?, and then i can create other phases with success webhook event

hollow sun
#

Well what are you trying to do? You just asked about using a Checkout Session with Subscription Schedules.

What is the expected schedule you want to make?

ripe garden
#

I need to get 1st month payment, then 6 month free period and then normal regular interval and price as like 1st month and it continues until user cancel

#

Currently i configured checkout session with regular monthly payment

hollow sun
#

Okay, so in that case I would do the following:

  1. Create the Checkout Session with a regular monthly price
  2. Create a Schedule from the subscription object that gets generated
  3. Add two new phases - one with a $0/month price that repeats for 6 months and the second with the same price as the Checkout session
ripe garden
#

so the checkout session subscription doesn't intercept with schedule, after I created schedule

#

I mean it will update checkout session subscription to schedule phase price, am i right

hollow sun
#

Yes. Every Subscription Schedule is running on top of an actual Subscription object. The Schedule just takes care of automating the updates to the Subscription. So in this case you create the Subscription first (using the Checkout Session), then add a Schedule to it to handle the updates

ripe garden
#

so the subscription id of the customer doesn't change, then I can manage it with subscription Id..

hollow sun
#

Correct

ripe garden
#

cool, that's okay then, I can configure it

#

thanks ๐Ÿ™‚