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
Hi
when sending the order amount to the saferpay the amount is sometimes not rounded correctly
the calculation
intval(Mage::helper('saferpay_be')->round($amount, 2) * 100)
should be replaced by
intval(round(Mage::helper('saferpay_be')->round($amount, 2) * 100))
as you may have problems using intval with floating point numbers.
Cheers
Rafael
The text was updated successfully, but these errors were encountered:
Hi
when sending the order amount to the saferpay the amount is sometimes not rounded correctly
the calculation
intval(Mage::helper('saferpay_be')->round($amount, 2) * 100)
should be replaced by
intval(round(Mage::helper('saferpay_be')->round($amount, 2) * 100))
as you may have problems using intval with floating point numbers.
Cheers
Rafael
The text was updated successfully, but these errors were encountered: