#rayayton
1 messages · Page 1 of 1 (latest)
Hi, let me help you with this.
How are you tracking this now?
You could just update the quantity on the SubscriptionItem with proration_behavior: create_prorations: https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
metered_billing is more useful if you count variable things like gigabytes transfered per month. But in your case, the customer pays upfront for the quantity of users they want to support in their subscription. So just setting/updating the quantity should be enough.
but what if they add/delete users during a month. we should be using protation_behavior for that and not metered_billing?
Correct. This will calculate the proration that will be applied to the next Invoice.
ok, does metered_billing work if we bill them based on how much storage data they incur?
Yes, that's a better use case.