Solved – PayPal Issue in Magento 2.3.3 Checkout
Recently upgraded to the latest Magento 2.3.3 version?
But are you facing the Paypal issue in Magento 2.3.3 checkout or order placement?
The upgraded store works fine with adding products to the cart, checkout, and placing the order but fails to send the order confirmation Email!
You get an exception like:
Try the below solution to get rid of this Paypal problem while checkout and order placement:
Solution for PayPal Issue in Magento 2.3.3 Checkout:
Find the below code in vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
define([ '../model/quote' ], function (quote) { 'use strict'; return function (paymentMethod) { if (paymentMethod) { paymentMethod.__disableTmpl = { title: true }; } quote.paymentMethod(paymentMethod); }; }); |
and replace it with:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
define([ '../model/quote' ], function (quote) { 'use strict'; return function (paymentMethod) { /*if (paymentMethod) { paymentMethod.__disableTmpl = { title: true }; }*/ quote.paymentMethod(paymentMethod); }; }); |
Compile the code.
That’s it. If you are also facing the Magento PayPal issue with base currency INR you can also have a solution for that particular error.
Also Read: How to Manage Custom Amount with PayPal in Magento 2.
Do let me know in the Comments section below if it helped you. Also, feel free to ask any doubts about the implementation of the solution!
Please share the post with the store owners and admins of the Magento 2.3.3 stores via social media.
Thanks!
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
3 Comments
Thanks for providing the solution. Can you please also let me know, why it fails to send the order confirmation Email? Due to the new Magento version or another reason?
Hello,
Thank you for your appreciation 🙂
Yes, the issue is due to the new Magento version.
Check more details at https://github.com/magento/magento2/issues/24986
Thanks.