cancel
Showing results for 
Search instead for 
Did you mean: 

Firefox is not opening popup window on paypal button click

Options
Hakuna_matata
Contributor
Posted on

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');

 

2 REPLIES 2

Firefox is not opening popup window on paypal button click

Options
Quandary
Advisor

Did you find a solution ??

Firefox is not opening popup window on paypal button click

Options
loint
Contributor

I have the same issue. Did your issue resolved ?

Haven't Found your Answer?

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