I am a newbie Zen Cart user and have installed the New Zealand/Australia eWay module, which was working brilliantly until we received an Order for over $999. The comma was getting passed to the eWay gateway and failing, eg $1,450.00. I removed comma from within the currency localization setting in Admin but this is for display only and the comma was still passed to the eWay Gateway.
I managed to fix the problem and so I thought others may benefit from the following.
In the file \includes\modules\payment\ewaysharedpage.php look for the following code;
$amt=$order->info['total']*$currencies->get_value($order->info['currency']);
$amount = number_format($amt, $currencies->get_decimal_places($order->info['currency']));
and add the following line directly after it
$amount = str_replace(',', '', $number);
Hope this helps others
Cheers
Brett
Bookmarks