Affordable end to end oscommerce solutions with
Search Engine Optimization

Email : osCommerceCoders@gmail.com
Call : +1 818-574-3596 (USA) / +44 (020) 8123-6463 (UK)

Archive for December, 2011

This is for stores using currencies which is not USD. then follow the steps below

modify the catalog/ext/modules/payment/paypal/express.php file.


$params = array();
$params[‘AMT’] = $paypal_express->format_raw($order->info[‘total’], ”, 1);

Replace with:

$params = array(‘CURRENCYCODE’ => $order->info[‘currency’]); $params[‘AMT’] = $paypal_express->format_raw($order->info[‘total’]);


Then discount code works perfect for currencies like GBP, AUD etc which is not the default USD