Error: "A boolean is being passed as a fourth parameter to window.open"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The two samples, server and client, found in https://developer.paypal.com/demo/checkout end up in an exception saying:
"A boolean is being passed as a fourth parameter to window.open. This is not used and may cause an exception in a future release."
And two warnings:
1. Indicate whether a cookie is intended to be set in a cross-site context by specifying its SameSite attribute
2. Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute
Is there any workaround?
Steps to reproduce
1. copy the source found in https://developer.paypal.com/demo/checkout/#/pattern/client
2. paste it to a text file and save it as HTML
3. set a proper ClientId in the source, i.e. https://www.paypal.com/sdk/js?client-id=PUT_YOUR_CLIENT_ID_HERE¤cy=USD
4. open the HTML file with a browser and click the button
- Labels:
-
Express Checkout
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- Locale in 3D Secure in REST APIs
- Unable to Retrieve Plan ID Related to a Subscription in REST APIs
- rest api > list plan > does query parameter plan_ids exist? in REST APIs
- Update subscription card in REST APIs