#[M] Aurelien Masse
1 messages ยท Page 1 of 1 (latest)
Hmm Not sure what you mean by 0.00 eur Invoice. Why is there a 0 Invoice here?
Hi @rose iron
Let say my plans are
level 1: 20/month
level2: 50/month
As a user I subscribe a level2, I pay 50.
After few days I realize I just need the level1, I go on the customer portal, I click "change" and select the level1 plan.
I have nothing to pay now because I am still on a running plan level2 for the end of the billing cycle, so I pay 0 for now. I validate my choice:
An event invoice.paid is sent to the webhook, with an amount of 0 right? Because I didn;t pay anything.
Then at the end of the level2 billing cycle a new invoice will be generated, an invoice of 20, and when paid a new event invoice.paid will be issued right?
No I don't think so. It can also depends on if proration happen when click the change on Billing Portal. Have you tried it in Test mode?
I'm on it right now the proration is activated for the plan changes
Oh ok I juste realize that on a change of plant there is 2 InvoiceLines, one is negative ammount the other one positive amount so it means that the customer got a credit which will be used for the next paiements I think
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Hi @rough notch Thanks, Yeah I think I'm a bit lost on the way upgrade and downgrade plans work. I'm on it I will come back to you if there is any problem ๐
Yes please, don't hesitate to come back if you have any follow up Question.
Ok I'm completely lost, I don't understand how the upgrades and downgrades of plan works and I don't find the informations about it
What I wanted to do is:
I have 2 plans, plan 1: 20/month, plan2 50/month
I subscribe to plan1, all good
I want to upgrade to plan2: I keep the same billing period, I just pay the price difference proration of the time to run on the period minus what I already paid for plan1.
I have a plan2, I want to downgrade to plan1:
I keep the plan2 until the end of the billing period (because I paid it) then I'm charged for the next period at the price of plan1.
So in the end there is no "credit" or positive balance for the user
the first update (plan 1 ->2) you do it with proration an keeping the billing period unchanged
For the second update: (plan 2->1) you do it with no proration an keeping the billing period unchanged
Seems so simple when you say it ๐
Thanks
but where do I configure that
(I dont change the plans from my app, I use the customer portal)
You can't achieve this particular use case using Customer portal, You need to create a customer integration using Stripe APIs:
https://stripe.com/docs/api/subscriptions/update
Oh, ok. I want to avoid that.
So as I understand it the default behaviour with the customer portal is:
plan1 -> plan2: New billing period at the date I upgrade, the amount is the price of plan2 minus the proration of the unused time on plan1
plan2 -> plan1: New billing period at the date I downgrade, amount of 0, the proration of the unused time on plan2 is added as a positive balance to the customer and will be used until empty on the next bills.
Am I right?
yes if you configure customer portal to use proration when doing udpates. You can also deactivate proration for all updates. You can configure this in your customer portal config:
https://dashboard.stripe.com/test/settings/billing/portal
Yeah I will keep the proration. Thanks a lot for all your answers I really appreciate you all do an amazing job.
With pleasure!