#mhsnawan-subscriptions
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Subscriptions are dynamic
you can specify multiple product/prices and for each have a quantity
Can I add multiple products in one subscriptions?
yes
so let's say in you case Netflix is price_1 and HBO is price_2
you would create a subscription like so
But that would be different for each organisation.
https://stripe.com/docs/api/subscriptions/create
customer: 'cus_1`
items: [{
price: 'price_1',
quantity: 5,
},{
price: 'price_2',
quantity: 5,
}]
}```
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
For example:
If organisation buys Netflix and HBO with 5 users @$100 on 1st Sept for monthly base.
And organisation changes its number of users to 10 at 15 Sept how we would handle it?
I see
I think this doc https://stripe.com/docs/billing/subscriptions/overview is a good place to start
Org needs to pay for extra 5 users for 15 days as well as for the next month billing should be changed to $150 as well.
this doc explains upgrading/downgrading subscriptions https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
let me know if you need any more help
