#mattVilla - subscriptions
1 messages ยท Page 1 of 1 (latest)
Hello, I am not quite sure what "fare" means in this context. Is that an additional fee on the monthly fee? Or is the fare part just to say that the subscription is for a monthly train ticket or something?
fare is the price for me.
actually we have a premium subscription with a fix price, and you can add some coworkers in the subscription. Each coworker you want to add to the subscription have to be prorated
in my example the first billing would be 5โฌ * quantity
and the next month 10โฌ * quantity
Ah, so you are asking about how to have a subscription that renews on the first of every month/year and charges less for the first payment as the user starts their subscription later in the month/year?
not necessarily every first of the month but yes this is the idea
the first payment would be prorated and after the period the client would be charged normally
with the real price
Gotcha, that is definitely possible. Looking in to if we have a doc on this
Basically subscriptions have something called a billing cycle anchor which defines what day of the month they renew on. If you set it to the first of the month and create prorations, that should charge like you have described
i see the billing billing_cycle_anchor so I have to specify the timestamp on the very first subscription (tell me if I'm wrong)
and for a second payment which would be prorated I just have to create a new checkout session on the same customer and the system will prorate automatically ? or do I have to do something else ?
Hello ๐
Taking over from Pompey as they had to step away, Give me a few to catch up and I'll respond asap ๐ thanks
ok thanks
Thank you for waiting
I'm a bit confused by your follow up ask
and for a second payment which would be prorated I just have to create a new checkout session on the same customer and the system will prorate automatically ? or do I have to do something else ?
Can you clarify or try re-wording this for me?
on the system we are developing you can have a premium subscription monthly or yearly. you would be charged every year/month
on the subscription you have the possibility to add some coworkers but you have to pay for it.
the price of the addition of the coworker is prorated if the subscription already exist.
example :
you start a subscription on the 1st of september for one month, and you want to add a coworker on the 15th of september. instead of paying 10โฌ you would pay 5โฌ
but i don't know how to do
and after the month is over you pay 10โฌ automatically for this coworker
is it clear ?
what pricing model are you integrating exactly?
https://stripe.com/docs/products-prices/pricing-models
if I understand well this is the per-seat model
but when I already have a subscription I'd like to add more seats and every seat will be prorated with the end date of the subscription
Gotcha, so in that case you'd update the quantity right?
I'd actually recommend testing it out with Upcoming invoice endpoint to preview the proration details.
It'd allow you to actually visualize the changes you're making before making them
this is proration on subscription right ?
not on a product contained in the subscription ?
in the per-seat model this is the user I want to prorate
Sorry I'm confused.
Updating the quantity in an existing subscription doesn't create new subscriptions
and that's good but I want the customer pay for new user during the subscription (if he decides to)
and the addition of these new user have to be prorated
So if you
- Start a subscription on 1st of september with 1 quantity
- Add a coworker (increase the quantity) on 15th
it's still all under one sub
You question is how you can charge them immediately on 15th?
yes
charge them for 15 days left in our example
and the next month the customer would be charged normally
You'd want to update the subscription's quantity with proration_beahvior set to always_invoice
https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
okay but
is it normal that the "proration_beahvior" doesn't appear on that page ?
or do am I missing something ?
on what page?
Are you looking at Create a subscription or Update a subscription section?
oups ! sorry ... my browser didn't find it but it's ok
in the susbscription object there is no proration_beahvior is it normal ?
๐
I'm not sure you see my question ๐
๐ stepping in as hanzo needed to step away
ok
proration_behavior is specifically for the update of a Subscription (or the change of phase for a Sub Schedule)