Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Australian Dollar support for paypal


Onesimpleman

Recommended Posts

You can activate AUD in standard and ipn modules by following this procedure.

 

Go to Admin/currencies and add a new currency australian dollars if it is not already there. AUD is the currency code.

 

Also go to Admin/modules/paypal_ipn or paypal(standard) which ever the case may be to accept selected currencies.

 

Now for Paypal IPN

 

Edit \catalog\includes\modules\payment\paypal_ipn.php file

 

from

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

$my_currency = 'USD';

to

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

$my_currency = 'USD';

 

For Paypal standard

Edit Edit \catalog\includes\modules\payment\paypal.php file

from

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

$my_currency = 'USD';

to

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

$my_currency = 'USD';

 

 

This way customers choosing currency as australian dollar can pay in AUD using paypal. Mail me if you have any problems.

Edited by Onesimpleman
Link to comment
Share on other sites

I'm just wondering what the significance of this line is:

 

$my_currency = 'USD';

 

If we are primarily selling and being paid in $AU, should $my_currency be changed to 'AUD'?

 

That line is for people who select any other currency than the 6 paypal currencies. Those who select others ( in my case South african Rand) should be billed in USD, may be USD is the standard all over the world and makes it easier for customers to convert, but if u do not sell outside auz then you can change it to AUD.

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