cancel
Showing results for 
Search instead for 
Did you mean: 

Content Security Policy blocks sending

Highlighted
New Community Member

Content Security Policy blocks sending

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?