#unmatchedplaya_best-practices

1 messages ¡ Page 1 of 1 (latest)

merry jasperBOT
#

👋 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/1338697811721719840

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

wooden pollen
#

hello! gimme a while to think about this!

hollow egret
#

Hi! yes sure

wooden pollen
#

I have some questions I want to clarify, you mentioned

They then pay $10 monthly, and when their usage exceeds 100, they pay per unit at the end of the period.

So the customer has to decide what quantity they intend to use upfront? 0-50, or 51 - 100, or 101-200? What happens if they select the 51 - 100, but only use 0 - 50?

Or, it's entirely based off usage, e.g. if I use 80 units, i pay $10 + 30 * $0.2

hollow egret
#

So the customer has to decide what quantity they intend to use upfront? 0-50, or 51 - 100, or 101-200?
correct

#

So if they choose 51-100 they pay $10 monthly, regarless if they use 0-100 units

#

however, if they use 105, they will pay an additional $1 at the end of the period

wooden pollen
#

hrm, okay, i think I get it now. The way you would want to go about it is to define two sets of Prices :

  • for the monthly fixed amount i.e. $10, or $20
  • tiered for the extra items i.e. $0.2, $0.1
#

example for the monthly fixed amount

#

example for one of the tiered. You would need to define a different Price for the $0.2 one.

#

so when a customer subscribes, you would add both Prices to the Subscription, and the $10 would be charged upfront, and the tiered price will be charged at the end of the month.

hollow egret
#

Thanks, I will look at those

#

would these require different meters too?

#

or would it be the same one?

wooden pollen
#

The $10 price is a fixed price, it won't have a meter

hollow egret
#

sorry i mean the $0.1 and $0.2 pricing

wooden pollen
#

each customer should only be subscribed to either the $0.1 or $0.2 pricing, and not both at the same time. Each customer needs to have their own meter. Does that make sense?

hollow egret
#

yes, that does