WP Simple Pay Documentation

Documentation, Reference Materials, and Tutorials for WP Simple Pay

Tips & Tricks

Join our Newsletter

Please enable JavaScript in your browser to complete this form.
Get tips, tricks, and resources delivered directly to your mailbox.
WP Simple Pay
Save 50%!

How to Configure WP Rocket Settings

Are your payment forms not working correctly for logged out users, or intermittently, with the WP Rocket plugin? Follow the steps below to ensure WP Simple Pay functions as expected with the WP Rocket plugin active.

Cache Settings

Add Payment Form and Payment Confirmation Pages to Never Cache

Under the Advanced Rules menu option, you will want to add the URLs of your payment form pages and your payment confirmation pages to be excluded from caching.

wp simple pay wp rocket settings never cache

JavaScript Settings

Issue 1: Combine JavaScript and Minify JavaScript

In some cases, WP Simple Pay users run into issues because of the Combine JavaScript files option (found under the File Optimization tab).

wp simple pay wp rocket settings javascript

If forms are not working as expected, please try the following steps:

  • Exclude the page or post from JS optimization by unselecting the Minify/combine JS option in the page or post editor, and then clearing the cache (before retesting), OR
  • In WP Rocket, disable the Combine JavaScript files option, save settings, and then clearing the cache (before retesting)

Issue 2: Load JavaScript deferred

Loading JavaScript deferred can cause issues with WP Simple Pay payment forms. The following should be added to Excluded JavaScript Files to ensure payment forms work as expected:

/wp-content/plugins/wp-simple-pay-pro-3/(.*).js
js.stripe.com/v3/
wp simple pay wp rocket settings load javascript deferred

Clear All Caches and Optimizations

After the changes have been made, ensure that you clear all caches and optimizations, reload the payment pages, and try the payment form again.

Still have questions? We’re here to help!

Last Modified:

Start Accepting Payments Today

Start accepting one-time and recurring payments or donations on your WordPress website.