akashheimlich Posted August 17, 2013 Share Posted August 17, 2013 Many people have complained about not being able to make payments with PayPal when the default shop currency is not supported by PayPal. This often returns a currency not supported error. The only solution so far has been to switch the default currency to something that IS supported but requires changing of all prices in the shop. This replacement file for PayPal module 3.5.8 solves the problem by adding a define called PAYPAL_FORCE_CURRENCY which can be optionally set to the currency ID found in Localization > Currencies. This will then enforce a conversion to the desired currency no matter which store is selected. Just replace the file process.php in modules/payment/paypal/express_checkout/ and at the top of the file modify the PAYPAL_FORCE_CURRENCY to whatever you wish to use. This has been tested and works under Prestashop 1.5.4.1. I have not tested the payment with discounts, so if there are any changes to be made please let me know. I hope this helps everyone who has been hunting for solutions. Enjoy! Akash process.php 8 Link to comment Share on other sites More sharing options...
eddyrc7 Posted August 21, 2013 Share Posted August 21, 2013 (edited) It works! Thanks a million! Edited August 21, 2013 by eddyrc7 (see edit history) Link to comment Share on other sites More sharing options...
akashheimlich Posted August 21, 2013 Author Share Posted August 21, 2013 Can you be more specific? It works fine on my install, did you make sure to check the correct currency ID in the currencies page and paste it into the relevant place in the file? Link to comment Share on other sites More sharing options...
christian123 Posted August 21, 2013 Share Posted August 21, 2013 this doesnt works Link to comment Share on other sites More sharing options...
akashheimlich Posted August 22, 2013 Author Share Posted August 22, 2013 christian123, did you read the comment above? You need to change the currency ID in the file before it works. Please post your error message here so we can figure it out. Link to comment Share on other sites More sharing options...
eddyrc7 Posted August 22, 2013 Share Posted August 22, 2013 it works guys, confirmed use the same parameters and replace the php file in you ftp server. Link to comment Share on other sites More sharing options...
esalazar Posted August 29, 2013 Share Posted August 29, 2013 works perfect, thank you!!!! Link to comment Share on other sites More sharing options...
Ashkro Posted August 30, 2013 Share Posted August 30, 2013 gives me error 500... Link to comment Share on other sites More sharing options...
akashheimlich Posted August 30, 2013 Author Share Posted August 30, 2013 Most likely your permissions are wrong, please check the file permissions and disable write access - suPHP and other hardened PHP setups require this. Link to comment Share on other sites More sharing options...
sgolubev33 Posted September 16, 2013 Share Posted September 16, 2013 Hello, what about the same fix for latest PayPal module. BTW, It seems to me, root cause of problem with PayPal module is removing last step with order amout approval, like bankwire module, (or hook for it) from PayPal module. In version 1.4 this automatic currency switching and converting happend on this step. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 24, 2013 Share Posted September 24, 2013 Hello all, this is just to let you know that the PayPal Module is updated to 3.6. You can download it here http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html Make sure to always have a backup of your files before you update modules. Do not hesitate to leave feedback about the module and if you have any issues, we can work together to solve them. Cheers, -Benjamin Link to comment Share on other sites More sharing options...
abondares Posted October 1, 2013 Share Posted October 1, 2013 This doese not work for PayPal Module 3.6. Any solutions for this problem? Link to comment Share on other sites More sharing options...
Avly Posted October 15, 2013 Share Posted October 15, 2013 (edited) This doese not work for PayPal Module 3.6. Any solutions for this problem? I also have the same problem with Croatian kuna currency. PayPal module 3.6 doesn't work with Akash's solution. Does anybody have an old 3.5.8 version for downloading? Andrej Edited October 16, 2013 by Avly (see edit history) 1 Link to comment Share on other sites More sharing options...
Hedera Posted October 25, 2013 Share Posted October 25, 2013 Hi guys, I have a smart solution for you. Use latest PayPal for USA module. 1) Before installing it, go to preferences - contact - change country to USA. 2) Install the module and re-change a country to yours. 3) In restriction check all currencies. I use 1 non supported currency and one supported. It works for both Link to comment Share on other sites More sharing options...
Hedera Posted October 25, 2013 Share Posted October 25, 2013 Hi guys, I have a smart solution for you. Use latest PayPal for USA module. 1) Before installing it, go to preferences - contact - change country to USA. 2) Install the module and re-change a country to yours. 3) In restriction check all currencies. I use kuna and euro. It works with both Link to comment Share on other sites More sharing options...
abondares Posted October 28, 2013 Share Posted October 28, 2013 It does not work for me. Anyone have another idea. I would hate to manually calculate the currency. Link to comment Share on other sites More sharing options...
eddyrc7 Posted October 28, 2013 Share Posted October 28, 2013 Guys it does work, you are just doing something wrong when editing the php file, remember everytime you update the prestashop or the paypal module you have to replace the php file, ask the author of this topic for more help. (Ive tried 3 different "non supported currencies and they work" Link to comment Share on other sites More sharing options...
Suyog Posted October 31, 2013 Share Posted October 31, 2013 Hello, This solution for paypal problem do not work for Indian currency (Rs), Is there any other solution? Link to comment Share on other sites More sharing options...
oomm81 Posted November 11, 2013 Share Posted November 11, 2013 Hello all, this is just to let you know that the PayPal Module is updated to 3.6. You can download it here http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html Make sure to always have a backup of your files before you update modules. Do not hesitate to leave feedback about the module and if you have any issues, we can work together to solve them. Cheers, -Benjamin Do you know wher can I download Paypal 3.5.8, the solution posted previously is not working on Paypal 3.6.1 Link to comment Share on other sites More sharing options...
Oron Posted November 14, 2013 Share Posted November 14, 2013 Hello Full English topic in French Forum ? I move to English Forum. Link to comment Share on other sites More sharing options...
Eli Ivanova Posted January 4, 2014 Share Posted January 4, 2014 The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: process.php 10 Link to comment Share on other sites More sharing options...
Akallprints Posted January 18, 2014 Share Posted January 18, 2014 Thanks, it is working Flawless . I had tried a thousand steps to resolve this issue ,but a small idea can change the world .. Link to comment Share on other sites More sharing options...
waldok Posted January 26, 2014 Share Posted January 26, 2014 The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: This solution is good only in case you want to use only one currency for PayPal payments, i.e. this solution helps to convert any currency to the currency set by PAYPAL_FORCE_CURRENCY when customer wants to use PayPal (tested with PayPal 3.6.4) But I have a little bit different problem. I have these currencies enabled in my shop: USD, EUR, GBP and LTL. I want to be able to accept PayPal payments in USD, EUR and GBP, but because only LTL is not supported by PayPal, I want to convert only LTL to EUR. The default currency is EUR. Please, any suggestions? Link to comment Share on other sites More sharing options...
itdes Posted January 29, 2014 Share Posted January 29, 2014 Hello, I'm having the same currency problem... The version of PayPal is: 3.6.4 and the version of PrestaShop is 1.5.6.1... I'm using only one currency in the shop, but it is not supported on PayPal. Have someone tested the solution for this problem in the latest version of PayPal? Is there something specific that we should choose in order for the changed file process.php to fix the problem - like the option: "Need PayPal to process all your card payments ?" or "Need PayPal in addition to your existing card processor ?", or the option for "Offer your customers a 3-click checkout experience" should be "Yes" or it should be "No"... If anyone has an idea, please? Link to comment Share on other sites More sharing options...
pduke7 Posted January 29, 2014 Share Posted January 29, 2014 it works fine with paypal 3.6.4. and presta 1.5.6.2 process.php is in modules/paypal/express_checkout/ i replaced with the one from Eli Ivanova and it works fine.my currency is euro. i really do not understand why paypal still have this bug thank you! 2 Link to comment Share on other sites More sharing options...
itdes Posted January 29, 2014 Share Posted January 29, 2014 Hello, It is working now at my end too, PayPal: 3.6.4 and PrestaShop: 1.5.6.1 I used the file of Eli Ivanova as well. The problem at my end was caused by the fact that I had only one currency in PrestaShop and it wasn't supported by PayPal. So I added one of the supported currencies - EURO and in the process.php I entered the ID of the EURO currency, not the ID of my default (and not supported by PayPal) currency. Now everything is working fine. Thanks. 1 Link to comment Share on other sites More sharing options...
oomm81 Posted February 13, 2014 Share Posted February 13, 2014 Thanks MUCHAS GRACIAS!! The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: it is working perfect for me (PrestaShop 1.5.6.2, PayPal 3.6.5 ), default shop currency GTQ, Paypal module forced currency US$ 1 Link to comment Share on other sites More sharing options...
grimatsas Posted February 21, 2014 Share Posted February 21, 2014 Eli's code works on paypal 3.6.5 too !! thank you! 1 Link to comment Share on other sites More sharing options...
affairemax Posted February 21, 2014 Share Posted February 21, 2014 It works! Many thanks 1 Link to comment Share on other sites More sharing options...
FaheemSeedat Posted February 24, 2014 Share Posted February 24, 2014 Hi All Sorry Newbie, I cant seem to get the code to work, If i Understand correctly i should change the text to the default Currency set in my store: Like: define("Rand",2);class PaypalExpressCheckout extends Paypal or should i have it as define("Dollar",2);class PaypalExpressCheckout extends Paypal I am trying to get the south african Rand to work. Prestashop: 1.5.6.2 Paypal Module: 3.6.5 Thank you in advance. Link to comment Share on other sites More sharing options...
Alexybg Posted February 25, 2014 Share Posted February 25, 2014 The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: Work Great you are the best 1 Link to comment Share on other sites More sharing options...
kaic Posted March 27, 2014 Share Posted March 27, 2014 (edited) Въпрос "Валутата не се поддържа" The все още е представена в най-новата версия 3.6.3 на модула PayPal - валута моя магазин е български лев. Направих същите промени в process.php като akashheimlich направих и сега модулът работи. Тук е съответния файл за 3.6.3: Благодаря ви за страхотна работа Eli Ivanova Edited March 27, 2014 by kaic (see edit history) 1 Link to comment Share on other sites More sharing options...
shaktishakya Posted April 10, 2014 Share Posted April 10, 2014 Hello Eli, You have saved hours of mine fixing the bug in paypal module. Everything looks good until I found myself stuck at one final things. After it redirects back to prestashop, the amount stays in the converted price, while currency symbol is correct, in the return (order confirmation) page. For example, the order confirmation page shows Total of the transaction (taxes incl.) : Rs. 6.19 The currency shown here is fine, while the amount figure is the Dollar converted figure, which Paypal used for the transaction. I should get back the original amount in Rs. Thanks in advance. Link to comment Share on other sites More sharing options...
Eli Ivanova Posted April 10, 2014 Share Posted April 10, 2014 hello shaktishakya, I know what you mean, but I couldn't find the solution for this. It is not straightforward, because the real amount is calculated and the currency is processed also. So, I decided to hide this line in this template. At that very moment, after completing the payment, this information is not so important, as the user has already received the email with the exact figures. Link to comment Share on other sites More sharing options...
shaktishakya Posted April 10, 2014 Share Posted April 10, 2014 Thanks for your quick reply. I managed to fix it by making adjustments in few files. Link to comment Share on other sites More sharing options...
Eli Ivanova Posted April 11, 2014 Share Posted April 11, 2014 could you share which files you have changed? Thanks. Link to comment Share on other sites More sharing options...
shaktishakya Posted April 11, 2014 Share Posted April 11, 2014 Made changes in the file "controllers/front/submit.php" I defined PAYPAL_FORCE_CURRENCY before the class definition. Then, public function initContent(){ ..... 'price' => Tools::displayPrice($paypal_order['total_paid'], PAYPAL_FORCE_CURRENCY), ..... $order_currency = new Currency((int)$order->id_currency); $display_currency = new Currency(PAYPAL_FORCE_CURRENCY); $price = $paypal_order['total_paid']; ..... ..... $this->context->smarty->assign( array( 'is_guest' => (($this->context->customer->is_guest) || $this->context->customer->id == false), 'order' => $paypal_order, 'price' => Tools::displayPrice($price, PAYPAL_FORCE_CURRENCY), ...... } Link to comment Share on other sites More sharing options...
Eli Ivanova Posted April 13, 2014 Share Posted April 13, 2014 hi shaktishakya, thanks for sharing this! Link to comment Share on other sites More sharing options...
ktapet Posted April 24, 2014 Share Posted April 24, 2014 (edited) Hi, there is no bug here! Just update paypal module to the last version: 3.6.8. I tested two different cases: prestashop 1.5.2 and paypal 3.6.8 and prestashop 1.6 and paypal 3.6.8 and works fine both. I think the problem you have is because you don't set the correct currency restrictions on payment tab for paypal module. All you have to do is to go in module>payment and be sure to check a currency that is accepted by paypal: Example: supose we have 2 curency: dollar and lei(lei is not supported by paypal). In PS 1.5.2 i have in currency restrictions section for each currency (in my case dollar and lei) one checkbox for each payment module and another 2 radio boxes : one for 'Customer currency' and one for 'Shop default currency'. The only way is work is to check the dollar checkbox and the 'Customer currency' radio box on the paypal column. For PS 1.6 is easier, we have on paypal column only radio boxes and works with 'Customer currency' radio box(if is paypal supported) or dollar radio box checked. Edited April 24, 2014 by ktapet (see edit history) Link to comment Share on other sites More sharing options...
pduke7 Posted April 29, 2014 Share Posted April 29, 2014 I just found a much better fix (for my case at least) that canceled this one I was forced to look for another fix cause after updating to 1.6 the above fix stopped working This one is intended for Greek language or any other language that uses double-byte characters http://www.prestashop.com/forums/topic/300246-paypal-error-11812-invalid-data/?p=1623994 Link to comment Share on other sites More sharing options...
hmulhim Posted May 19, 2014 Share Posted May 19, 2014 I have tried using the file above without success, changed the currency ID to my SAR currency ID, with no success. I am using Prestashop 1.5.6.2 and Paypal 3.6.8 I have posted my problem here also a week ago with no response. http://www.prestashop.com/forums/topic/329704-paypal-368/?view=findpost&p=1667577 Please help! Hussam Link to comment Share on other sites More sharing options...
nanos215 Posted August 4, 2014 Share Posted August 4, 2014 Hello, I have added the file and it works. However, I must say that the exchange rate used by PayPal is different from the exchange rate of the page, so the total amounts end up being different. My problem with this solution is that the Transaction Fee for using PayPal is not added!! Anyone kind enough to help me? - Mariano Link to comment Share on other sites More sharing options...
nanos215 Posted August 4, 2014 Share Posted August 4, 2014 (edited) Thanks for the advice El Patron. I have just solved my issue by only adding the few lines user akashheimlich added. First, added line 36 before class: define("PAYPAL_FORCE_CURRENCY",1); changed the currency id here to 1 instead of 7: $this->currency = new Currency((int)$this->context->cart->id_currency=1); and then added lines 120 through 123 to solve the currency decimals issues: if (defined("PAYPAL_FORCE_CURRENCY")) { $paycurrency = new Currency(PAYPAL_FORCE_CURRENCY); $currency_decimals=$paycurrency->decimals; } I noticed that the exchange rate was different because of the lines 312-316 akashheimlich added in private function setProductsList $pc=floatval($product['price_wt']); if (defined("PAYPAL_FORCE_CURRENCY")) { $pc=floatval($pc/$currency->conversion_rate*$paycurrency->conversion_rate); $fields['L_PAYMENTREQUEST_0_AMT'.$index] = Tools::ps_round($pc, $paycurrency->decimals * _PS_PRICE_DISPLAY_PRECISION_); } else The reason why the transaction fee was not showing was because the user disabled its addition in the code and eliminated some lines which are by default in the original process.php file. Therefore, I just added the lines necessary to solve the conversion issue. Does not PayPal charge you a fee for using their service? Cannot I transfer this fee to my customers? Why then the PayPal module allows us to charge a transaction fee? -Mariano Edited August 4, 2014 by nanos215 (see edit history) Link to comment Share on other sites More sharing options...
GS VISION Posted September 9, 2014 Share Posted September 9, 2014 It is working with future versions right? 3.7.x+ Link to comment Share on other sites More sharing options...
angelu Posted September 12, 2014 Share Posted September 12, 2014 hi, i am using ps 1.6 and us paypal module, my shop's default currency is in INR and i have kept dollar as paypal currency (since paypal doesnot support INR) , my problem is while redirecting to paypal account for payment paypal is not converting my currency to Dollars . for ex:- 100INR is dispayed as 100$, and in my invoice and in order section it displays the amount in dollars. How to convert my currency into Dollars in paypal payment section ? How to display default currency in my invoice? Link to comment Share on other sites More sharing options...
algisna Posted October 29, 2014 Share Posted October 29, 2014 The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: Works perfectly with latest Paypal Europe 3.7.2 and Presta 1.6. thanks 1 Link to comment Share on other sites More sharing options...
monkata Posted November 24, 2014 Share Posted November 24, 2014 (edited) Is possible to fix this with latest version of paypal 3.8.1? If yes, how?? I can't find paypal force currency!!! Solved I made the following, I don't know if it's correct. But it is working. find all lines with " $this->currency = new Currency((int)$this->context->cart->id_currency=1); " and change the id with your id currency. It works on my shop Edited November 26, 2014 by monkata (see edit history) Link to comment Share on other sites More sharing options...
Malinovski Posted November 27, 2014 Share Posted November 27, 2014 Simple fix: $fields['PAYMENTREQUEST_0_CURRENCYCODE'] = strtoupper($currency->iso_code); Check your currency code: https://developer.paypal.com/webapps/developer/docs/classic/api/currency_codes/ Link to comment Share on other sites More sharing options...
weckie Posted December 23, 2014 Share Posted December 23, 2014 (edited) Don't if this is the correct thread.... But, we're having this problem with paypal at the moment. PayPal response: TIMESTAMP -> 2014-12-23T10:33:21ZL_ERRORCODE0 -> 10004L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.L_LONGMESSAGE0 -> Invalid character in parameter. Invalid characters include 0x0, 0x1, 0x3, 0x5, 0x7, 0x8, 0xb, 0x1a, 0x1b for example.L_SEVERITYCODE0 -> Error We don't have any clue what to do with it. But our customers can not pay with paypal now. Does anyone have any idea? Thanks in advance. Kind regards Edited December 23, 2014 by weckie (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted December 23, 2014 Share Posted December 23, 2014 I would suggest creating your own topic. Include your Prestashop and Paypal module version when you do so. Link to comment Share on other sites More sharing options...
mehnihma Posted January 3, 2015 Share Posted January 3, 2015 (edited) Is possible to fix this with latest version of paypal 3.8.1? If yes, how?? I can't find paypal force currency!!! Solved I made the following, I don't know if it's correct. But it is working. find all lines with " $this->currency = new Currency((int)$this->context->cart->id_currency=1); " and change the id with your id currency. It works on my shop Hi when I do this it works but it does not do conversion of If I have 100 kn I get 100 EUR, Is there a fix for this? I ma using PS1.6.0.9 and PayPal v3.8.1 Edited January 3, 2015 by mehnihma (see edit history) Link to comment Share on other sites More sharing options...
sertecpc Posted January 8, 2015 Share Posted January 8, 2015 Hi when I do this it works but it does not do conversion of If I have 100 kn I get 100 EUR, Is there a fix for this? I ma using PS1.6.0.9 and PayPal v3.8.1 Getting the same error, now its not converting Link to comment Share on other sites More sharing options...
bvhieu106 Posted January 30, 2015 Share Posted January 30, 2015 Thank you very muck. It had help me Link to comment Share on other sites More sharing options...
zabamich Posted February 18, 2015 Share Posted February 18, 2015 I have installed latest version 1.6.0.11, paypal module 3.8.1 with active currency: euro( defoult), USD, GPB and for last few days, all basked were transferd to defoult store currency without any issue. today I checked some transacion and I found issue, all transaction not in EUR are converted incoreclty, that means for example: product is for 5 euro, customer payid 5,15 Euro when was choisen USD. ( 1euor= 5,15USD).any idea how to convert price correctly?? is huge issue. Link to comment Share on other sites More sharing options...
lemoncall Posted February 22, 2015 Share Posted February 22, 2015 Thanks ~~ it work and fixed~~ Link to comment Share on other sites More sharing options...
menaledezma Posted March 24, 2015 Share Posted March 24, 2015 I have installed latest version 1.6.0.11, paypal module 3.8.1 with active currency: euro( defoult), USD, GPB and for last few days, all basked were transferd to defoult store currency without any issue. today I checked some transacion and I found issue, all transaction not in EUR are converted incoreclty, that means for example: product is for 5 euro, customer payid 5,15 Euro when was choisen USD. ( 1euor= 5,15USD). any idea how to convert price correctly?? is huge issue. Same problem Link to comment Share on other sites More sharing options...
kNife77 Posted April 16, 2015 Share Posted April 16, 2015 The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: This is working fine, but you have to set your currency for paypal on the first line : define("PAYPAL_FORCE_CURRENCY",n); where n is the currency id for the currency you want paypal to use / convert your foreign currency to. So in my case the n is 3, for EURO. The standard n that comes with the file process.php is 2, in my case the foreign currency id. Now it is working great. Thanks Eli ! Link to comment Share on other sites More sharing options...
gabx Posted April 19, 2015 Share Posted April 19, 2015 Sorry for refreshing this topic but it might be helpful for the others. If you have Google Analytics module installed, turn it off. It is what caused conversion problems in my case, and uninstalling it solved the problem. I didn't needed to even change .php files. 1 Link to comment Share on other sites More sharing options...
bvhieu106 Posted April 20, 2015 Share Posted April 20, 2015 This is module can check out width all currency. Can config currency use when check out paypalhttps://www.prestashop.com/forums/topic/437837-share-module-paypal-for-all-currency/ Link to comment Share on other sites More sharing options...
goatstudio Posted April 29, 2015 Share Posted April 29, 2015 Sorry for refreshing this topic but it might be helpful for the others. If you have Google Analytics module installed, turn it off. It is what caused conversion problems in my case, and uninstalling it solved the problem. I didn't needed to even change .php files. Thanks, some how this method works for me! Link to comment Share on other sites More sharing options...
tony_mik Posted May 22, 2015 Share Posted May 22, 2015 Many people have complained about not being able to make payments with PayPal when the default shop currency is not supported by PayPal. This often returns a currency not supported error. The only solution so far has been to switch the default currency to something that IS supported but requires changing of all prices in the shop. This replacement file for PayPal module 3.5.8 solves the problem by adding a define called PAYPAL_FORCE_CURRENCY which can be optionally set to the currency ID found in Localization > Currencies. This will then enforce a conversion to the desired currency no matter which store is selected. Just replace the file process.php in modules/payment/paypal/express_checkout/ and at the top of the file modify the PAYPAL_FORCE_CURRENCY to whatever you wish to use. This has been tested and works under Prestashop 1.5.4.1. I have not tested the payment with discounts, so if there are any changes to be made please let me know. I hope this helps everyone who has been hunting for solutions. Enjoy! Akash This worked for me! Thank you very much. Link to comment Share on other sites More sharing options...
Modake Posted June 21, 2015 Share Posted June 21, 2015 Had the same issue and disabling GA helped resolve. I tried the force currency to USD as well and it didn't work. I also had my currency preferences correctly set but nothing seemed to work. 1 Link to comment Share on other sites More sharing options...
Chirag_BBU Posted July 29, 2015 Share Posted July 29, 2015 Sorry for refreshing this topic but it might be helpful for the others. If you have Google Analytics module installed, turn it off. It is what caused conversion problems in my case, and uninstalling it solved the problem. I didn't needed to even change .php files. Solved my paypal problem too.. Thanks a lot man. I was facing so many difficulties just because of this... Thanks a lot !! Chirag Gupta www.bridesbyus.com 1 Link to comment Share on other sites More sharing options...
sky4fire Posted July 30, 2015 Share Posted July 30, 2015 hi, i am using ps 1.6 and us paypal module, my shop's default currency is in INR and i have kept dollar as paypal currency (since paypal doesnot support INR) , my problem is while redirecting to paypal account for payment paypal is not converting my currency to Dollars . for ex:- 100INR is dispayed as 100$, and in my invoice and in order section it displays the amount in dollars. How to convert my currency into Dollars in paypal payment section ? Sorry for refreshing this topic but it might be helpful for the others. If you have Google Analytics module installed, turn it off. It is what caused conversion problems in my case, and uninstalling it solved the problem. I didn't needed to even change .php files. To fix this problem without disabling Google Analytics You need to change in "paypal/express_checkout/process.php" this line : $this->product_list = $this->context->cart->getProducts(); to this: $this->product_list = $this->context->cart->getProducts(true); Link to comment Share on other sites More sharing options...
vicbg Posted November 10, 2015 Share Posted November 10, 2015 Guys, Hello from me in Bulgaria.Big thanks to Ktapet for opening my eyes. Also big thanks to Eli Ivanova and to for akashheimlich their original solutions at the begining of this topic. However, after thinking about what ktapet said, it seems all these problems we all "had" are the result of bad configuring of our store.What worked for me requires NO CODING abilities and needs ONLY your correct configuring of your MODULES / PAYMENT section. Bellow I will give you screenshots of what otherwise is this configuration: 1. Default shop currency is EUR - Additionally I have USD and BGN (Bulgarian Lev) as installed currencies. Then, what you need to make sure, in your MODULES / PAYMENT section, scroll down to CURRENCY RESTRICTIONS section and select the PAYPAL radiobox for "Shop default currency" What I've found this to do is to automatically convert the Unsupported Paypal currency into the Shop's default currency. The result was great to see on my PS v 1.6.0.11 Here are two snaps of what I get from the above settings in practice: and after order: Hope this is helpful to others too and not only to me.Best of luck!!! 2 Link to comment Share on other sites More sharing options...
the.rampage.rado Posted November 18, 2015 Share Posted November 18, 2015 This is not working if you shop's default currency is not supported.... 1 Link to comment Share on other sites More sharing options...
hamza1986 Posted November 28, 2015 Share Posted November 28, 2015 thank you it's great Link to comment Share on other sites More sharing options...
themadcatlady Posted December 28, 2015 Share Posted December 28, 2015 Hi guys. Since this post was started more than 2 years ago, would anybody know if this solution still works with version 1.6.1.3 of Prestashop? We would like Bulgarian Lev as our currency, but PayPal does not support this. I don't want to try and mess around with the files and code in case I break the whole shop, unless I know it would work. Any idea? Link to comment Share on other sites More sharing options...
vicbg Posted December 28, 2015 Share Posted December 28, 2015 Hi guys. Since this post was started more than 2 years ago, would anybody know if this solution still works with version 1.6.1.3 of Prestashop? We would like Bulgarian Lev as our currency, but PayPal does not support this. I don't want to try and mess around with the files and code in case I break the whole shop, unless I know it would work. Any idea? Do you ONLY have BGN currency? Link to comment Share on other sites More sharing options...
themadcatlady Posted December 28, 2015 Share Posted December 28, 2015 Do you ONLY have BGN currency? Yes, only BGN, nothing else. Link to comment Share on other sites More sharing options...
vicbg Posted December 28, 2015 Share Posted December 28, 2015 Yes, only BGN, nothing else. PayPal cannot work with BGN. For this reason, you cannot accept BGN in Paypal. Consider adding EUR as currency and try my tutorial above. If you only target getting paid in BGN then maybe ePay is your option. Let me know how you proceed. Link to comment Share on other sites More sharing options...
themadcatlady Posted December 28, 2015 Share Posted December 28, 2015 PayPal cannot work with BGN. For this reason, you cannot accept BGN in Paypal. Consider adding EUR as currency and try my tutorial above. If you only target getting paid in BGN then maybe ePay is your option. Let me know how you proceed. Thank you for that reply. I thought as much. I am looking into "Stripe" as a payment option, they do support the Bulgarian Lev currrency. Again, thank you. Link to comment Share on other sites More sharing options...
themadcatlady Posted December 28, 2015 Share Posted December 28, 2015 Guys, Hello from me in Bulgaria. Big thanks to Ktapet for opening my eyes. Also big thanks to Eli Ivanova and to for akashheimlich their original solutions at the begining of this topic. However, after thinking about what ktapet said, it seems all these problems we all "had" are the result of bad configuring of our store. What worked for me requires NO CODING abilities and needs ONLY your correct configuring of your MODULES / PAYMENT section. Bellow I will give you screenshots of what otherwise is this configuration: 1. Default shop currency is EUR - Additionally I have USD and BGN (Bulgarian Lev) as installed currencies. Then, what you need to make sure, in your MODULES / PAYMENT section, scroll down to CURRENCY RESTRICTIONS section and select the PAYPAL radiobox for "Shop default currency" What I've found this to do is to automatically convert the Unsupported Paypal currency into the Shop's default currency. The result was great to see on my PS v 1.6.0.11 Here are two snaps of what I get from the above settings in practice: and after order: Hope this is helpful to others too and not only to me. Best of luck!!! Thank you for all those instructions! However, the whole point is that we would like people to be charged in Bulgarian Lev at the end when they get to PayPal, but what I see from your screenshot is that it will convert into Euro anyway. That part I already knew, but I would like that bit in Bulgarian Lev too - but since PayPal does not support BGN, it will still default to Euro.... 1 Link to comment Share on other sites More sharing options...
kaic Posted December 30, 2015 Share Posted December 30, 2015 Hi, I replaced the module and use file process.php Now my system converted "Bulgarian LV " to £ and I want to be "euro"How can I do so that it converted to "euro"?Thank's! Link to comment Share on other sites More sharing options...
vicbg Posted January 4, 2016 Share Posted January 4, 2016 (edited) Hi, I replaced the module and use file process.php Now my system converted "Bulgarian LV " to £ and I want to be "euro"How can I do so that it converted to "euro"? Thank's! Can you do a screenshot of your BO: #1. currency settings #2. currency restrictions setting Thanks. Edited January 4, 2016 by vicbg (see edit history) Link to comment Share on other sites More sharing options...
great9 Posted February 8, 2016 Share Posted February 8, 2016 I've used the latest available version of the Paypal module and updated it with forced currency conversion. The attached file will take the currency under ID 1 in Admin > Localization > Currencies and it for conversion on Paypal. Just replace the process-3.10.2-currency-conversion.php with process.php in modules/paypal/express_checkout and you should be good to go. If you want to use a different currency supported by Paypal then change the ID on line 38 from 1 to the desired currency ID. process-3.10.2-currency-conversion.zip Link to comment Share on other sites More sharing options...
tiho89 Posted February 13, 2016 Share Posted February 13, 2016 Hi, everything work fine but when buyer use voucher give me error: Payment error Please try to contact the merchant: An error occurred while processing payment.In BO: Price paid on paypal is not the same that on PrestaShop. I use last paypal europe 3.10.2Thank you! Link to comment Share on other sites More sharing options...
mystxxx Posted February 15, 2016 Share Posted February 15, 2016 Hi, Anyone solve the problem with currency? I don't know but I have this error when I try to Pay with Paypal. One week ago everything was finy and right now this: Error occurred: <b>PayPal response:</b> TIMESTAMP -> 2016-02-15T22:46:12Z L_ERRORCODE0 -> 10605 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Currency is not supported L_SEVERITYCODE0 -> Error In prestashop I have currency EUR only but in paypal/api/Results.txt i have: CURRENCYCODE=ARS&PAYMENTREQUEST and one week ago was: CURRENCYCODE=EUR&PAYMENTREQUEST ASR is Argentina! Why? this langauge is not installed in my prestashop (and removed) Could you help me? I do not know wha to do Best Aleksandra Link to comment Share on other sites More sharing options...
bellini13 Posted February 15, 2016 Share Posted February 15, 2016 (edited) ARS is not the language, it is the currency... Edited February 16, 2016 by bellini13 (see edit history) Link to comment Share on other sites More sharing options...
mystxxx Posted February 15, 2016 Share Posted February 15, 2016 (edited) . Edited February 16, 2016 by mystxxx (see edit history) Link to comment Share on other sites More sharing options...
mpatzekov Posted July 28, 2016 Share Posted July 28, 2016 The issue "Currency not supported" is still presented in the latest version 3.6.3 of the PayPal module - my shop's currency is Bulgarian lev. I did the same changes in process.php as akashheimlich did and now the module works. Here is the corresponding file for 3.6.3: You are life saver. Thanks! Link to comment Share on other sites More sharing options...
Premitium Posted October 4, 2016 Share Posted October 4, 2016 The solution works with PayPal 3.10.2 and presta 1.6.5 with BGN currency. Link to comment Share on other sites More sharing options...
chucurulo Posted November 8, 2016 Share Posted November 8, 2016 Hello, I have updated the module paypal version 3.11.1 and pestashop 1.6.1.8 works. But at the end of the process it throws an error but the payment is processed. The customer is confused and makes the order several times .. Any new update to process.php? 1 Link to comment Share on other sites More sharing options...
krishroman Posted November 8, 2016 Share Posted November 8, 2016 Very useful for me Link to comment Share on other sites More sharing options...
Premitium Posted November 8, 2016 Share Posted November 8, 2016 Hello, I have updated the module paypal version 3.11.1 and pestashop 1.6.1.8 works. But at the end of the process it throws an error but the payment is processed. The customer is confused and makes the order several times .. Any new update to process.php? If you follow the process it should work, I had the same issue. Check if the id's of the currencies are set as supposed. If I remember 1 for USD/EURO and 2 for unsupported currency. This should be done from the Presta admin panel. Link to comment Share on other sites More sharing options...
chucurulo Posted November 8, 2016 Share Posted November 8, 2016 If you follow the process it should work, I had the same issue. Check if the id's of the currencies are set as supposed. If I remember 1 for USD/EURO and 2 for unsupported currency. This should be done from the Presta admin panel. Hello, Thanks for the answer I could not understand the answer well. The currency not supported by paypal for me has id 2. In which line should I add coin 2 to make it work. ? Link to comment Share on other sites More sharing options...
chucurulo Posted November 25, 2016 Share Posted November 25, 2016 hello, please update file for paypal 3.11.1 thanks you Link to comment Share on other sites More sharing options...
Bashev Posted December 14, 2016 Share Posted December 14, 2016 (edited) For PayPal 3.11.1 Extract archive to home folder. DO NOT FORGET TO BACKUP!!!Edit: Updated file with right one. Thank you to Niki Nikolov! paypal-fix-not-supported-currencies.zip Edited December 17, 2016 by Bashev (see edit history) Link to comment Share on other sites More sharing options...
House NC Posted April 27, 2017 Share Posted April 27, 2017 (edited) For Paypal 3.11.4 that works But the same issues of PrestaShop Enthusiast At the end of the process an error of payment appear but the payment processed. Someone could send me an updated information for fixing this issues. thank you I use Prestashop 1.6.1.11 Edited April 27, 2017 by House NC (see edit history) Link to comment Share on other sites More sharing options...
vicbg Posted May 31, 2017 Share Posted May 31, 2017 For Paypal 3.11.4 that works But the same issues of PrestaShop Enthusiast At the end of the process an error of payment appear but the payment processed. Someone could send me an updated information for fixing this issues. thank you I use Prestashop 1.6.1.11 Same with me still. Anyone ? Link to comment Share on other sites More sharing options...
iugtea Posted June 30, 2017 Share Posted June 30, 2017 (edited) Hello, Is there any solution? Error occurred: Please try to contact the merchant: <b>PayPal response:</b> TIMESTAMP -> 2017-06-30T13:17:02Z L_ERRORCODE0 -> 11812 L_SHORTMESSAGE0 -> Invalid Data L_LONGMESSAGE0 -> The value of Description parameter has been truncated. L_SEVERITYCODE0 -> Warning This solution for paypal problem do not work for Taiwan currency (NT$). I use Prestashop 1.6.1.13 Thank you Edited June 30, 2017 by iugtea (see edit history) Link to comment Share on other sites More sharing options...
b2esis Posted September 22, 2017 Share Posted September 22, 2017 Problem resolved, plugin works 100%. For information or code contact me by mail: [email protected] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now