#nick-rounding
1 messages · Page 1 of 1 (latest)
Hey! Unfortunately the answer is likely no, but could you give us a little more information on amount you're referring to being rounded just so we can make sure?
Specifically looking for the way totals are rounded when coupons are applied
If I have a $30/seat price, and I want to discount it to 8.50/seat, I have to do 71.67 because Stripe discounts are only support 2 decimal places,
But that gives us 8.499
So it sounds like you're using a percentage discount. Have you tried using a fixed-amount discount instead so you don't need to worry about rounding?
https://stripe.com/docs/api/coupons/create#create_coupon-amount_off
I can't use a fixed amount discount because we want the discount to apply per seat, and fixed amounts don't support that (I've already asked)
So I guess the only way to do this would be to ad-hoc create a coupon with the proper fixed amount off
Oohh, yeah, in that case percentage based would be the way that you need to go, and unfortunately you can't alter the way we'll round the totals for those line items.
another option would be managing the "coupon" concept in your system and replacing the price with a discounted one to the per cost pricing you want