cancel
Showing results for 
Search instead for 
Did you mean: 

paypal is not working on magento 2.3

paypal is not working on magento 2.3

Hi,

I'm working on a test site with Magento 2.3.3 and all the info on pay-pal is correct but the payment not been confirmed with pay-pal and no payment been made. the problem is only with live pay-pal not with sandbox. have to ask pay-pal to check but they say its not pay-pal problem but Magento.

you can see the problem at: https://www.loom.com/share/33c78b4c1be7463d96b7965a59edf71e

what can be the problem?

7 REPLIES 7

Re: paypal is not working on magento 2.3

Hello @decornmore 

 

Find 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.

 

Hope it helps.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: paypal is not working on magento 2.3

what this code change ? is it a Magento bug?

Re: paypal is not working on magento 2.3

Hello @decornmore again,

 

I have faced this issue 2-3 times while updating the Magento 2 stores and resolved it with the above the code and hopefully it will be a helpful solution to you too.

 

Thanks.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: paypal is not working on magento 2.3

ok will try it and update you.

Re: paypal is not working on magento 2.3

Try it didn't work.

Re: paypal is not working on magento 2.3

Hey

Did you solve the issue?

I have this issue too.

 

Please advise

Re: paypal is not working on magento 2.3

Hey

I have solved the issue

1) I have installed this patch: https://magento.com/tech-resources/download#download2353

2) I fill these details on the admin:

 

Hope it will work for you too

Screenshot_2020-02-26 Configuration Settings Stores Magento Admin.png