Error with Permissions-Policy header: Unrecognized feature: ‘ch-ua-form-factor’ in Stripe button Google Pay

We recently found the solution to this problem. It is a common issue for Apple Pay and Google Pay integration with or without Stripe.

This is what our console says:

Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-form-factor'.

Some Firewalls use restrictions in the fullscreen Permissions-Policy.

To solve this console error, simply we have to delete this fullscreen rule in our Firewall or add these lines to our .htaccess file:

<IfModule mod_headers.c>

    Header always set Permissions-Policy "fullscreen=*;"

</IfModule>

To check all our header policies, we can use this API: https://api.hackertarget.com/httpheaders/?q=https://yourwebsite.com/

We have been solving some relative issues with our clients for our module InstantPay which includes Google Pay and Apple Pay in Prestashop. Check it out here: https://addons.prestashop.com/en/payment-card-wallet/90142-instantpay-pay-with-1-click-on-product-cart-page.html

Leave a Reply

Your email address will not be published. Required fields are marked *