#satyarohith-graduate pricing

1 messages ยท Page 1 of 1 (latest)

restive kite
#

๐Ÿ‘‹ happy to help

#

I'm thinking of a workaround for this, but I'll have to test it first

#

unfortunately I don't think we support this out of the box

#

it might be a nice feature request, you could contact support https://support.stripe.com/?contact=true so we log the FR

eternal ridge
#

I'm thinking of a workaround for this, but I'll have to test it first
Would be happy to hear about it. ๐Ÿ™‚

restive kite
#

unfortunately there's a lot of threads this morning, I don't know if I would have the time to full-on test this

eternal ridge
#

I'm happy to test if it's possible for you to guide me on the details. ๐Ÿ™‚

restive kite
#

actually there is a graduated pricing

#

my bad

eternal ridge
restive kite
#

it says it cannot be combined with tiers

eternal ridge
restive kite
#

yes I was confirming your assumption

eternal ridge
#

Any workaround to achieve?

  1. I want report usage in units
  2. Have it transformed
  3. Then use graduated pricing on the transformed value
restive kite
#

what do you mean by transformed?

eternal ridge
#

Essentially apply transform_usage

#

Example:

  1. Report usage as 112 units.
  2. transform(112, divide_by: 10, round: "down") = 11 units
  3. graduated pricing ($0 for first 5, and then $1 per unit) on 11 units = 5 * 0 + 6 * 1 = $6
restive kite
#

yes I see what you're saying

#

can't you do the transformation before reporting?

#

this would be a workaround no?

eternal ridge
timber quest
#

Hi I'm taking over tarzan.