#Benoît
1 messages · Page 1 of 1 (latest)
You mean a subscription with price amount = 0?
A "sleepy" subscription, whatever it contains. I just would like a subscription to keep attached to a customer, while the customer is never charged. For the customer, the result have to be as if he had no subscription at all
I don't understand what this "sleepy" means, but you need to specify a price when creating a subscription.
in fact, in my app, i will have some features.
1/ The users will be able to subscribe to any feature he wants.
2/ Each feature on the app will correspond to a specific plan in Stripe. So if the user wants 2 features, i want the 2 subscriptions items to be attached on a main subscription
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=checkout I'd suggest you to go through the integration and see if Stripe subscription can provide the features that you are looking for
I can't use Checkout
https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements there's also a custom integration option.
Thank you, but it's not what i'm looking for. I just wanted to know if a subscription could still remain empty without subscription items
No
Ok thank you.
And if i create a subscription with one item, could i add an item later to this same subscription, but make the customer be charged immediately only for the new item ?
Yes you can.
You can create invoice items with subscription set (https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-subscription), so that the invoice items will be added to the upcoming invoice that the subscription will generate
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Hello, thank you !
I looked at the docs Jack sent me to. I don't understand the last sentence : "Use this when you want to express that an invoice item has been accrued within the context of a particular subscription."
this means that the invoice item will be treated the same way as an "add_invoice-item" https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok thank you
I would like to create a system where customers could add or remove some plans to a single subscriptions, but i don't how to do to make the customer pay immediately after having added a new subscription items, and make the subscription item from the upcoming main subscription to be prorated.
You see what i mean ?
invoice items are not subscription items
Yes, that's my problem
meaning that these are one-off items
I need to use subscriptions items
this is how you change
a subscription
this is for immediate payment
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
In fact, i don't want to upgrade or downgrade a subscription, i just want to add or remove some items from the main subscription
The main subscription would automaticaly evolve
this is what an upgrade or downgrade means
changing the prices on a subscription
either by adding or substituting or removing...
Ok i will study this, thank you.
Is there a way to pause a subscription item (not the whole main subscription), but still continue to charge the other subscription items of the main subscription ?