#JacobJeppesen

1 messages · Page 1 of 1 (latest)

uncut quartzBOT
frosty dagger
#

Hi
Can you please share an Invoice Id ?

vital sable
#

I only have it as upcoming invoice in our test setup for now. But here is a screenshot of it:

#

Part of it is in Danish, but I hope you can see the point 😉

frosty dagger
#

Can you share the subscriptionId ?

vital sable
#

Sure: sub_1MxmtDBqWSGInFmhmc7bCMsb

frosty dagger
#

thanks for sharing, checking...

#

Thanks for your patience, It looks like this is expected:

If quantity is 0, the total amount is 10 USD regardless of tiers_mode. We always bill the first flat fee tier when quantity=0. To bill 0 when there’s no usage, set up an up_to=1 tier with an unit_amount equal to the flat fee and omit the flat_amount.
https://stripe.com/docs/products-prices/pricing-models#:~:text=If quantity is 0%2C the total amount is 10 USD regardless of tiers_mode. We always bill the first flat fee tier when quantity%3D0. To bill 0 when there’s no usage%2C set up an up_to%3D1 tier with an unit_amount equal to the flat fee and omit the flat_amount.

vital sable
#

Thanks. So I guess the way to do it the way I would like would be with 2 prices for the same subscription (?). I.e., a standard price for the fixed fee and then graduated pricing for the extra units.

#

Do you know how usage reports works when having a subscription with 2 prices (one metered and one standard price)? Would it just work out-of-the box, and ignore the standard price when making the usage reports?

frosty dagger
vital sable
#

Got it. Thanks for the help!