how can I have Cross-Origin-Resource-Policy: cross-origin header on my paypal script
aram314
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Nov-15-2023
01:00 AM
I integrated paypal on my web page using adyen, paypal script was loading and works fine, now I want to enable the isolation for my web page by adding these two headers to my main doc
'Cross-Origin-Embedder-Policy': 'require-corp'
'Cross-Origin-Opener-Policy': 'same-origin'
After this change paypal script is blocked because of cors, whenever I add Cross-Origin-Resource-Policy: cross-origin header (in chrome dev tools) to the paypal script it loads again and works. How can I solve this issue?
0 REPLIES 0
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
- Second no-code PayPal button not showing on Wordpress website. in SDKs
- Connect To PayPal script failed to show the button on recent websites built. in PayPal Payments Standard
- Creating a custom payment with the Buttons SDK and having a 400 error while getting card-fields in REST APIs
- Simple easy Checkout integration for me website. in PayPal Payments Standard
- I need help with Sandbox Testing for my website in PayPal Payments Standard