How to Improve Site Performance when using Stripe in WooCommerce

Originally published at: How to Improve Site Performance when using Stripe in WooCommerce - MainWP WordPress Management

The WooCommerce Stripe Gateway is a widely used plugin for adding Stripe integration to your WooCommerce store. A recent release in version 5.7.0 of the Stripe plugin would cause a number of Stripe-related assets requests and external Stripe requests to load on single product pages and cart pages on your site. This would cause product…

3 Likes

Hi Sebastian,

Yes it is a real bummer that Stripe are loading so many scripts on every page of our website now. I count 5 JS files in total! The quesiton is, if we unload them from all our pages except for where they are used (Checkout, Cart and their rest API URL) does this invalidate their fraud detection system? How do you deal with that?

It is a real pain I find as their scripts should not be loaded on every page for fraud detection. Anyhow, your opinion would be appreicated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.