#TonyS
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Just so that I'm on the same page, is this "premium package" basically a flat rate on top of the usual subscription price?
i.e. Monthly sub => $10
Monthly sub with Premium => $10 + $5
Yes we are thinking about something like this
One option that I can think of is to add one-off item to future invoice
https://stripe.com/docs/billing/invoices/subscription#adding-upcoming-invoice-items
While creating an invoice item, you can use price_data parameter to create in-line pricing
https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-price_data
Ok so let's say that we have an existing user that is currently paying for a "Monthly subscription". Let's say that this user is interested in a specific option such as "Option 1". We add an item on his invoice? Do he need to pay on stripe again to acknowledge the new pricing on this subscription?
Nope, they don't need to come on-session to confirm that. Since its part of a subscription, this charge should run off-session
And then we can listen to some stripe webhook to put in our database that this specific user has now access to option1? Is that right?
Yup!
But let's say that our subscription is $10. The user pay every first day of the month to have access for the month. He want to activate the option, so he click somewhere we do to process as described, but he need to kind of "pay" the percentage of the option for the current month? How does that work?
You can calculate the prorated amount and generate a one-off invoice for that
https://stripe.com/docs/billing/invoices/subscription#generating-invoices
Ok and once the user paid, we can unlock the option mechanism right?
Ok. Is there a way for our "marketing/commercial" team to create such items invoice in the dashboard ?
for them to describe "Option 1 |description | price"
or anything must be hard coded?
If the price is fixed then yes you can create it via the dashboard however, you'd need to create a product for it too ๐
(API avoids creating a product by creating the prices inline)
Let's say that the price is fixed. We need to create a product for option1 right?
Sorry to bother you with all those questions this is confusing for us and we need to be very clear on how we are going to make things work.
Ah yes, prices can't exist without products ๐ฆ
Ok super clear.
I go back a little, I have another question on the prorated stuff
Is it better to "cancel" the current subscription and create a new one with two product the one with the basic subscription + option 1?
This way it's not possible to pay for the option1 only for a shorter period than 1month right?
Is there a good practice on this?
Cancelling the subscription might not be something that we'd recommend when you can just update the subscription to use multiple prices ๐
When you update the subscription, you can set the proration behavior which would calculate the prorated amount based on the billing cycle
Ok I'll look into this, thank you so much.
NP! ๐ Happy to help