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
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Dynamic banners for Pay later are not displayed in REST APIs
- My form has recently stopped sending the quantity info direct to the paypal checkout page. in PayPal Payments Standard
- PayPal Card Fields render slowly in Sandbox Environment
- Venmo is not eligible - Unable to render Venmo button using SDK v5 in live mode in SDKs