Jump to content
Sign in to follow this  
Onesimpleman

Australian Dollar support for paypal

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

Share this post


Link to post
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'?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

On the Devosc IPN COntribution you can also add AUD to the Currency selection list in the Admin and turn it on and off as you like ;)

 

A.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×