#chooke-subscription
1 messages ยท Page 1 of 1 (latest)
๐ Happy to help
Here are the docs for your reference:
- Multiple products in a subscription: https://stripe.com/docs/billing/subscriptions/multiple-products
- Trial period for a subscription: https://stripe.com/docs/billing/subscriptions/trials
Subscription with multiple products has restrictions that:
Since using multiple products with a subscription results in a single invoice and payment, all of the prices for those products must use the same currency and have the same billing interval.
You can't have different billing interval in a single subscription
so i cant have this ?
A product itself can have different pricing with different interval
But single subscription can't have monthly and yearly price at the same time
For example, prices should be all monthly billing. You can't mix monthly and yearly billing in a single subscription
ok , so currently my customers subscribe to one of the plans with a single price , monthly or yearly , so while the customer on a monthly plan , can i change the plan to a yearly plan
this is what im doing
If your subscription only has one plan, then changing from monthly to yearly plan is possible
yes , only one plan per subscription , so what im trying to do is , change the plan to a different plan like starter plan for example and it could be monthly or yearly
when i updated the subscription through the dashboard it showed two plans , so do i need to remove the old plan first ? or is it automatically handled by stripe
can you share the subscription ID (sub_xxx)? there should only be one plan after updating the subscription
sub_1LeA7aC68fMI8JtvMBuOXefR
In your updating request, https://dashboard.stripe.com/test/logs/req_pqUbnYqNNV6JPY, you created two line items, i.e. not updating the existing price
there are no other options other than removing or adding a new plan ,
also i tried to use the API with postman as well , i get the same result ,
You should get the line_item ID first, then update the line_item's price
In this postman screenshot, you just simply put the price without referencing to the line_item that you want to update
I'd recommend reading the implementation details here: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
items[0].id is missing
sweet , got it working now , just a final question , when changing a plan while on trial period ,for example 14 days , then after using the plan for 4 days , the customer decided to change to a different plan , is stripe automatically starts the next plan with 10 days trial period
it the subscription is changed during trial period, it will remain in trial until trial ends. in this case, updated plan will start after 10 days trial period
Awesome , thank you so much for your time and help ๐ฏ๐ฏ
No problem! Happy to help ๐