Jump to content

Prestashop checkout 8.4.0 Errors


Recommended Posts

Hi all

i've had some issues with the 8.4.0 version before, so i downgraded back to the version again.


I've tested and i can make the payment without a problem. but I've also seen this error on my server error_log several times.


PHP Fatal error:  Uncaught Error: Call to a member function getPaymentSource() on null in /home/XXX/public_html/modules/ps_checkout/src/PayPal/Order/PaypalOrderDataProvider.php:157

Stack trace:
#0 /home/XXX/public_html/modules/ps_checkout/src/PayPal/Order/PayPalOrderSummaryView.php(112): PrestaShop\Module\PrestashopCheckout\PayPal\Order\PaypalOrderDataProvider->getPaymentTokenIdentifier()
#1 /home/XXX/public_html/modules/ps_checkout/ps_checkout.php(1753): PrestaShop\Module\PrestashopCheckout\PayPal\Order\PayPalOrderSummaryView->getTemplateVars()
#2 /home/XXX/public_html/classes/Hook.php(1043): Ps_checkout->hookDisplayOrderDetail(Array)
#3 /home/XXX/public_html/classes/Hook.php(418): HookCore::coreCallHook(Object(Ps_checkout), 'hookDisplayOrde...', Array)
#4 /home/XXX/public_html/classes/Hook.php(981): HookCore::callHookOn(Object(Ps_checkout), 'displayOrderDet...', Array)
#5 /home/XXX/public_html/controllers/front/OrderDetailController.php(205): HookCore::exec('displayOrderDet...', Array)
#6 / in /home/XXX/public_html/modules/ps_checkout/src/PayPal/Order/PaypalOrderDataProvider.php on line 157


has anyone else had this problem?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...