#jeffnv-metered-sub
1 messages ยท Page 1 of 1 (latest)
or would I just need to make a recurring non-metered produce/price
and make the bottom tier free?
a flat fee for the first tier and per unit pricing above that
you add custom flat fees usingadd_invoice_itemswhen you create the metered Subscription. That charges the first Invoice for any up front flat fees
so here's my situation
i want to have two "plans"
$50 for 250 credits, $0.50 for each unit after 250
$100 for 500 credits, $0.50 for each unit after 500
and beginning of every month you pay either $50 or $100 + the overage from the previous month
BUT you can upgrade plans mid month
so if you start the month on $50 plan, and use 500 credits, then upgrade mid month to the $100 plan, you don't have any overage
is add_invoice_items my best practice?
i would want the base price to be charged every monht
Sorry to barge in but my flow is quite similar to this.
Create a product A
Add price X, licensed price, at whatever your flat fee is
Add price Y, metered price, at whatever the rate is for overages
When you first create the subscription, the licensed price will bill immediately
Throughout the month, you report usage to price Y for any overages
At the end of the month (ie, beginning of the next month) your flat fee licensed price X will be billed, along with any accrued usage from Price Y from the previous month
In your case you'd have
Product A
Price X = $50
Price Y = $0.50
Price XX = $100
Price YY = $0.50 (you could just re-use Price Y as well)
X and XX are licensed prices, Y and YY are metered prices
Thanks Luigi! Normally you're my sworn enemy in Mario Kart
but today, we're friends
If you wanted a free tier you'd just have the X price be a licensed one @ $0
well i mean
if I'm on X + Y
wouldn't i get charged $0.50 for each unit?
i want the first 250 to be covered by the $50 base price
so if you use <= 250 you only pay $50 total
ah you're saying ONLY report usage when you get to overage
OK that would work too
ah you're saying ONLY report usage when you get to overage
Correct ๐
gotcha, I think I could use graduated pricing and set the first tier to flat fee of 0 and report all usage
Moves some of the work onto your side but I think this is the cleanest way you'll be able to do it
I think graduated/tiered pricing could work (not very familiar with it) but generally Stripe doesn't like mixing metered and licensed prices
You'd have to play around with it
well, either way we're mixing right?
Sorry should have clarified, generally Stripe doesn't like mixing metered and licensed prices in graduated/tiered pricing
huh is there an intuitive explanation for that?
Not that I've seen. If I had to speculate, it'd be a nightmare to juggle both in the Stripe backend