#Srikanth - csp
1 messages · Page 1 of 1 (latest)
Hi there. You'll have to modify your CSP to allow that image to load. Here's an example: https://stackoverflow.com/questions/40360109/content-security-policy-img-src-self-data
yeah i tried whats given , its still not working
i am using Create-react-app for the frontend
What's the error given?
its still showing the same error even after i put the meta tag in my index.html file @calm socket
Can you share a screenshot of the error?
Also do you have a test page I can duplicate this on?
i am running this on localhost and i dont have permissions to share a live page . But i can share a screenshot
just hold on
you can see the error in the console
this happens when i press the subscribe button which calls the stripe.confirmpayment method @calm socket
Can you click on that src_123 link in that error line and see what it points to exactly?
so when i click on that , it takes me to my configured return_url
but the page does not load
Ah so it seems like a problem with your site then
this is what happens when i hover over it
any idea what could be the problem
Oh
Hm
Make sure you have these required directives: https://stripe.com/docs/security/guide#content-security-policy (within the stripe.js tab)