#ajay-subscription

1 messages · Page 1 of 1 (latest)

ripe moon
#

Hi! I'm not sure I understand, can you clarify what you are trying to achieve exactly?

light heath
#

Making subscription using checkout session

But now we have some changes in requirements
Need dynamic subscription

so that multiple products in subscription can use with checkout session?

ripe moon
#

So you want to create one subscription with multiple recurring prices using Checkout Sessions?

light heath
#

yes

#

or no need dynamic create subscription?
as checkout session have line_items?

ripe moon
#

Yes you can pass multiple recurring prices in the line_items of a Checkout Session.

light heath
#

so no need create subscription with multiple products?

ripe moon
light heath
#

this is I am asking is it ok to use above
and we can exclude create customer api and also exclude create subscription with multiple products

ripe moon
#

Yes, just create multiple recurring prices, and then pass the prices when creating the Checkout Session.

light heath
#

ok thank you
trying soon
if wont success then I will come back here with issue

ripe moon
#

The only thing to keep in mind when creating subscription with Checkout Sessions: the prices need to be in the same currency and with the same billing period.