JerseyG Posted September 27, 2012 Share Posted September 27, 2012 (edited) Hi After what I thought was a good upgrade I found that customers are receiving this message when trying to use PayPal - We’re sorry, PayPal doesn’t allow residents of United Kingdom to send purchases to Jersey. I have uninstalled and reinstalled the original 1.4.9 version and I have also downloaded and installed the latest version. I notice a lot of posts on PayPal with version 1.5, has anyone got it working or suggest what I could try next. All other items work well and I am reluctant to roll back as the other features out way the loss of PayPal. Thanks in advance Edited November 21, 2012 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
Metang Posted September 28, 2012 Share Posted September 28, 2012 having the same issue. Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi I have seen a lot of bug reports on PayPal but unsure if this is the same problem, however I have taken my error report, which I should have done before, and am now posting it to see if it helps find a solution. [28-Sep-2012 13:49:17] PHP Warning: touch(): Utime failed: No such file or directory in C:\inetpub\wwwroot\********\tools\smarty\sysplugins\smarty_internal_template.php on line 182 [28-Sep-2012 13:49:53] PHP Notice: Undefined variable: result in C:\inetpub\wwwroot\********\modules\paypal\api\paypal_connect.php on line 113 Thanks G Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hello all, if you could, I would suggest to download the newest version of the PayPal Module from the Add-On store here, http://addons.prestashop.com/en/payments-gateways-prestashop-modules/1748-paypal.html Some fixes have been made. Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi Benjamin Thanks for coming back on this. I am running version 3.2.1 , I downloaded and installed that on Tuesday. As I said in my original email I have tried the older version as issued in version 1.4.9 and the latest download of PayPal v 3.2.1 As neither now work i was wondering if it was not the PayPal module but something in PS V 1.5 that has caused the issue. Thanks again G Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hello Jersey, If you are using PrestaShop 1.4 you have to install the Backward Compatibility module. You can find it on addons.prestashop.com : http://addons.presta...patibility.html Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi Benjamin I will bring you up to date with the scenario. I have been running Prestashop v 1.4.9 and after testing my upgrades went with a manual upgrade on my server running windows server 2008. All items and features went well, small bit of tinkering on the footer, uninstalled paypal and reinstalled due to error message. The module text looked wrong so I downloaded PayPal v 3.2.1 and installed that without errors. Now my situation is that I am live with PS V 1.5 and PayPal V 3.2.1 Every feature in my shop looks to be working well ( Great job with V 1.5 by the way) then I found abandoned carts, then to find the PayPal error. I am looking to open Money Booker account (Hope that works) to take the place of PayPal in the short term. Hope that explains the state of my system. Thanks G Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hi Jersey, no problem, but have you installed the the Backward Compatibility module. You can find it on addons.prestashop.com : http://addons.presta...patibility.html You would need this for PayPal to work Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi Benjamin Module downloaded and installed. Tried another payment, same issue as my first article - We’re sorry, PayPal doesn’t allow residents of United Kingdom to send purchases to Jersey. Error in log:- PHP Notice: Undefined variable: result in C:\inetpub\wwwroot\********\modules\paypal\api\paypal_connect.php on line 113 Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hi Jersey, Have you tried a shipping address outside of Jersey? Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi Benjamin This should be a Jersey to Jersey transaction so not sure why the United Kingdom is mentioned. I have no "friendly" people outside of the Island who I can ask to test for me. I run an account only shop so my headache is very small, but some people like to use PayPal. I will try and find someone to test from overseas if possible. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 That could be the problem. PayPal thinks you are in the UK when you are in Jersey. I suggest that you call PayPal and see if they can do anything from their end, they may tell you more about the error as well. Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi Benjamin Well you have raised a smile here. I have contacted PayPal twice and logged a call on their merchants help desk, you will be surprised to hear that it is not there problem. As they say, this is were I started. Why would this only start to happen after the upgrade? G Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 28, 2012 Share Posted September 28, 2012 Hello Jersey, thank you. I will help you figure this one out. I believe this error is due to a missing ISO code. I will investigate the issue and get with back with a resolution shortly. Link to comment Share on other sites More sharing options...
JerseyG Posted September 28, 2012 Author Share Posted September 28, 2012 Hi Benjamin Thanks for all your help and I look forward to hearing from you. If I don't hear from you before, have a great weekend. G Link to comment Share on other sites More sharing options...
JerseyG Posted October 2, 2012 Author Share Posted October 2, 2012 Hi As an update I have downloaded PayPal V 3.2.2 from the website, still the same issue. Thanks G Link to comment Share on other sites More sharing options...
JerseyG Posted October 5, 2012 Author Share Posted October 5, 2012 Hi Benjamin Due to the problems that are now starting to show after instigating stock control, see my other post, I have reverted my shop back to a backup of two weeks ago. V 1.4.9 I don't think that V 1.5 works as an upgrade, I might just try a new install with no old data. Thanks for your assistance G Link to comment Share on other sites More sharing options...
1sweetman Posted October 5, 2012 Share Posted October 5, 2012 Hi, has there been any progress on this issue?.... I had a fully working version of Prestashop v1.4.8. I have since upgraded using 1-click autoupgrade to version 1.5. I have installed the latest version of PayPal module (less than 1 hour ago) Everything works fine until I get to checkout. This is the response message I get..... Error occurred: Please refer to logs: PayPal response: -> absolutely no clues as to why not working except for Notice: Undefined variable: tmp in /var/www/html/****/modules/paypal/api/paypal_connect.php on line 118 What am I doing wrong? Any advise gratefully accepted. S Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 5, 2012 Share Posted October 5, 2012 Hello all, we have been working hard on updating our modules and fixing bugs for the new version of PrestaShop. There are many bug fixes from the 1.5.0.1.7 version and the 1.5.1 version. I strongly suggest that this is version is used and tested. We can then move forward from error reporting and bug reporting in the forge bug tracker here . Link to comment Share on other sites More sharing options...
1sweetman Posted October 8, 2012 Share Posted October 8, 2012 Re #18 I have traced my problem back to an upgrade to Fedora 16 which has changed/updated my SELinux settings.....does naybody know the correct settings and how to change them in Fedora 16? Many thanks Link to comment Share on other sites More sharing options...
vynx Posted October 8, 2012 Share Posted October 8, 2012 Hello all, we have been working hard on updating our modules and fixing bugs for the new version of PrestaShop. There are many bug fixes from the 1.5.0.1.7 version and the 1.5.1 version. I strongly suggest that this is version is used and tested. We can then move forward from error reporting and bug reporting in the forge bug tracker here . Hi Benjamin, would you please kindly share timeline estimation for bug fixing? Link to comment Share on other sites More sharing options...
ssekazinga Posted October 13, 2012 Share Posted October 13, 2012 Hi , I have installed paypal but it only appear under the cart page btu does not appear on the payment page. Is there Google checkout that works well with V 1.5? Link to comment Share on other sites More sharing options...
1sweetman Posted October 13, 2012 Share Posted October 13, 2012 Hi ssekazinga, I had same problem yesterday....traced it back to a currency issue which was set at default....changed it to EN (my default setting - go figure) and now it works. Not yet tried google checkout Good luck Link to comment Share on other sites More sharing options...
ssekazinga Posted October 13, 2012 Share Posted October 13, 2012 Hi ssekazinga, I had same problem yesterday....traced it back to a currency issue which was set at default....changed it to EN (my default setting - go figure) and now it works. Not yet tried google checkout Good luck Hi Sweetman, How do i change the default curreny above to EN? Link to comment Share on other sites More sharing options...
1sweetman Posted October 13, 2012 Share Posted October 13, 2012 Sorry my mistake meant changed it to Pound under Localization......I just worked through the menus dbl checking my settings and it worked after I changed currency to Pounds from default......good luck Link to comment Share on other sites More sharing options...
ssekazinga Posted October 13, 2012 Share Posted October 13, 2012 Hi Sweetman, Thanks for the help, though i had to revert back to 1.4 version seems V1.5 has alot of issues when upgrading its perfect if its a fresh install. Hope prestashop finds a solution for the 1.4.x to 1.5.x upgrades otherwise we shall be left behind. cheers Link to comment Share on other sites More sharing options...
JerseyG Posted October 18, 2012 Author Share Posted October 18, 2012 Hi Benjamin I may have traced my problem but I will need to do some more testing to prove it. Another symptom I had was if you went to change an address you could only select Italy. I have been to Shipping> countries> and said no to Restrict countries. This has cleared my change address problem so I hope on my next trial upgrade the paypal module will work correctly assuming it also thought I was in Italy. Thanks G Link to comment Share on other sites More sharing options...
joecoolio66 Posted October 19, 2012 Share Posted October 19, 2012 Anyone know why after upgrading to 3.2.5 upon checkout its saying that no payment modules are installed? Link to comment Share on other sites More sharing options...
jkhelil Posted November 6, 2012 Share Posted November 6, 2012 Hi I have seen a lot of bug reports on PayPal but unsure if this is the same problem, however I have taken my error report, which I should have done before, and am now posting it to see if it helps find a solution. [28-Sep-2012 13:49:17] PHP Warning: touch(): Utime failed: No such file or directory in C:\inetpub\wwwroot\********\tools\smarty\sysplugins\smarty_internal_template.php on line 182 [28-Sep-2012 13:49:53] PHP Notice: Undefined variable: result in C:\inetpub\wwwroot\********\modules\paypal\api\paypal_connect.php on line 113 Thanks G Hi Did you find a workaround or a solution ? i am facing the same problem ? Link to comment Share on other sites More sharing options...
JerseyG Posted November 6, 2012 Author Share Posted November 6, 2012 Hi I returned back to V 1.4.9 but I think my problem was that in Localization Countries I had restrict countries set to yes. When I said no and saved other problems disappeared. Sorry I cannot be of much help G. Link to comment Share on other sites More sharing options...
jkhelil Posted November 7, 2012 Share Posted November 7, 2012 (edited) HI all Iam facing the same problem with paypal module (last version ) and prestasho 1.5.1 Notice: Undefined variable: tmp in C:\wamp\www\acjeans\modules\paypal\api\paypal_connect.php on line 118 FromThe admin interface of prestashop i could test that the connection is welle done with paypal , when using the save button of the configuration, it tells me that my configuration is good Please Help !!! Edited November 7, 2012 by jkhelil (see edit history) Link to comment Share on other sites More sharing options...
erotikat Posted November 13, 2012 Share Posted November 13, 2012 (edited) Hi, You can try to replace in paypal\api\paypal_connect.php on line 118 return $tmp ? $tmp : false; with return (!empty($tmp)) ? $tmp : false; Hope to help you Edited November 15, 2012 by erotikat (see edit history) Link to comment Share on other sites More sharing options...
steve_c Posted November 13, 2012 Share Posted November 13, 2012 Has anyone successfully managed to get the newest PayPal module working with an upgraded version of PrestaShop 1.5.2? If not I will stop my upgrade immediately as this is obviously a huge issue. Link to comment Share on other sites More sharing options...
JerseyG Posted November 20, 2012 Author Share Posted November 20, 2012 (edited) Hi I thought I would return to V1.5.2 but I am still receiving this error "We’re sorry, PayPal doesn't allow residents of United Kingdom to send purchases to Jersey". I have now stopped using PayPal now as I needed to stick with either the upgrade or PayPal. And I am just hoping for a resolution soon. G Hi Benjamin I may have found my problem but have no idea how to fix it. I believe you have tagged Jersey to the United States and not the United Kingdom. Can you give me some way of trying a fix? Thanks in advance G I have advanced somewhat.. I have changed the localisation from JE in 1.4.9 to JEY in 1.5.2 I no longer get "We’re sorry, PayPal doesn't allow residents of United Kingdom to send purchases to Jersey". This has now moved me on to another problem "Page not found" but I have overcome the main problem, the next one could be mine due to the changes i have made on the PayPal site G Edited November 20, 2012 by JerseyG (see edit history) Link to comment Share on other sites More sharing options...
JerseyG Posted November 20, 2012 Author Share Posted November 20, 2012 Hi I can confirm that changing the countries ISO to the 3 series has cleared that part of my PayPal problem, however I am now receiving this:- Any ideas? We are sorry, we are experiencing temporary difficulties. Please try again later. If this error occurred while making a payment, avoid duplicate payments by checking your Account Overview before resending a payment. For some browsers, this problem can be resolved by clearing or deleting cookies. Message 3005 Link to comment Share on other sites More sharing options...
steve_c Posted November 20, 2012 Share Posted November 20, 2012 Jersey are you using sandbox or live? There's another PayPal module available which seems popular. May want to give that a try. Link to comment Share on other sites More sharing options...
JerseyG Posted November 20, 2012 Author Share Posted November 20, 2012 Hi Steve Using it live, I have just reset the paypal module but it looks to clash with the COD module so I have to then reset the COD module. I will wait and test again but at least I have fixed my first problem, I am now changing all my ISO codes to the 3 letter code. What is the other module? Cheers Link to comment Share on other sites More sharing options...
Soapi Posted November 20, 2012 Share Posted November 20, 2012 My Paypal module doesn't give any errors. It just takes the customer back to the home page of my website :/ Link to comment Share on other sites More sharing options...
JerseyG Posted November 21, 2012 Author Share Posted November 21, 2012 Hi All I am going to mark this topic as solved as changing the ISO codes to 3 digits solved the problem I logged G Link to comment Share on other sites More sharing options...
felicee Posted November 28, 2012 Share Posted November 28, 2012 Hi, my prestashop version is 1.5.0.17. Paypal module version: 3.3 This is what comes out after i select the payapl mode for payment Error occurred: Please refer to logs: PayPal response: -> « Back Link to comment Share on other sites More sharing options...
1sweetman Posted November 28, 2012 Share Posted November 28, 2012 Hi Felicee....not sure if you on Linux or not but I traced my issue back to SELINUX....I changed it to permissive from enforcing and it worked fine.....then researched the correct SELINUX settings before putting it back to forcing Hope this helps Link to comment Share on other sites More sharing options...
iYann Posted December 12, 2012 Share Posted December 12, 2012 Solved for me (1.5.2.0, Paypal 3.4, error code 3005): I had a few inactive country codes CA (Canada). 1.5 does not accept duplicates. Therefore I had renamed the active one to CAN. Paypal must have not liked. Went in database to remove unused IDs in ps_country, and renamed country code canada "CA". Now works ! Hope that helps Link to comment Share on other sites More sharing options...
ssekazinga Posted December 17, 2013 Share Posted December 17, 2013 For those reseiving the /' we're sorry paypal doesn't allow residents of brabrabra to ship out ....brabra" the paypal model source files under hooks - templates - standard edit: <input type="hidden" name="address_override" value="0" /> value to 0. Hope it works. Link to comment Share on other sites More sharing options...
amit.monash Posted February 23, 2015 Share Posted February 23, 2015 Hi, my prestashop version is 1.5.0.17. Paypal module version: 3.3 This is what comes out after i select the payapl mode for payment Error occurred: Please refer to logs: PayPal response: -> « Back Hi guys, SOLVED! Because there are so many posts, not sure if people got to solve this issue. I though I will share my solution. I just now solved the same issue by disabling PayPal module 3.2.5 and installing PayPal USA, Canada v1.3.8 Now when said that I have Prestashop 1.6.x I couldn't have figured that out until customers start complaining about the issue and there starts the thrill ride to discover the issue. I have seen some people talking about free versions of PayPal Europe and some changing the code behind. Changing the code doesn't sound like a good idea to me so I am glad I didn't have to do it. For me this one worked. I would recommend taking a database and Paypal module folder backup and then installing the new module which is available in Payment modules. Also disable the the old module (i.e. 3.2.5) which leaves an extra express checkout button lingering around to confuse your customers. However for me duplicate PayPal button was still visible on last page of 5 page checkout. even after deleting the module. I solved it using Jquery as follows: =================================== $( document ).ready(function() { if ($('#paypal-express-checkout').length > 0){ if ($('.payment_module').length > 0){ $('.payment_module').hide(); } } }); =================================== Copy the code above in notepad and save it as [payment-module-hide.js] or a better name if you can. Then upload this file into [/themes/default-bootstrap/js/autoload] folder. default-bootstrap being my theme for front end. Yours could be default if you haven't changed it. What this code does is, it looks for new PayPal USA module (paypal-express-checkout) and hides old module's code. Bear in mind the element with class (payment_module) appears twice; once in each module code. But is empty in new module. Hope that helps some one! Link to comment Share on other sites More sharing options...
Recommended Posts