Content Security Policy blocks sending

mr-m1r0n
New Community Member

Hi guys! I need help. There is a paypal button on the site but it doesn't work. When I click on it, the console displays the error:

 

Refused to send form data to 'https://www.paypal.com/cgi-bin/webscr'  because it violates the following Content Security Policy directive: "form-action 'self' https: / /fearby.com:* https://fearby-com.exactdn.com:*  https://www.googletagmanager.com:*  https://www.google-analytics.com:*  ".


I added the following rule <meta http-equiv = "Content-Security-Policy" content = "form-action 'self' https://www.paypal.com/cgi-bin/webscr "> on the site, but it didn't help.

 

Maybe someone came across this problem and can help me?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.