#cbayford

1 messages · Page 1 of 1 (latest)

fervent shoalBOT
lunar shard
#

I cant seem to see a way to set this up without creating a massive number of tiers in a given price on a product.
Can you explain why you think this needs many tiers?

#

It sounds like it needs just two tiers, under and over the monthly base limit

#

Unless you have many different limits

calm plover
#

it would be $x per 1000 units... i.e. $5 for the first 1000 and another $5 for the next 1000 ($10 for 2000)

#

so I would have to set up a tier for each 1000 units

#

0 - 2000 $0

#

2001 - 3000 $5

#

3001 - 4000 $5

#

etc

lunar shard
#

Ah, gotcha

calm plover
#

i just want to set it up so that the first x units is free and then each additional 1000 units get charged $x

#

does that make sense?

lunar shard
#

I'm inferring this is usage based / metered, right?

calm plover
#

correct, they will pay a base fee per month or year... but the usage will be metered monthly

lunar shard
#

The first tier, up to your monthly limit, would have zero unit cost but the monthly flat rate

#

the second tier would have no flat fee but the per unit cost

calm plover
#

but it would seem that I would still need to create multiple tiers this way? or am I missing something?

#

one tier per 1000 units i mean

lunar shard
#

No the cutoff is the monthly allowance

#

then you enter the per unit cost, eg $5/1000 = $0.005/1

#

So if you monthly flat rate was $50 for the first 10000, say

#

tier 1 would be up to 10000, with 0 unit amount, 50$ flat rate

#

tier 2 would be over 10000 units, 0 flat rate, 0.005$ unit cost

calm plover
#

ok, so lets say the base monthly usage is 2000, once the user hits 2001 they get charged an additional $5, and then if they hit 3001 they get charged an additional $5, I cant really charge per unit in this scenario...its more of a flat rate...

I am sorry if I am missing what you are meaning

lunar shard
#

Ah gotcha, yea so transforms handle that scenario with rounding up

#

See the example there

calm plover
#

ok, i will have a look.

lunar shard
#

If a customer spends 150 minutes streaming, that customer would be charged 15 USD for 3 hours of streaming (2 hours and 30 minutes, rounded up).

transform_quantity: {divide_by: 60, round: 'up'},

#

Like that

#

That's analogous to your case

calm plover
#

ok, I think I can make that work. I will give it a try.

#

Thank you for your help