how can I have Cross-Origin-Resource-Policy: cross-origin header on my paypal script

New Community Member

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?

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.