#ajay-subscription
1 messages · Page 1 of 1 (latest)
Hi! I'm not sure I understand, can you clarify what you are trying to achieve exactly?
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?
So you want to create one subscription with multiple recurring prices using Checkout Sessions?
Yes you can pass multiple recurring prices in the line_items of a Checkout Session.
so no need create subscription with multiple products?
What do you mean? If you want to use Checkout Sessions to create one subscription with multiple recurring prices, it's possible with line_items https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items
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
Yes, just create multiple recurring prices, and then pass the prices when creating the Checkout Session.
ok thank you
trying soon
if wont success then I will come back here with issue
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.