The package had a bug where orders with total value greater than 999.99 (regardless the currency) could not be
processeed. Error shown: 'Invalid amount'. This was a small issue regarding the "," used as thousands seperator.
To solve it you need to change the code in
catalog/checkout_amoneybookersipn.php (if you use other modules besides checkout_amoneybookersipn.php you also need
to change them)
FIND
'&amount=' . number_format($order->info['total'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency)) .
'&amount2=' . number_format($order->info['shipping_cost'] * $currencies->get_value($moneybookers_currency),
$currencies->get_decimal_places($moneybookers_currency), '.', '') .
'&amount2_description=' . urlencode($order->info['shipping_method']) .
'&amount3=' . number_format($order->info['tax'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency)) .
and REPLACE by:
'&amount=' . number_format($order->info['total'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency), '.', '') .
'&amount2=' . number_format($order->info['shipping_cost'] * $currencies->get_value($moneybookers_currency),
$currencies->get_decimal_places($moneybookers_currency), '.', '') .
'&amount2_description=' . urlencode($order->info['shipping_method']) .
'&amount3=' . number_format($order->info['tax'] * $currencies->get_value($moneybookers_currency), $currencies-
>get_decimal_places($moneybookers_currency), '.', '') .
More...





LinkBack URL
About LinkBacks









Bookmarks