#Gkiokan-upgrade-sub

1 messages · Page 1 of 1 (latest)

proven jetty
#

Hey!

#

Can you clarify what you mean by:

charge the customer for the last subscription?

keen aurora
#

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

proven jetty
#

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)

keen aurora
#

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?

proven jetty
keen aurora
#

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?

proven jetty
#

It would be optimal if the customer would be charged asap if he upgrades the package
That's what happens, yep!

keen aurora
#

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

proven jetty
#

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

keen aurora
#

aaah I see

#

How about to stop the subscription?

proven jetty
keen aurora
#

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

proven jetty
keen aurora
#

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

proven jetty
keen aurora
#

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.*