Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello,

 

This week paypal announced that it now supports australian dollars. Are there plans to add AUD to the oscommerce maintained Paypal IPN module? I had a look at the code and thought I could figure out how to add it in myself but needless to say it failed.

 

Many Thanks,

 

Melinda

Posted

Hi all,

 

How about the standard PayPal module? I am using the standard PayPal module without any problem and want to have the AUD support. Any expertise can help?

Posted

I too have an issue with the Paypal IPN setup for AUD.

One suggestion put to me from a Techie, was to open a NEW Paypal account, with the AUD already in place.

According to Paypal, any new accounts will automatically be set for AUD as the Primary currency.

 

Because of Paypal's policies, only one account with the CC and Bank details are allowed, so you may have to delete your old account first.

Do NOT forget to keep your CC & Bank details handy, and also transfer any money you have in Paypal.

 

This is a suggestion only, so If you try this, and it goes wrong, I am NOT responsible for any possible problems/issues.

 

I will try this later myself and will post again whether it works or not...

 

Ta !!!

Markspring

Posted

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. Any problems please email me.

Posted

Is there anything else to do to get this to appear as a selectable in ADMIN AREA

MODULES>PAYMENTS>PAYPAL (Standard install of OSC 2.2)

 

After adding the suggested coded the original 5 were only still being displayed.

 

Thanks Honza

 

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. Any problems please email me.

Posted
Is there anything else to do to get this to appear as a selectable in ADMIN AREA

MODULES>PAYMENTS>PAYPAL  (Standard install of OSC 2.2)

 

After adding the suggested coded the original 5 were only still being displayed.

 

Thanks Honza

 

Don't you need to edit this line (line 606 in paypal_ipn.php) somehow???

 

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Transaction Currency', 'MODULE_PAYMENT_PAYPAL_IPN_CURRENCY', 'Selected Currency', 'The currency to use for transactions', '6', '6', 'tep_cfg_select_option(array(\'Selected Currency\',\'Only USD\',\'Only CAD\',\'Only EUR\',\'Only GBP\',\'Only JPY\'), ', now())");

 

I'm not sure how to do it properly though...

Posted
Sorry for such a rookie question, but what is the difference between the standard OSC 2.2 paypal installed and paypal IPN?

 

AFAIK, the standard paypal takes the customer and their total to paypal for payment and then returns them to your shop. the order status remains at your specified 'default' for all orders eg my standard default is 'awaiting payment'. you wouldn need to manually change the status to 'paid' after each paypal transaction.

 

the IPN module is similar however it sets the order status initially to "preparing paypal" (or whatever you want it to say) and then immediately after payment is made instructs paypal to send data to your shop to indicate that payment has been successful and changes the order status accordingly eg. 'payment received'

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