#chip_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/1218182494692577331
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Simply wondering what the practice is to show the flat fee when you're creating the checkout session and how I can show the flat fee in my pricing table without hardcoding it.
Can you share the price id in question? Also can you share a checkout session id where the flat fee isn't showing?
Yes! I just expanded the prices.list so I got the tiers array with the flat fee, so that's nice! I'll share the checkout session. Just gotta create one in dev mode
this is the price id atleast price_1OuRyFKOJjwbkhwzTLC3HPdN
there you go
so I got the tiers array with the flat fee,
yep! that's the way
Ok looking at the session
Ah ok that's expected
0 would be due today
Metered billing bills at the end of the month since you report usage throughout the month and then are billed at the end
Details are shown if you expand
Yeah, I've seen that one. I simply found it a litte bit confusing since I show $7.00 in the dashboard when they are redirected back, but then I'll just make it clear that this is the current upcoming invoice for the month! ๐
Yeah exactly
We try to clarify with "due today" and "billed monthly based on usage" above
Yeah, true! I'm blinded ๐ That's great!
And as far I as understand...if someone currently has a subscription with a licensed price, you cannot just upgrade/switch to a metered, right?
So I'd have to cancel the licensed one and create a new one for metered?
Yes that's correct
Is it possible to prorate that?
Is that something you would do? If they have a licensed subscription on $9.99 and they go to a metered subscription of $8 or $15
Right, so that only works for metered to metered and so on?
yeah