#AruntDev-subscriptions
1 messages · Page 1 of 1 (latest)
Hi! You want to create one subscription with multiple items in it, or multiple subscriptions?
I want to make one subscription with multiple items and I am using .net
And how are you creating the subscriptions? With Checkout Sessions or diectrly with Subscriptions?
With checkout sessions
Got it! So when creating the Checkout Session in subscription mode, you can pass multiple price ID in the line_items parameter: https://stripe.com/docs/api/checkout/sessions/create?lang=dotnet#create_checkout_session-line_items
and also how we will create multiple subscriptions?
This will not work for me I want muitlple subscription with multiple recurring interval
OK, so for the same customer, you want to create multiple subscriptions because the Price you use need to have different intervals?
Yes
Also when I am making monthly subscription why checkout showing me thrice price. like my monthly subscription is 10 it's showing me 30 . any idea about it ?
So Checkout Session cannot directly create multiple subscriptions. So one solution is to create a Checkout Session in setup mode to get a payment method. And then reuse that payment method to create all your subscriptions.
Another option is to create a Checkout Session in payment mode that contains the payments for the first billing cycle of all subscriptions, and set setup_future_usage to save the payment method. Then create all the subscription you need with a free trial (since the customer already paid for the first billing cycle).