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
Certain low value currencies such as the Vietnam's Dong can quickly get above the total number of digits that a 32 bit PHP system can handle and thus result in very very weird errors.
Omnipay should either:
Allow developers to override ALL these methods when necessary
Use one of those above libs to handle big numbers
Avoid getting dirty dealing with the currency amount and do not assume the amount to be integer or float.
The text was updated successfully, but these errors were encountered:
Omnipay, when dealing with numbers, should not use the normal methods. It should use either BCMath or GMP
http://php.net/manual/en/book.gmp.php
http://php.net/manual/en/book.bc.php
Certain low value currencies such as the Vietnam's Dong can quickly get above the total number of digits that a 32 bit PHP system can handle and thus result in very very weird errors.
Omnipay should either:
The text was updated successfully, but these errors were encountered: