#juanage_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/1288121442252095501
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
hum... no I don't think we support this.
give me a few minutes to think about a workaround...
How long would you typically say it takes a user to consume that trial amount?
What I'm thinking is you just treat this as a normal metered subscription, no formal trial period, but with the first billing period using a tiered/graduated price so that the first 1,000 (say) units are free
and you report usage as normal
if they cross over that limit, they start accruing charges
and you set up the plan to switch to billing for the entire amount the following month with a subscription schedule
But as soma says, we don't support a true "trial" based on amount of usage
I can share feedback that this is something you'd like to see
Good idea but that would require a credit card to get started, i believe.
One thought, what if we created a free tier that constrained the number of resources that were created effectively capping the number of units allocated for that user type. It looks like we can use https://docs.stripe.com/api/billing/meter-event-summary/list to query the number of units consumed for a customer. Is there a way to get notified with a web hook?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hmm yea you might be able to implement something with Usage Alerts and billing.alert.triggered events: https://docs.stripe.com/billing/subscriptions/usage-based/alerts-and-thresholds?dashboard-or-api=api#usage-alerts
For some kind of notice when the customer approaches/reaches the trial amount you want
You can use a "real" trial and still record usage, which should work with that
then collect the payment method at that point before you roll it over to paid
Thanks for this link. We can implement a usage based price for a free tier that then get a webhook call at the limit to know they reached the resources available for the free tier. Thanks for you help!!!