Firefox is not opening popup window on paypal button click
Hakuna_matata
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-16-2017
09:59 PM
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
Quandary
Advisor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-03-2017
03:18 PM
loint
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec-07-2017
07:33 PM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- PayPal Checkout golden buttons opens checkout window with different options in PayPal Upgrade Community
- JS SDK error with Safari 17.2 in SDKs
- paypal support chat window does not work in firefox browser in PayPal Payments Standard
- Blank page when loading Developer API or Sandbox in Sandbox Environment
- Checkout buttons appear twice and popups close as soon as they appear (ReactJS) in PayPal Payments Standard