Jump to content

Edit History

Simply123

Simply123

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

Simply123

Simply123

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

×
×
  • Create New...