Simply123 Posted February 20, 2023 Share Posted February 20, 2023 (edited) Is it possible to receive some assistance with configuring a module please? When the module is disabled, cart functions correctly. When the module is enabled, cart doesn't load correctly and payment options don't show. With debug mode on, the error returned is: Notice: Trying to get property 'id_customer' of non-object in /home/xxxxx/public_html/modules/payfast/payfast.php on line 478 Fatal error: Uncaught Error: Call to a member function getOrderTotal() on null in /home/xxxxx/public_html/modules/payfast/payfast.php:483 Stack trace: #0 /home/xxxxx/public_html/modules/payfast/payfast.php(466): PayFast->getCardPaymentOption() #1 /home/xxxxx/public_html/classes/Hook.php(968): PayFast->hookPaymentOptions(Array) #2 /home/xxxxx/public_html/classes/Hook.php(407): HookCore::coreCallHook(Object(PayFast), 'hookPaymentOpti...', Array) #3 /home/xxxxx/public_html/classes/Hook.php(903): HookCore::callHookOn(Object(PayFast), 'paymentOptions', Array) #4 /home/xxxxx/public_html/src/Adapter/HookManager.php(81): HookCore::exec('paymentOptions', Array, NULL, true, true, false, NULL) #5 /home/xxxxxpublic_html/src/PrestaShopBundle/Service/Hook/HookFinder.php(70): PrestaShop\PrestaShop\Adapter\HookManager->exec('paymentOptions', Array, NULL, true) #6 /home/xxxxx/public_html/classes/checkout/PaymentOptionsFinder.php(56): PrestaShopBundle\Service\Hook\HookFinder->find() #7 /home/xxxxx/public_html/cl in /home/xxxxx/public_html/modules/payfast/payfast.php on line 483 Thank you Edited February 20, 2023 by Simply123 (see edit history) Link to comment Share on other sites More sharing options...
BRUGraphicDesign Posted May 26, 2023 Share Posted May 26, 2023 I am also having the same problem on a website I am working on, if anyone has any advice to fix this I would greatly appreciate it Link to comment Share on other sites More sharing options...
planetseb Posted June 21, 2023 Share Posted June 21, 2023 Good morning did you manage to solve this problem? THANKS Link to comment Share on other sites More sharing options...
Nickz Posted June 21, 2023 Share Posted June 21, 2023 On 2/20/2023 at 12:05 PM, Simply123 said: When the module is enabled, cart doesn't load correctly and payment options don't show. its helps knowing which modules are involved. Most likely you have one payment module too much active. 2 hours ago, planetseb said: did you manage to solve this problem? When having a problem be so kind and tell in detail what is happening, when did it start to occur, first install, running since, updated from and so on. Link to comment Share on other sites More sharing options...
BRUGraphicDesign Posted June 22, 2023 Share Posted June 22, 2023 yeah I did, the problem is the payfast module is old, like really really old (was last updated 2 to 3 years ago), you have to downgrade your prestashop installation to the prestashop 1.7.8.8 builds (originally had Prestashop 8 on the store) and that's the only way I could get it to work, hopefully Payfast will get their developers to update the module to be compatible with Prestashop 8 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