#Gkiokan-upgrade-sub
1 messages · Page 1 of 1 (latest)
Hey!
Can you clarify what you mean by:
charge the customer for the last subscription?
There's details on how to upgrade subscriptions here: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
Sure. Following scenario:
User subscribe to product B then he have an upcomming invoice (currently)
However he decides to move on anotheer product B
If he subscribes to the new package, the product A should been charged and have an existing invoice for it.
lemme check the the doc link
Yup, that's how upgrading works with us. They'd be charged for A immediately and you can control any prorations for product B (old sub)
What happens if the Product B is less the price of Product A? Does Stripe refund the overpaid charge to the customer or does it hold back for the next charge?
Depends on how you handle prorations: https://stripe.com/docs/billing/subscriptions/prorations
It would be optimal if the customer would be charged asap if he upgrades the package. I will check that link also
What is the correct way to "stop" a subscription?
It would be optimal if the customer would be charged asap if he upgrades the package
That's what happens, yep!
I couldn't see that canceling a subscription creates an invoice
Lemme update my code, I will check if the upgrading / downgrading fixes my first issue
Take this example:
Product A: $5 p/m
Product B: $10 p/m
User X subscribed to Product A on 1st of month. On 15th of month, they decide to upgrade to $10. They'd be credited ~$2.50 for their unused time on Product A, and charged $10 for Product B
Net initial payment of $7.50, with the recurring payment going forward being $10
That's if you prorate the changes. If you disable prorations, then the initial payment would be the $10
I guess while the customer is within the trial days he won't get charged when he cancle it, right?
that may the issue why I don't see an invoice (even it is 0 EUR) when I cancel the subscription on trial days
Correct
There'll be an initial $0 invoice when you create a trial subscription
I tried that but when I cancel the subscription the "upcomming invoice" is gone
lemme first fix the upgrading thing and then I will have a look and test the cancel stuff. I will get back to you when I need help again
Why would there be an upcoming invoice for a canceled subscription? I don't understand
Because it's that what the invoice api gives me for the current product. See that Image for making it a bit more clear.
I can see the current running subscription only on the "upcomming invoice" endpoint
wait a sec, I confuse to much with all that information. Just gonna test the cancel and invoice endpoint. Because yesterday the "upcomming invoice" has been gone when I cancel the subscription. But I didn't had the invoice customer option enabled yet. And I didn't got an invoice for the canceled one.*