#ivanpabz
1 messages · Page 1 of 1 (latest)
hello! what does testing it on an external Stripe account mean - can you elaborate?
So I have these 2 stripe accounts. One is the main account where I uploaded it and the other I used to test it as if someone else is testing it. For now, since the app is not published, the only way to test externally is to have it via the invite link https://prnt.sc/GlhVag7qA7bw. That's how I test it externally. But the problem is that it throws the console error about Content-Security-Policy which is really weird as I already implemented and verified that it contains the needed response header https://prnt.sc/n4fgAASo1Qof.
Hi @errant sandal I'm taking over this thread
okay 🙂
The error says refused to connect to localhost, are you still in development?
Actually, I've done all the needed changes in the code. I've tried to use a live URL but the errors are still the same.
You might want to check your code and see if it's still using localhost.
Here's a screenshot using live url https://prnt.sc/P7usOibI3l5T
still the same error
https://stripe.com/docs/stripe-apps/reference/app-manifest#csprequest did you set the CSP in your app manifest?
I see. This is what I'm missing. I set the CSP on the backend response headers but not on the stripe app UI