beamer Posted January 1 Share Posted January 1 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 Share Posted January 1 1 hour ago, beamer said: the official Paypal module to v3.17.0-paypal 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 Share Posted January 2 10 hours ago, 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. 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 Author Share Posted January 2 14 hours ago, Nickz said: have you checked if the official PP Moduke version works well with your PHP version? 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 Author Share Posted January 2 4 hours ago, 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. 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 Share Posted January 2 38 minutes ago, beamer said: I will try and see if I can roll back to a previous version of the module later today. Cool, Let me know if it helps! Thanks! Link to comment Share on other sites More sharing options...
Nickz Posted January 2 Share Posted January 2 (edited) 7 hours ago, 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. 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 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
beamer Posted January 2 Author Share Posted January 2 3 hours ago, 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. 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 Share Posted January 2 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 Author Share Posted January 12 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