react-paystack
react-paystack copied to clipboard
Cannot load paystack inline script when using SharedArrayBuffer
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?