I am facing a strange issue, when a logged customer wants to place an order with Paypal then it is showing an error in the console but with guest checkout, it is working perfectly.

I have checked the file "vendor/magento/module-paypal/view/frontend/web/js/view/payment/method-rendererpaypal-express-abstract.js" and found below code.

/** Redirect to paypal */
    continueToPayPal: function () {
        if (additionalValidators.validate()) {
            //update payment method information if additional data was changed
                function () {

            return false;

Can anyone please help me ?

If I comment "setPaymentMethodAction(this.messageContainer).done()" function then will it work and will not create any other issue ?

Magento version :- 2.3.4

enter image description here

  • I'm making the same mistake, were you able to fix it? did you by chance change your paypal email or in the sales section? @Parbat Singh Feb 28, 2023 at 9:12

1 Answer 1


I managed to fix this. Remove this.select Payment Method(); it was removed in later versions. I fixed this by editing set-payment-information-extended.js , I was using a onestepcheckout module which gave me this problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.