#Benoît
1 messages · Page 1 of 1 (latest)
Hello, you can do this by having one Subscription object with subscription items for each plan
So instead of creating a second Subscription, you would update the pre-existing one to group them
Hello ! Thank you ! Nice idea !
Will the 2nd subscription item be prorate AND immediatly paid when i will add it to the first one ?
Yes it can but you need to make sure to specify that proration_behavior is always_invoice https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
Great ! Thank you very much !
May i ask you 2 more questions about "multiple payments" ?
Yes please, ask away
Thanks !
1/ For a category of users, i will have to create a system where a "main" user will attach many "sub-users" to his account, and the number of sub-users will have to be visible in the invoice of the main user.
Is it possible to create such a system from the multiple susbscriptions system we spoke about just above ?
Can you clarify what an account is here? I assume an account on your website that there aren't necessarily any Stripe objects representing?
Also are you essentially saying that this main account will pay for the subscription plan(s) for all of its sub accounts and the sub accounts want just an invoice for their subscription?
Yes, that's it
In my app, a user will be able to subscribe to 2 differents plans. And he will be also able to add multiple users on my app who will access the features his "parent" would have paid for, and for each new user added, the parent will be uppriced of 6€/user for example.
So there will be a unique monthly invoice, for the main user, that will contain the multiple subscription items, and the "addon" per user
So sorry for my english
Unfortunately I don't think Stripe supports that kind of subscription. We just have one Customer object associated with the Subscription and can't segment parts of that subscription out from each other
You will either want to create your own receipts for the sub accounts
Actually my second suggestion would not have worked. I think that making your own receipts/invoices would be the best way to go here
I think i made a mistake. Only the main user will be charged and will see the invoice. The sub-users won't be part of Stripe
I already use a system of subscription items with quantities for extra recurring charges. I should be able to use this system
Oh, you want info about the sub-users to appear on the invoice?
Unfortunately I don't think this is possible when just using our default invoices. There is not a custom description field for each subscription item unless you make each of them separate products
Here is an example of what i have now in my app (real estate app). A user paid a plan of 29€/month to access the app, and we let him freely add a unique real estate property, but extra charge him of 6€/month for all added other properties. He has 2 others properties, so we extra charge him of 2x6€/month
I would like to create a unique subscription with multiple subscription items :
- items for the different plans the user can subscribe to
- items for all the extra charges per user
And what part of that are you looking for help on implementing? Are you unsure how the extra charges should be represented?
Yes. I'd like to be sure i use the correct way for extra charges (by just adding one subscription item on which i just change the quantity)
(my original question was not this one, but i think your answers gave me some good directions to take)
Yep, that is a great way to add the extra charges
Nice, thank you 👍
And the 2nd question i wanted to ask you is : If i remove all subscription items from a subscription, does the parent subscription still remains or is it automaticaly delete ?
It would not automatically delete but I think we may raise an error if you try to have 0 items. You may have to either replace the last item with a $0 item, pause/unpause the subscription, or cancel the subscription and create a new one later
That being said I am not 100% sure if there will be an error or not. Can you try on one of your test mode subscriptions and let me know if you get an error?