New-Era Posted April 18, 2024 Share Posted April 18, 2024 Hello, I am unable to configure sumup payment module on my website, i get the next error after validate the configuration : Attempted to call an undefined method named "jsonDecode" of class "Tools". [Symfony\Component\ErrorHandler\Error\UndefinedMethodError 0] with debug mode : Unknown error à la ligne 921 du fichier /home/admin/web/site/public_html/classes/Hook.php [16384] The hook "backOfficeHeader" is deprecated, please use "displayBackOfficeHeader" instead in module "sumuppaymentgateway". how can i fix this ? Sumup module for Prestashop https://addons.prestashop.com/en/payment-card-wallet/44630-sumup-payment.html I use latest Prestashop version 8.1.5 hosted on a Centos with Vestacp PHP 8.2.18 Thanks for your help, Best regards. Link to comment Share on other sites More sharing options...
Nickz Posted April 18, 2024 Share Posted April 18, 2024 9 minutes ago, New-Era said: I am unable to configure sumup payment module on my website, what does the sumup Developer say? Link to comment Share on other sites More sharing options...
New-Era Posted April 18, 2024 Author Share Posted April 18, 2024 I didn't asked them, i will open a ticket to check with them. 1 Link to comment Share on other sites More sharing options...
Daresh Posted April 18, 2024 Share Posted April 18, 2024 The module is not compatible with PrestaShop 8.1, jsonDecode method has been removed from the Tools class, you need to ask them for an update. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 19, 2024 Share Posted April 19, 2024 Hi, The module you are using is not compatible with PS8 and above versions as shown on their product page. Screenshot:- https://prnt.sc/tG8E7bsP1GJ8 The jsonDecode and jsonEncode functions of the Tools class have been deprecated in PS8. Kindly contact the developer of the module. Regards. Link to comment Share on other sites More sharing options...
New-Era Posted April 22, 2024 Author Share Posted April 22, 2024 Hello, Thanks you very much for your replies, i have contacted Sumup to fix the issue with PS8. Best regards. 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