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
- Can't Save PayPal for purchase later with the Javascript SDK, unable to pass setup token in SDKs
- Why am I not seeing HTTP responses for IPN? in Sandbox Environment
- Can i create subscription and plans directly in JavaScript on the page ? in PayPal Payments Standard
- Order capture started to return 403 after account type was changed from personal to business in Sandbox Environment
- Invalid 'custom' parameter in PayPal Reporting