Magento 2.3.5-p1 after installing The Content Security Policy issue
- By smartz
- 9 May 2020
- Magento 2
The Content Security Policy ‘font-src ‘self’ ‘unsafe-inline’; form-action secure.authorize.net test.authorize.net geostag.cardinalcommerce.com geo.cardinalcommerce.com 1eafstag.cardinalcommerce.com 1eaf.cardinalcommerce.com centinelapistag.cardinalcommerce.com centinelapi.cardinalcommerce.com ‘self’ ‘unsafe-inline’; frame-ancestors ‘self’ ‘unsafe-inline’; frame-src secure.authorize.net test.authorize.net geostag.cardinalcommerce.com geo.cardinalcommerce.com 1eafstag.cardinalcommerce.com 1eaf.cardinalcommerce.com centinelapistag.cardinalcommerce.com centinelapi.cardinalcommerce.com www.paypal.com www.sandbox.paypal.com
Solution:- Edit app/etc/config.php
From 'Magento_Csp ' => 1
to 'Magento_Csp ' => 0
disable the Magento_Csp module.
if you need any help please contact us. Smartz IT Solutions Team will more than happy to assist you