We cant initialize express checkout

We cant initialize express checkout

I go through the payment checkout procedure and get to the PayPal website and I sign in with an account click “Pay” and PayPal takes me back to the Magento shopping cart. after selecting the order button i get an error “Unable to initialize Express Checkout.” What does that mean and how i can fix this?

Thank you for your help!

Log in or sign up to leave a comment

We cant initialize express checkout

level 1

The good thing about PayPal is that they have a great phone support line. You should be able to find their web development support number either directly in the System Configuration setup for your PayPal payment type, or on one of the websites they link to therein. I'd give that a shot because they've seen everything and can usually diagnose issues quite quickly.

I upgraded M2.3 to 2.3.1 on our test site using CLI

Everything on the store is working as should be with the exception that we cannot use PayPal checkout methods. 

If we use in-context express checkout, it returns something went wrong.

If we use express checkout without in-context or web payments standard it goes back to cart page and says express checkout would not start. 

I have turned on debug and checked logs but nothing shows regarding this problem?

I have double, and triple checked all settings, even turning on/off SSL verification and still no luck. Right now this is the only issue preventing us from upgrading to 2.3.1 on live.

magento2paypal-express

Paypal Express checkout is not working for guest checkout.
guest checkout is enabled. i have checked error logs and found below issue.

Let me know if any one have a solution for this.

main.CRITICAL: Exception message: We can't initialize Express Checkout.
Trace: #0 /vendor/magento/module-paypal/Controller/Express/AbstractExpress/Review.php(21): Magento\Paypal\Controller\Express\AbstractExpress->_initCheckout()
#1 /generated/code/Magento/Paypal/Controller/Express/Review/Interceptor.php(24): Magento\Paypal\Controller\Express\AbstractExpress\Review->execute()
#2 /vendor/magento/framework/App/Action/Action.php(107): Magento\Paypal\Controller\Express\Review\Interceptor->execute()
#3 /vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#4 /vendor/magento/framework/Interception/Interceptor.php(138): Magento\Paypal\Controller\Express\Review\Interceptor->___callParent('dispatch', Array)
#5 /vendor/magento/framework/Interception/Interceptor.php(153): Magento\Paypal\Controller\Express\Review\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#6 /generated/code/Magento/Paypal/Controller/Express/Review/Interceptor.php(104): Magento\Paypal\Controller\Express\Review\Interceptor->___callPlugins('dispatch', Array, Array)
#7 /vendor/magento/framework/App/FrontController.php(55): Magento\Paypal\Controller\Express\Review\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#8 /vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#9 /vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#10 vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#11 /vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#12 /vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(73): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#13 /vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#14 /vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#15 /generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL)
#16 /vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#17 /generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#18 /vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch()
#19 /index.php(46): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#20 {main} [] []

Related Topic