#vzhuh-_subs-cancel-prorations-credits

1 messages ยท Page 1 of 1 (latest)

true anvilBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1424794473707081818

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

nova helm
#

If the proration has resulted in a Customer Credit balance transaction, then that customer balance will be applied to the next Invoice billed for that customer.

It is not possible to specify which Invoice/Subscription you want this balance to apply to

slim whale
nova helm
#

Just the request ID please. I cannot use dashboards links.

slim whale
#

req_tByhU55PqcyvHG

nova helm
#

Thank you!

#

I think there has been some confusion

#

This request was made through the Dashboard and is not configured to generate prorations

slim whale
#

one more question, Customer Credit Balance and Prorate is that the same storage of credits?

nova helm
#

If the proration resulted in a negative amount to be charged, then that results in a customer credit transaction to add credits to the customer

slim whale
#

give me 2 mins pls

#

so credit proration is not the same as customer credits balance?
Example: I downgraded subscription from higher price to lower and $10 prorated, can I spend this money for another purchase (like from customer credit balance) or it will be applied only for my new cheaper subscription for the next invoice or invoices?

nova helm
#

A credit proration just means the amount owed by the customer is reduced. If the reduction is enough that the amount owed by the customer is negative, that is what generates a credit.

#

And yes, the proration will be applied to the existing subscription

#

YOu cannot use it like an all-purpose credit

slim whale
#

Got it, but at the same time I cannot assign it to some single subscription that I want, it will be applied by nearest billing date of one of the existing subscription, is that correct?

nova helm
#

Correct

slim whale
#

Thank you very much!

nova helm
#

Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚

#

Prorations are a tricky topic and not super intuitive. I strongly recommend writing some simulations in code (using Sandboxes or Test mode) to simulate different scenarios and see what kinds of prorations get generated.

slim whale
#

Yes. I will do that!
Thank you for your help!

nova helm
#

And you can use Test Clocks to simulate time passing so you can really get specific with your proration simulations.

#

Like creating a monthly subscription -> advancing time 21 days -> then cancelling it

slim whale
#

Yes, I already doing that, very helpful feature, especially for scheduled subscription and cancel_at_period end, or end_behavior via API

nova helm
#

Awesome! I started building test integrations with Stripe before Test clocks and it was pretty painful ๐Ÿ˜…

You wound up creating a bunch of prices that billed every day and had to wait at least 24 hours to see your results

slim whale
#

I imagine ๐Ÿฅถ