Payments fields are disappearing | WordPress.org

[ad_1]

Hi, 

I added this code into the htaccess file for the security header and the payments fields are disappearing in the checkout page. If I remove the code, the checkout page is working fine.

Header always set Strict-Transport-Security: “max-age=63072000; includeSubDomains; preload”
Header always set X-Content-Type-Options “nosniff”
Header set Cross-Origin-Embedder-Policy “require-corp”
Header set Cross-Origin-Opener-Policy “same-origin”
Header set Cross-Origin-Resource-Policy “same-origin”
Header always set Referrer-Policy: “no-referrer-when-downgrade”
Header always set X-Frame-Options “sameorigin”
Header always set Content-Security-Policy “upgrade-insecure-requests”
Header always set Permissions-Policy “geolocation=(), gyroscope=(), magnetometer=()”

Do you know how I can adjust this code to be able to use Stripe too? To make an exception for Stripe. 

Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer