#zeke_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/1343456024752820246
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, can you share with me the subscription ID?
The subscription item ID?!
si_RpTMuNe3buOxyP
Oh wait this guy!?
sub_1QvoPmIYhOvByvWr4u72XjIw
Thanks, let me take a look
https://dashboard.stripe.com/test/logs/req_YefI4yWYvE1vvD this is the checkout session creation request, where you only passed in one flat fee price.
Can I suggest you follow this doc (https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models?dashboard-or-api=api#fixed-fee-overage) and pass both a flat fee price, and metered price when creating a subscription mode checkout session?
I belive that is the doc I was follwing? no?
I also would not like to have an overage!
its feels morally un-right to charge people like that too me!!
Maybe I don't have the full details. Can you tell me what kind of billing model that you want build? To help me better understand, can you walk me through with a concrete example?
yes sir
So I am building a SaaS based application. The users are buying tiers which just have Tokens from a LLM. So for say the starter tier has 50k Tokens and Costs $9.99. Currently I have setup a checkout page for this and all of it works fine. My problem is when Im re-directed back to my application I don't think there is any correlation between my authenticated account via clerk and convex and the starter Tier I just bought. I tried adding a badge to My UserItem (which is just a designed input which showcases my account) that shows which tier the user has and when I got re-directed back I still had the free tier even though I just bought the starter tier.
is it about knowing whether your customer has the feature access to your service (i.e., the tokens) ?