Post by billfryer » Thu Mar 04, 2010 8:29 pm

Hi,

I am using the regular Paypal Payments Pro module as the UK one does not work, however have now discovered another error this time wth currencies. Here is an example:

Let's say someone buys something for US$100, they go through the checkout and their invoice looks fine. However when I check my paypal account it says US$60, when it should be either GB£60 or US$100. OC is converting the currency to £ but then sticking it through as $. This applies to all non-uk currencies. Pounds sterling being my default currency.

Any ideas?

Bill

http://www.billfryer.com - the direct marketing agency
http://www.billfryercopywriter.co.uk - the copywriter


Newbie

Posts

Joined
Fri Feb 05, 2010 5:19 pm
Location - Warminster, UK

Post by Qphoria » Thu Mar 04, 2010 8:39 pm

Try this.

1. EDIT: catalog/controller/payment/pp_pro.php

2. FIND:

Code: Select all

'AMT'            => $this->currency->format($order_info['total'], $order_info['currency'], 1.00000, FALSE),
3. REPLACE WITH:

Code: Select all

'AMT'            => $this->currency->format($order_info['total'], $order_info['currency'], FALSE, FALSE),

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 14 guests