#segalee
1 messages · Page 1 of 1 (latest)
Hi
It looks like you have custom CSP policy in your server that is blocking the API call. You need to update your policies.
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
@stray pawn I've updated the policies in the content_security_policy array. It still doesnt seem to work in my local machine
What updates you made ?
refer to these CSP directives:
https://stripe.com/docs/security/guide#content-security-policy
Ive added the correct url in connect-src
also tried including
"image-src": null,
"purpose": "Send data to example service...",
"frame-src": null,
"script-src": null
but it still fails
What CSP directives do you have?
"connect-src"
"image-src"
"purpose"
try:
connect-src 'self' https://api.stripe.com
Do you mean including the
'self' https://api.stripe.com
as part of the value for connect-src key?
yes try that.