otoor Posted October 1, 2008 Share Posted October 1, 2008 Hello, I have 2 currencies in my store, one of them is Saudi Rial (SAR) and I should have it for our customers And I`m using PayPal Website Payments Standard when I tried using $ currency and chose to pay with paypal it worked fine. but I have this problem when customers use SAR currency. This recipient does not accept payments denominated in USD. Please contact the seller and ask him to update his payment receiving preferences to accept this currency. So, how can I keep the SAR. but make the defult currency $ in background?! Link to comment Share on other sites More sharing options...
web-project Posted October 2, 2008 Share Posted October 2, 2008 you need the default store currency contribution, which allow to show the price in SAR and charge the clients in USD. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
otoor Posted October 2, 2008 Author Share Posted October 2, 2008 you need the default store currency contribution, which allow to show the price in SAR and charge the clients in USD. Dear Alex, thanks 4 ur post. what is "currency contribution" ?! and where I can found it and how to add it in my store? Link to comment Share on other sites More sharing options...
Bob K Posted October 10, 2008 Share Posted October 10, 2008 I think this may be the contribution that Alex is talking about : Display Price in Default Currency http://addons.oscommerce.com/info/3333 I am also just trying to get it implemented on my site with some tweaks in mind. Dear Alex, thanks 4 ur post. what is "currency contribution" ?! and where I can found it and how to add it in my store? Link to comment Share on other sites More sharing options...
Bob K Posted October 10, 2008 Share Posted October 10, 2008 I think I may have found a quick fix-it for this. I am setting up a store that uses Malaysian Ringgit as the default currency but converts the amount to US Dollar if the buyer opts to pay by PayPal and reverts to the default currency if any other payment method is chosen. It requires some modifications to the paypal_standard.php file. This seems to work for 2.2 RC2. Remember to make a backup of the original paypal_standard.php file just in case anything goes wrong. Go to catalog/includes/modules/payment/paypal_standard.php and look for this line: function process_button() { A few lines below around Line 286, you should see this line: 'currency_code' => $currency, Replace the line with: 'currency_code' => 'USD', Next, look for this line: // format prices without currency formatting A few lines below around Line 636, you should see this line: $currency_code = $currency; Replace the line with: $currency_code = 'USD'; That's basically it. Apart from the US Dollar, you can replace it with the short code of the other 17 PayPal supported currencies. At the time of posting, the supported currencies and their short codes in alphabetical order are: Short Code Currency ========== ======== AUD Australian Dollar CAD Canadian Dollar CHF Swiss Francs CZK Czech Koruna DKK Danish Kroner EUR Euro GBP Pound Sterling HKD Hong Kong Dollar HUF Hungarian Forint ILS Israeli Shekel JPY Japanese Yen MXN Mexican Peso NOK Norwegian Kroner NZD New Zealand Dollar PLN Polish Zloty SEK Swedish Krona SGD Singapore Dollar USD US Dollar Link to comment Share on other sites More sharing options...
otoor Posted October 10, 2008 Author Share Posted October 10, 2008 Bob Kee Thank you very much this was great Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.