PDA

View Full Version : Protx Form Payment Module



michael_s
07-12-2007, 08:41 PM
* Fix for final order totals that are greater than £999.99.
* Fix removes "," seperator from ie. £1,872.32 -----> £1872.32 (removing it in osAdmin is not enough)

Line 139 altered from

$plain .= "Amount=" . number_format($order->info['total'] * $currencies->get_value($protx_currency), $currencies->get_decimal_places($protx_currency)) . "&";

to

$plain .= "Amount=" . number_format($order->info['total'] * $currencies->get_value($protx_currency), $currencies->get_decimal_places($protx_currency), '.', '') . "&";

As per usual - always back up

More... (http://www.oscommerce.com/community/contributions,441)