#trueinviso-custom-prorations

1 messages · Page 1 of 1 (latest)

ionic flickerBOT
sacred tundra
#

There are several ways you can handle this.

Adding a discount is an option if your proration calculations will always result in decreasing the price of the next Invoice, but they may not work if you instead need to increase the amount of the next Invoice.

#

trueinviso-custom-prorations

blissful thistle
#

I saw that it's possible to do metered billing, but not really a credit system like this and let Stripe handle it for me?

sacred tundra
#

Correct, we do not currently have pre-built functionality to support the idea of buying usage in bulk, and rolling over that usage until it is fully consumed. To achieve a flow like that you will need to build custom code to handle the usage purchase/consumption/reload process.

blissful thistle
#

Is there a way to just do a credit to their account instead of prorating the subscription?

#

maybe credit the account before the subscription change happens, then it will use that credit to discount the subscription?

sacred tundra
#

Sure, we have the concept of customer balances, you can read more about them here:
https://stripe.com/docs/billing/customer/balance

One important limitation about those is that you can't specify which Invoice will consume that balance, it will be consumed by whatever Invoice is finalized next.

Learn how to use the customer credit balance.

blissful thistle
#

sounds good, thanks

sacred tundra
#

I would suggest looking into the possibility of adding one-off Invoice Items to your Subscriptions also, they give greater flexibility for positive/negative amounts, and are shown more cleanly on Invoices.