Guest Posted September 2, 2005 Share Posted September 2, 2005 Hi, Just wondering if anyone can tell me how to add Australian dollars to my paypal module. My website is in Aussie dollars but it directs my customers to pay the ammount in USD I went to change it in modules only to find the option wasnt even there. Thanks anyone who can help me out Link to comment Share on other sites More sharing options...
♥Vger Posted September 2, 2005 Share Posted September 2, 2005 includes/modules/payment/paypal.php, roughly on line 121, add your currency, as in: 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_CURRENCY', 'Selected Currency', 'The currency to use for credit card transactions', '6', '6', 'tep_cfg_select_option(array(\'Selected Currency\',\'Only USD\',\'Only CAD\',\'Only EUR\',\'Only GBP\',\'Only JPY\',\'Only AUD\'), ', now())"); Then uninstall the Pay Pal module and reinstall it and you should now see the option of paying in Australian Dollars. You must have Australian Dollars as one of your currencies in your Pay Pal account, and also have Australian Dollars added as a currency in osCommerce itself. Vger Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 includes/modules/payment/paypal.php, roughly on line 121, add your currency, as in: 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_CURRENCY', 'Selected Currency', 'The currency to use for credit card transactions', '6', '6', 'tep_cfg_select_option(array(\'Selected Currency\',\'Only USD\',\'Only CAD\',\'Only EUR\',\'Only GBP\',\'Only JPY\',\'Only AUD\'), ', now())"); Then uninstall the Pay Pal module and reinstall it and you should now see the option of paying in Australian Dollars. You must have Australian Dollars as one of your currencies in your Pay Pal account, and also have Australian Dollars added as a currency in osCommerce itself. Vger <{POST_SNAPBACK}> CANNOT REINSTALL AFTER DOING THAT .... SAYS ERROR..... WHAT DO YOU MEAN "OSCOMMERCE ITSELF" HOW DO i DO THAT? :'( Link to comment Share on other sites More sharing options...
♥Vger Posted September 3, 2005 Share Posted September 3, 2005 By 'osCommerce itself' I mean under your Currencies setting in your osCommerce 'admin' control panel.. I test ran that code before posting it and it worked fine, - uninstalled the PayPal module and clicked to reinstall it and Australian Dollars then showed as one of the currencies in the Pay Pal module. Posting all in capital letters is known as 'Shouting' on forums, and is bad forum etiquette. Vger Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 By 'osCommerce itself' I mean under your Currencies setting in your osCommerce 'admin' control panel.. I test ran that code before posting it and it worked fine, - uninstalled the PayPal module and clicked to reinstall it and Australian Dollars then showed as one of the currencies in the Pay Pal module. Posting all in capital letters is known as 'Shouting' on forums, and is bad forum etiquette. Vger <{POST_SNAPBACK}> Hi I'm sorry I didnt know that was shouting. thanks for all you help. When I tried to reinstall pay pal i got the error message. I changed the php file back to how it was in the first place and it still wont reinstall. Are you able to tell me what I've done wrong by this error message?... 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'True', 'False'), ', now())' at line 1 insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable PayPal Module', 'MODULE_PAYMENT_PAYPAL_STATUS', 'True', 'Do you want to accept PayPal payments?', '6', '3', 'tep_cfg_select_option(array('True', 'False'), ', now()) [TEP STOP] Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.