#nuke8
1 messages ยท Page 1 of 1 (latest)
Hello! Are the amounts correct in the API?
No my CI caught it using the API
This was working correctly a few weeks ago but something seemed to chave changed recently
Did you catch this on a Balance Transaction? If so can you give me the ID?
I can give you a ch_ and re_ IDs I don't think we log the txn ones
but I can dig in to get those as well if that helps
ch_3NkCVhCofpzuxz9t0iQHRWu3
Thanks! Looking...
I have one from July 30th with the correct amounts if you would like a comparison
I think this is happening because there are three separate Refunds, and we had to round up for two of those, which is why there's an extra cent in there.
If you had issued a single Refund this wouldn't have been an issue as far as I can tell.
The amounts used to be correct though
$2.35
$2.35
$1.47
Now they are:
$2.34
$2.34
$1.48
Seems like something changed which incorrectly is rounding the amounts. Yes, if we issued a single refund it wouldn't be an issue but my customers don't always do that ๐ข . We added this test to make sure we did all the math correctly when issuing multiple refunds but noticed Stripe was calculating incorrectly.
Here is basically the same transaction just a month ago:
ch_3NZmPjCofpzuxz9t0nP34tO6
Those seem different at first glance... refund_application_fee is different in the Refund requests, for example, but let me look closer.
Yea the difference is the application fee is refunded but that shouldn't impact the stripe fee
Here is one without the refund_application_fee on July 30th :
ch_3NZmPVCofpzuxz9t1zxP3gc4
We're investigating further now, hang on. ๐
Thank you
Okay, looks like we are making some changes behind the scenes, but as far as I can tell the intent is not to change the actual calculated amounts. I'm flagging internally now, but I recommend you write in to support with details about the two Charges (the one before with the correct amounts and the one after with the incorrect amounts) so you can get a longer running support ticket going. It's unlikely I'll have a resolution for you today here on Discord.
You can write in here: https://support.stripe.com/contact/email