#satyarohith-graduate pricing
1 messages ยท Page 1 of 1 (latest)
๐ 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
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I'm thinking of a workaround for this, but I'll have to test it first
Would be happy to hear about it. ๐
unfortunately there's a lot of threads this morning, I don't know if I would have the time to full-on test this
I'm happy to test if it's possible for you to guide me on the details. ๐
actually there is a graduated pricing
my bad
transform_usage doesn't work on graduated pricing https://stripe.com/docs/api/plans/create?lang=cli#create_plan-transform_usage
it says it cannot be combined with tiers
graduated pricing comes under tiers
yes I was confirming your assumption
Any workaround to achieve?
- I want report usage in units
- Have it transformed
- Then use graduated pricing on the transformed value
what do you mean by transformed?
Essentially apply transform_usage
Example:
- Report usage as 112 units.
- transform(112, divide_by: 10, round: "down") = 11 units
- graduated pricing ($0 for first 5, and then $1 per unit) on 11 units = 5 * 0 + 6 * 1 = $6
yes I see what you're saying
can't you do the transformation before reporting?
this would be a workaround no?
I want stripe to display the exact units usaged in the invoice
Hi I'm taking over tarzan.