#juanage_best-practices

1 messages ¡ Page 1 of 1 (latest)

native wolfBOT
#

👋 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.

dire summit
#

hi there!

native wolfBOT
dire summit
#

hum... no I don't think we support this.

#

give me a few minutes to think about a workaround...

weak sleet
#

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

crimson knot
#

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?

weak sleet
#

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

crimson knot
#

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!!!