This is a discussion on eway payment module within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; For order over $999 eway will not process correctly in Catalog>>includes>>modules>>payment>>eway.php line 153 change : $amount = number_format($order->info['total'], 2) to: ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| in Catalog>>includes>>modules>>payment>>eway.php line 153 change : $amount = number_format($order->info['total'], 2) to: $amount = number_format($order->info['total'], 2,".",""); The thousand "," needs to be replace as eway needs the amount sent in cents the "," drops all numbers when amount is multiplied by 100 ie 1,100 will be 1*100 = 100 = $1 where as 1100 will be 1100*100 = $1100 hope this makes sense.... file rename .txt.zip to .txt More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fia-net Payment Module | michael_s | New osCommerce Contributions | 0 | 01-15-2007 12:53 PM |
| eWay Payment module grief! | Mtshadow | osCommerce 2.2 Modification Help | 4 | 12-28-2006 11:49 PM |
| Need to know if there is an eci-pay payment module. | fridgemags | osCommerce 2.2 Modification Help | 0 | 05-16-2004 11:28 PM |
| BoA payment Module | Anonymous | osCMax v1.7 Discussion | 0 | 12-07-2003 11:31 PM |
| Payment module | tozo | osCMax v1.7 Discussion | 0 | 09-21-2003 07:05 AM |