Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I've been running OSC succesfully for a month and continously updated it.

Today i find that costumers selecting Swedish kroner as currency are charged in USD by Paypal. OSC admin tells me the order was made in SEK but the Paypal shows USD.

 

What happended? When i tested it myself upon opening this was not the case, i was charged in SEk

K if I chose SEK ans EUR/USD if I chose that..

 

Anyone have an idea? Did i change something without noticing?

  • 9 months later...
Posted

I found the solution to this somewhere else on the forum. Simply open the file includes/modules/payment/paypal.php, and find this code:

 

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

 

 

Just add SEK or NOK or whichever you prefer, as long as it's supported by PayPal.

Posted (edited)

I am having the same problem.

 

My default currency is AUD, but I want to add USD. I have worked out how to make it work on the website so the correct prices are shown, but when you finish the checkout and go onto pay pal it reverts to the AUD price.

 

I have set up an USD currency balance in Pay Pal, is there anything else I should have done aswell?

 

Thanks

Fiona

 

Oh and I checked that file and USD is listed in there.

Edited by aussieskin
Posted

I have googled and searched and I can't find an answer to this one..

Hope someone can help me out!

Posted
I have googled and searched and I can't find an answer to this one..

Hope someone can help me out!

something about selected currency and not default currency

Posted

If the issue is that it's paying into your PayPal account in USD but you want AUD then you have to add AUD to that line. USD will already be there as you noted.

 

Here is the change you need to make:

 

Simply open the file includes/modules/payment/paypal.php, and find this code:

 

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

 

then change it to

 

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

 

That should solve the problem.

 

Regards,

Ben.

Posted
If the issue is that it's paying into your PayPal account in USD but you want AUD then you have to add AUD to that line. USD will already be there as you noted.

 

Here is the change you need to make:

 

Simply open the file includes/modules/payment/paypal.php, and find this code:

 

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

 

then change it to

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

 

That should solve the problem.

 

Regards,

Ben.

 

That is what the line in paypal.php currently reads.

 

Maybe I'm not understanding the multiple currencies option...

 

I'll tell you what I want to do and then maybe you can tell me if it is even possible! Or if I am doing something wrong.

 

We are based in Astralia so we want the default currency in AUD. And that all works fine.

 

I would like to have the option for American customers to be able to browse through the catalogue and see prices in USD, then place their orders and pay through Pay Pay, all in USD.

 

In my Pay Pal account I have created an USD currency balance, which I am assuming means I can accept US dollars.

 

Ideally I would like to eventually do the same for EUROs.

 

At the end of the day the prices are all the same converted, although I feel if customers in America can see the prices and pay in their own currency it makes it more appealing to them.

 

Let me know if that made sense and if you can help.

 

Thanks

Fiona

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.

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...