#IGMontero-metered-billing
1 messages · Page 1 of 1 (latest)
Hello! It's a bit busy in the channel right now, but I'll answer your question soon
Can you explain to me what the exactly you'd like to see for a yearly subscription? Are you still generating monthly invoices? Or do you only want to create an invoice once a year?
Well the idea is to bill separately month by month to the tenant based on the amount of users they have each month. i.e if they have 100-500 active users in a month, we bill an extra because of that. This is extra, separated from the actual subscription that has a flat cost
So I expected that to work also for yearly subscriptions. Have a flat price billed yearly, but also bill monthly based on usage. Looks like it's not possible
Yeah that's definitely not possible - it would need to be done in two separate Susbcription objects (because we don't allow different billing cycle lengths in the same Subscription)
Okay sounds good. Thank you!
One more thing though
If I set up a yearly metered graduated subscription, what if the user reaches a certain threshold (i.e 500 users), but cancels his subscription? Will he be billed for that threshold or not because he cancelled his subscription and there won't be any payment at the end of the period?
If you want to bill for that usage when the Subscription is canceled, you can set 'invoice_now: true' when you cancel the subscription (https://stripe.com/docs/api/subscriptions/cancel#cancel_subscription-invoice_now)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay makes sense. So looks like for yearly subs, I can either create a different sub (which I think it's not a good option), or create a different structure to end up billing similairly as if it was a monthly one
Yup!
Thank you @violet karma !