#samctrumpet
1 messages · Page 1 of 1 (latest)
Hey Soma, sure, its in_1MPNWDEd9EoYxQjHhbsJkAZZ
Thanks! Give me a few minutes to look into this.
So I see two invoice item:
- Remaining time on xxx => £4,113
- Unused time on yyy => -£3,658
What exactly where you expecting to see instead?
The new invoice doesn't include the 4.63% discount on the initial invoice
The price for a user is £29
We noticed the new difference was a lot higher than it should be.
And realised that the discount is not considered when the new invoice was generated.
yeah proration with discounts are complicated, I don't really have a solid grasp on the model myself. I think it's that the amount prorated is based on the amount the customer actually paid(after discounts), not the base amount of the Price.
the docs also mention
any existing discounts are applied when proration is calculated. You can’t discount proration line items further on the invoice that’s generated.
Yeah but the problem is that this hasn't happened. It has generated the new invoice on the base price rather than the discounted price.
It must be a bug then on Stripes side if the intention is to include the discount on the proration
I don't think it's a bug, it's just the proration + discounts is complicated and often works differently than you might expect
I get that it's complicated, but the pro-ration effectively just removed the discount
I'd suggest writing to https://support.stripe.com/?contact=true to get help from a subject matter expert in this, unfortunately we're not best equipped here on Discord to dig in
Thanks Karl!