An error occurred after the customer paid with PayPal (Service Unavailable)

TypeError: Tygh\Addons\Stripe\HookHandlers\CheckoutHookHandler::onOrderPlacementRoutines(): Argument #2 ($force_notification) must be of type array, bool given in /app/addons/stripe/src/HookHandlers/CheckoutHookHandler.php:67 Stack trace: #0 [internal function]: Tygh\Addons\Stripe\HookHandlers\CheckoutHookHandler->onOrderPlacementRoutines() #1 app/Tygh/Addons/Loader.php(144): call_user_func_array() #2 app/functions/fn.control.php(123): Tygh\Addons\Loader->Tygh\Addons{closure}() #3 app/functions/fn.cart.php(6358): fn_set_hook() #4 app/addons/paypal/paypal_express.functions.php(79): fn_order_placement_routines() #5 app/addons/paypal/payments/paypal_express.php(57): fn_paypal_complete_checkout() #6 app/controllers/common/payment_notification.php(40): include(‘…’) #7 app/functions/fn.control.php(722): include(‘…’) #8 app/functions/fn.control.php(458): fn_run_controller() #9 index.php(19): fn_dispatch() #10 {main}

  • List item

Customers are afraid when they see the post-payment page.
What steps should I take to solve this problem?
Thank you.

This was already fixed in 4.17.2.

Please apply the attached .diff in order to fix it in your installation.
b0a77dace64527365915f2548cdcc3533652e33a.diff (1.7 KB)

1 Like

Thank you for your support