How to fix PayPal Magento 2.3.3 checkout issues

After upgrading your store to Magento 2.3.3, 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:
paypal issues in magento2.3.3

Try the below steps to get rid of this Paypal problem while checkout and order placement:

Get the below code in vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js

define([

    '../model/quote'

], function (quote) {

    'use strict';


    return function (paymentMethod) {

        if (paymentMethod) {

            paymentMethod.__disableTmpl = {

                title: true

            };

        }

        quote.paymentMethod(paymentMethod);

    };

});

and replace it with:

define([

    '../model/quote'

], function (quote) {

    'use strict';


    return function (paymentMethod) {

        /*if (paymentMethod) {

            paymentMethod.__disableTmpl = {

                title: true

            };

        }*/

        quote.paymentMethod(paymentMethod);

    };

});

Compile the code.

magento development

Last Update: December 19, 2019  

December 19, 2019   307   Nandini Ramachandran    Magento 2.3    
Total 0 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook
Twitter
INSTAGRAM
LinkedIn