beamer Posted January 1, 2024 Share Posted January 1, 2024 I have prestashop 1.6.1. I have updated the official Paypal module to v3.17.0-paypal, configured it with the API credentials and the message says successfully installed and ready to accept payments. At checkout the pay by PayPal option does not appear. There is also pay by bank transfer and pay by cheque, both of which appear. I have checked the module hooks and they look correct. The displayPayment hook shows the three payment methods Paypal, Bank transfer, and cheque. I can change the position of the bank transfer and cheque and this is reflected in the checkout screen but PayPal is not shown. The site is running PHP 7.1.33 Prior to the upgrade the site was functioning correctly. I am at a loss to fix this and the shop is now not functional any suggestions would be gratefully received. Graham Link to comment Share on other sites More sharing options...
Nickz Posted January 1, 2024 Share Posted January 1, 2024 On 1/1/2024 at 6:02 PM, beamer said: the official Paypal module to v3.17.0-paypal Expand have you checked if the official PP Moduke version works well with your PHP version? Link to comment Share on other sites More sharing options...
AddWeb Solution Posted January 2, 2024 Share Posted January 2, 2024 On 1/1/2024 at 6:02 PM, beamer said: I have updated the official Paypal module to v3.17.0-paypal, configured it with the API credentials and the message says successfully installed and ready to accept payments. Expand Hi, Some of the possible ways to debug: Make sure to clear the Prestashop cache. Try reinstalling the PayPal module. If the issue persists, consider rolling back to a previous version of the module that was working fine with your PrestaShop version until a solution is found. Changes in the module might have affected your theme's compatibility. Remember to backup your site before making any significant changes, and if possible, test changes on a staging environment before applying them to the live site. Link to comment Share on other sites More sharing options...
beamer Posted January 2, 2024 Author Share Posted January 2, 2024 On 1/1/2024 at 6:25 PM, Nickz said: have you checked if the official PP Moduke version works well with your PHP version? Expand Nick thanks for the response. I am currently running PHP 7.1.33 I have tried PHP 5.6.40 and that made no difference. I have not been able to find out which version of PHP you should run with the PayPal module v3.17.0-paypal. Graham Link to comment Share on other sites More sharing options...
beamer Posted January 2, 2024 Author Share Posted January 2, 2024 On 1/2/2024 at 4:52 AM, AddWeb Solution said: Hi, Some of the possible ways to debug: Make sure to clear the Prestashop cache. Try reinstalling the PayPal module. If the issue persists, consider rolling back to a previous version of the module that was working fine with your PrestaShop version until a solution is found. Changes in the module might have affected your theme's compatibility. Remember to backup your site before making any significant changes, and if possible, test changes on a staging environment before applying them to the live site. Expand Hi, many thanks for your response. I have tried clearing the cache. I uninstalled the PayPal module and reinstalled it, no success. I am using the default theme and just the core modules. I only accept orders from the UK the only currency selected is GB. I will try and see if I can roll back to a previous version of the module later today. Graham Link to comment Share on other sites More sharing options...
AddWeb Solution Posted January 2, 2024 Share Posted January 2, 2024 On 1/2/2024 at 9:24 AM, beamer said: I will try and see if I can roll back to a previous version of the module later today. Expand Cool, Let me know if it helps! Thanks! Link to comment Share on other sites More sharing options...
Nickz Posted January 2, 2024 Share Posted January 2, 2024 (edited) On 1/2/2024 at 9:18 AM, beamer said: I am currently running PHP 7.1.33 I have tried PHP 5.6.40 and that made no difference. I have not been able to find out which version of PHP you should run with the PayPal module v3.17.0-paypal. Expand If that PP module is newer PHP7.4 is closer to it. With Prestashop 1.6 you could move to Thirtybees using PHP 7.4. TB 1.3 I thing is suited best. Build it on localhost and test if your modules work on the new environment. Edited January 2, 2024 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
beamer Posted January 2, 2024 Author Share Posted January 2, 2024 On 1/2/2024 at 3:41 PM, Nickz said: If that PP module is newer PHP7.4 is closer to it. With Prestashop 1.6 you could move to Thirtybees using PHP 7.4. TB 1.3 I thing is suited best. Build it on localhost and test if your modules work on the new environment. Expand Thanks Nickz for the reply. I tried rolling back to an earlier version on my localhost development environment. When looking at the paypal module it said I need to update before I could configure it, I did that and then had the same problem as the live system with the payment option not appearing. If I run debug mode on my local environment I see many errors relating to PHP here are the last two. Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in C:\xampp7.4.3_old\htdocs\entries\classes\module\Module.php on line 290 Notice: Only variables should be passed by reference in C:\xampp7.4.3_old\htdocs\entries\modules\donationpaypal\donationpaypal.php on line 282 I am starting to think it is an incompatibility between the PHP version and the PayPal module. What is Thirtybees? Link to comment Share on other sites More sharing options...
Nickz Posted January 2, 2024 Share Posted January 2, 2024 thirtybees is a fork of the prestashop version 1.6.1.20 I believe to have read somewhere. Link to comment Share on other sites More sharing options...
beamer Posted January 12, 2024 Author Share Posted January 12, 2024 Folks, many thanks for your suggestions. Unfortunately, I have been unable to fix the problem. I suspect that it has something to do with the PayPal module not being compatible with the version of PHP or MySql that I am using. Rather than spend more time trying to sort out the issue I have decided to upgrade the site to the latest version of Prestashop, PHP and MySql. Anyway, thanks once again for your support. Graham 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