Issue with WooCommerce official Stripe gateway plugin
-
We recently started having issues with Cookiebot on WordPress + WooCommerce + the official Stripe gateway plugin.
Because cookiebot cannot scan for a “full/real” checkout page, it is missing some important cookies and therefore blocking the payment process.
What happens is that the stripe payment fields are blocked (and the Stripe js too) and customers can’t input their card information to proceed with payment.
The only way to make the Stripe input fields work inside the checkout is by always allowing ALL cookies or by allowing the Statistics tab (i dont know why since those cookies should only refer to wp or jetpack, not stripe or woocommerce).
We added in the WordPress Cookiebot settings several folders to exclude from blocking, but no luck.
wp-content/plugins/woocommerce
wp-content/plugins/woocommerce-gateway-stripe
wp-includes/js
https://js.stripe.com/v3So, not only Stripe cookies are missing from Cookiebot altogether (because it can’t scan a real checkout page unless it adds a product) but it’s also blocking necessary scripts.
Any solution? Can we add in bulk from Cookiebot dashboard known Stripe cookies at least?
And how do we prevent Cookiebot from blocking Stripe related js from the site (since the exclusion isn’t working)? we will NOT be editing woocommerce or the stripe plugin files, but we can edit theme files.
We noticed that by setting the “Cookie declaration script tag” to defer or none instead of async, Stripe is working, but it feels like an incomplete solution.
Thank you
PS = yes i have opened a ticket too on cookiebot’s zendesk
- The topic ‘Issue with WooCommerce official Stripe gateway plugin’ is closed to new replies.