#aidan-hibbard_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/1413556111549661304
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
current price in prod: price_1S2xzNHoTeOTdiekGpDylRbB
Is there a way to bill the user, say automatically charge them at 100 uses, before they can graduate to 101
Maybe we need to move to invoices rather than subscriptions?
Hi there
Hmm yeah overall this isn't possible. The closest thing is to use billing_thresholds (https://docs.stripe.com/api/subscriptions/create#create_subscription-billing_thresholds) but this doesn't advance to a new tier, it cuts an Invoice and resets the billing cycle anchor and thus would reset to the initial tier of the Price again.
yeah thats kinda what I was assuming... I imagine to implement this, we'd need to track usage, and issue invoices, but we cant wait for the user to pay the invoice before we graduate them
Yeah this would be pretty complex and require a lot of custom management yourself.
It would be extra complicated because you wouldn't really be able to reset the usage when they graduate the tier and thus the customer would basically get double billed.
So if you were to do something like this you likely would want to track usage outside of Stripe and just create Invoices yourself.