#jacob_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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/1328857211467858011
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
You may want to look at thresholds: https://docs.stripe.com/billing/subscriptions/usage-based/alerts-and-thresholds
These docs are referring to notifying users when they hit a certain spend or usage limit, right? Not sure how that applies to my credit burn requirements
I see the bit about billing thresholds, but I don't want to bill immediately upon hitting a threshold, I was planning to use the metering system
Gotcha
I think you can either use billing credits or do usage based pricing with tiers and a flat fee. The flat fee could be for the first 10GB, then you can record usage at anything above 10GB and have this line up with the tiers
How would I use billing credits to do this?
From the docs it seemed like billing credits are currently only $ based?
You're right, credit grants are currently only monetary amounts
Is there a timeline of when credits would apply to meters?
Seems like that is out of the running for now? So how might I setup the flat fee?
Or should I only meter past the included storage amount?
I think you can use tiered pricing with a flat amount: https://docs.stripe.com/products-prices/pricing-models#adding-flat-fees
You can still record usage under 10GB or only start to send usage to Stripe once the customer has gone past 10GB and have the first tier correspond to the pricing you have in mind for 10GB - 250GB
With the flat fee approach, how would I manage to not have the user get charged for the first 10gb? Would I switch prices for the additional storage product from the flat fee to the full volume tier?
If I setup the subcription with the volume tier, once they go past 0gb meter, they will be in the 1 - 250 range, and charged for the first volume unit
I recommend testing out graduated tiered pricing with flat fees. For example, you could set up the first tier with unit_amount_decimal of 0, up_to value of 10, and flat_amount_decimal of 2000 if you want to charge a flat amount of $20 for usage of up to 10GB
I want to include the first 10gb in the subscription plan
Hence the credit burndown model seems like the most 1:1 approach.
Ideally, I could credit the user for 10 units of the meter, included in their plan
Hi there! Stepping in for my colleague here
At the top of the thread you mentioned that you thought 'credit burndown' had been renamed, but that's not the case. Were you referring to this feature? https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#credit-burndown
Oh I see, Credit Burndowns leverage Billing Credits
This ties the credit to the customer, not even to the subscription?
That's correct, they are applied at the Customer level
Is it that you want to make sure the customer has used at least 10 gb before Invoicing them, or that you want to give them 10 gb for free?
I want to give them 10gb for free as part of their flat fee subscription
Have you considered creating a negative Invoice Item, added to the Invoice when its created, that represents the 10 gb?
No I had not. My intial approach was to use coupons, to achieve a similar goal
However, I price at volume tiers of 250. Which worked for other plans (when we offered 250gb free). But I don't think the coupon, nor a negative invoice would work in this situation
I was suggesting a negative Invoice Line Item on an Invoice. Could you explain why that wouldn't work?
From my understanding that would reduce the cost of the storage to counter act the price invoiced via metering right?
You are suggesting, if my meter charges 10gb at say, $10. Then I would include a negative line item of -$10, to counter act.
However my storage meter charges at 250 unit volumes. So 0-250 gets charged the same amount. There is no way to counter act the price of the 10gb stored, since the meter and product would charge the same for the full 250gb as it does for 10gb
If we're assuming $1 per GB, if a customer is charged for 250GB ($250 on the Invoice). In the Invoice for $250 you would add a line item for negative $10, which would reduce the invoice amount to $240 for the free 10 GB
250 gb is charged $15
150gb used would still be charged $15
1gb would still be charged the same $15
I am using Usage-Based per Package pricing
Why don't you just report 10 fewer GB of usage for these customers?
[Or should I only meter past the included storage amount?](#1328857211467858011 message)
Yeah that was my other idea that I mentioned to your colleague.
Seems like that might be the necessary approach? To meter internally and only report what is past the included limits of the plan
I think that sounds like the best approach based on what you've told us
I remember discussing this in the past and credit burndown seemed like a potential solution in the future. So I wasn't sure if that was fully released yet
But it seems Stripe has taken a different approach with the feature design?
Hi! I am stepping in for my colleague. Just catching up on the thread!