#lennard_best-practices
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- lennard_best-practices, 51 minutes ago, 16 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1259799743354376212
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
๐ happy to help
Hey, thanks!
did the answer that my colleague gave you not appropriate to your use-case?
It did help, but I would need the first 100 to be free. How can I include that?
This would be price-per and not package then, no? Which I would want to use as it's per 100, not per single if possible.
I can also just make a 42$ base plan instead
then you can say the same but instead of 0-100 you would do 0-1
which is the same
since you're dividing by 100
does that make sense?
Yep so I'd just create a threshold field in my db, and once it's 100 i clear it and call a metered usage of 1?
no
wait
we need to separate 2 concepts
pricing per unit and quantity transformation
pricing per unit is when you have multiple tiers
Right
so basically you can say from
0-1 -> 0$
2-100 -> 1$ per unit
101-10000 -> 0.5$ per unit etc
and quantity transformation is when you want to establish anything between 0-> 100 to be considered as 1 package
so you divide by 100 the usage record and you round up
so combining those 2 concepts
you can have a package based usage (using the quantity transformation) with the first 100 units for free (using the first pricing tier 0-1 -> 0$)
What i dont understand here is- how do I select that here then?
In package i cannot set a pricing for the first 100
the first tier of the packages of 100
give me a minute please
Sorry if i am missing something obvious
no you're not
ok it seems I was wrong
it's not possible to combine both tiered price and transformation_quantity
What i see is
a) Packaged pricing
I can do 7$/100 but not make the 100 first free
Solution: Make the monthly pricing 42$ instead of 49$ which includes the first 100.
But I do not like it as it feels bad practice.
b) Tiered pricing
I could do 7$/1 and do the packages myself, or 7ct each.
But I would not have the billing per transformation.
Mhm okay
So I guess the easiest way is 42$/mo and then the packaged pricing? I would just be worried the users would not understand that and wonder why my pricing site says 49$.
I think the best is to just not report the first 100
Yea I will do that then. In the pricing screen can I set a quantity of the packaged one to 0 so the user doesn't see the 56$?
I'm not sure I understand
Well if i would have a $7/100 packaged pricing the CLI forces me to set the quantity to 1 anyways. So the only way would be to set the main price to 42$.
I will do that then, seems the easiest to understand for the client
Appreicate your help, made me understand a lot more.
sure let me know if you need any more help