Firefox is not opening popup window on paypal button click

Hakuna_matata
Contributor
Contributor

On the paypal button click the post request is sent to server and the server is returning the data . However the paypal popup window does not open . I have tested on chrome and IE works fine there. Sorry for bad english

 

paypal.Button.render({
env: 'sandbox',
commit: true,
payment: function() {
var CREATE_PAYMENT_URL = '{{Config::get('constants.ABSOLUTE_SITE_URL') }}/paypal-accesstoken.html';
return paypal.request.post(CREATE_PAYMENT_URL)
.then(function(data) {
return data.id;
});
},
onAuthorize: function(data, actions) {
return actions.redirect();
},
onCancel: function(data, actions) {
return actions.redirect();
},
onError: function(err) {
alert('Something went wrong. Please reload the page and try again.');
}
}, '#paypal-button');

 

Login to Me Too
2 REPLIES 2

Quandary
Advisor
Advisor

Did you find a solution ??

Login to Me Too

loint
Contributor
Contributor

I have the same issue. Did your issue resolved ?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.