react-paystack icon indicating copy to clipboard operation
react-paystack copied to clipboard

Cannot load paystack inline script when using SharedArrayBuffer

Open temitayo-spinel opened this issue 3 years ago • 0 comments

I am using SharedArrayBuffer which requires me to set the following headers on my server:

"Cross-Origin-Opener-Policy": "same-origin"
"Cross-Origin-Embedder-Policy": "require-corp"

However it seems the "Cross-Origin-Embedder-Policy" header is preventing the paystack script from loading. I get an error that says: "net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep 200"

please is there any way I can work around this?

temitayo-spinel avatar May 17 '23 07:05 temitayo-spinel