You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I refunded part of the order but decided to refund the remaining. It says the remaining is 3.99 and when I try to refund the remain it says this:
Cannot refund amount greater than the remaining amount
Steps to reproduce
Part refund an order.
Try to refund the rest.
Expected behavior
Refund the rest.
Actual behavior
Gives me a notification in the lower left corner that says: Cannot refund amount greater than the remaining amount
Craft CMS version
4.4.13
Craft Commerce version
4.2.9
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
@philipboomy Sounds like a rounding issue. Could you send your DB and composer.json to [email protected] and reference this ticket, and will will look into the fix. Also include the transaction hash for the original transaction. Thanks.
Closing this issue as we are now using the Money library and its related Teller class to do calculations in 4.8+ and 5.3+ which have addressed issues like this.
If you find another issue with floating number or rounding please submit a new ticket and we will get back to you ASAP.
What happened?
Description
I refunded part of the order but decided to refund the remaining. It says the remaining is 3.99 and when I try to refund the remain it says this:
Cannot refund amount greater than the remaining amount
Steps to reproduce
Expected behavior
Refund the rest.
Actual behavior
Gives me a notification in the lower left corner that says: Cannot refund amount greater than the remaining amount
Craft CMS version
4.4.13
Craft Commerce version
4.2.9
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: