Google Chrome used to render the PayPal button - now it doesn't. Works in FF and IE though.
SambraveTheWise
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Sep-01-2017
02:25 PM
As of a day or two ago, the PayPal button was rendering fine on the sites that I have it on. I found out today that it's now not displaying in Chrome (but it's working in Firefox and IE).
I've tested the following code (see fiddle: https://jsfiddle.net/SambraveTheWise/3vtrtrys/4/) in all three browsers, and it doesn't render anything in Chrome:
<script src="https://www.paypalobjects.com/api/checkout.js"></script> <script> paypal.Button.render({ env: 'sandbox', payment: function(resolve, reject) { paypal.request.post('') .then(function(data) { resolve(data); }) .catch(function(err) { reject(err); }); }, onAuthorize: function(data, actions) { }, onError: function(err) { }, style: { size: 'medium', shape: 'rect', color: 'blue' }, }, '#paypal-button'); </script> <div id="paypal-button"></div>
Is this an issue on PayPal's side?
2 REPLIES 2
shall2724
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-03-2017
09:55 AM
I have experienced the same issue. Paypal express button does not render in Chrome or Safari. It works just fine in MS Edge and Firefox.
SambraveTheWise
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep-06-2017
09:27 AM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.