Guest Posted October 18, 2011 Posted October 18, 2011 I've installed on a clean osc 2.3.1 the discount code for 2.3.1 (last version 3.1 + paypal support http://addons.oscommerce.com/info/7700). When I try to pay using paypal express checkout, paypal ask me to pay in $ rather than in €. For example I spend 10€ - 3€ discount = 7$ and not 7€! I think the express checkout module modifies in http://addons.oscommerce.com/info/7700 loose by the way the currency settings. Is there somebody that have this problem too? May be it happens with all currencies that aren't dollar. Thanks to all Quote
Guest Posted November 24, 2011 Posted November 24, 2011 I am getting the same problem, now even when I disable the discount code module, paypal still insists on charging US$... had to shut the website down until this is solved. Quote
kzip Posted November 30, 2011 Posted November 30, 2011 (edited) the problome code is : catalog/ext/modules/payment/paypal/express.php // Discount Code - start include(DIR_WS_MODULES . 'order_total/ot_discount.php'); $ot_discount = new ot_discount; $ot_discount->process(); $params = array(); $params['AMT'] = $paypal_express->format_raw($order->info['total'], '', 1); // Discount Code - end i neet a fix to so lets work on this ? Edited November 30, 2011 by kzip Quote
Guest Posted December 29, 2011 Posted December 29, 2011 (edited) I had the same problem and emailed the developers. Got an answer from them and worked perfectly for me below is the email I got in reply Thank you for your interest in our product. Please modify the catalog/ext/modules/payment/paypal/express.php file. Find: $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']); Sincerely, The High Quality PHP Coding Team. Hope this works for you Edited December 29, 2011 by paccman Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.