We are using isence MasterCard payment method
https://www.opencart.com/index.php?rout ... mastercard
and we're getting an invalid request error on random cart totals for some reason.
The totals have up to 18 decimals and it seems like it's reflected on the subtotal figure which I don't understand why it would calculate from the subtotal and not just take the grand total figure.
We only use the one currency and it is set 1 to 1 ratio and OpenCart decimals are set to 8 decimal places as default. We have tried contacting isence for support but they are not supporting this extension anymore as mastercard had pulled out of there sponsorship. They have offended some ideas on what it could be but it has not helped us as they thought is was currency related.
Here is the error message we are getting
INVALID_REQUEST: Value '487.40999999999997' is invalid. Length is 18 characters, but must be less than 15.
This error comes after pressing the confirm button and only happens on certain cart totals e.g $552.65
It dose not show the payment popup.
Our Merchant support said they have come across this before with another customer and MasterCards response was they need to change there calculator to limit the decimals its sending... i'm not sure about this.
Any suggestions or comments are must appreciated
