Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PAYPAL IPN MODULE, only pays in US Dollars????


buttonpusher

Recommended Posts

i hope the above makes sense, any help or suggestions much apreciated im desperately trying to sort this out so the site can go live tomorrow!!!

 

Make sure on the Paypal site that you have an open USD balance and an open GBP balance (login to your Paypal account, take Profile, Manage currency balances). It will then accept GBP payments without trouble. You can make the GPB balance primary if you like but it isn't neccessary.

Link to comment
Share on other sites

i can include a screenshot if it helps?

 

also it takes the customer to paypal.com for payment? is this normal for UK ?GB payments?

 

I am not sure but I believe it is. Everything goes eventually through their main site. If I go to Paypal Netherlands it redirects to paypal.com/nl. It might though because I created my account once on paypal.com

Link to comment
Share on other sites

 

simon,

 

This is clear but how have you set up your Paypal currency balances ?

Also which Paypal module do you use with osC and have you made any changes which could affect Paypal payments ?

I assume the one and only currency in your shop is GBP and that is what is send to Paypal.

Link to comment
Share on other sites

Ok im testing it live now, and i get to the paypal site to pay and it asks for the amount to send in US DOLLARS not GBP's?

 

what do I need to change or add to make it UK only?

 

not totally sure but in the includes/modules/payment/paypal_ipn.php file go to about line 450

 

if (MODULE_PAYMENT_PAYPAL_IPN_CURRENCY == 'Selected Currency') {

$my_currency = $currency;

} else {

$my_currency = substr(MODULE_PAYMENT_PAYPAL_IPN_CURRENCY, 5);

}

if (!in_array($my_currency, array('CAD', 'EUR', 'GBP', 'JPY', 'USD', 'AUS', ))) {

$my_currency = 'USD';

 

line 253 change

 

 

$my_currency = substr(MODULE_PAYMENT_PAYPAL_IPN_CURRENCY, 5);

 

to

 

$my_currency = substr(MODULE_PAYMENT_PAYPAL_IPN_CURRENCY, 3);

 

(not totally sure here I think the 3 refers to the order of currecny

 

line 256

 

$my_currency = 'USD';

 

to

 

$my_currency = 'GBP';

 

Also in your paypal account make sure that your default currency is GBP

 

better back it up first

 

Geoff

Geoff

 

Telegraph Point 2441

Australia

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...