Title: Plugin Does Not Work With Cloudflare
Last modified: November 18, 2018

---

# Plugin Does Not Work With Cloudflare

 *  Resolved [flexserve](https://wordpress.org/support/users/flexserve/)
 * (@flexserve)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-cloudflare/)
 * Once we enabled Cloudflare:
    SecureSubmit plugin for Woocommerce takes away fields
   for credit card info and posts error.
 *     ```
       Uncaught TypeError: Cannot read property 'handler' of undefined
           at HTMLDocument.<anonymous> (securesubmit.js?ver=1.0:619)
           at p (rocket-loader.min.js:1)
           at t.simulateStateAfterDeferScriptsActivation (rocket-loader.min.js:1)
           at Object.callback (rocket-loader.min.js:1)
           at t.run (rocket-loader.min.js:1)
           at b (rocket-loader.min.js:1)
           at Object.callback (rocket-loader.min.js:1)
           at t.run (rocket-loader.min.js:1)
           at rocket-loader.min.js:1
           at HTMLScriptElement.<anonymous> (rocket-loader.min.js:1)
       ?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
       v @ ?v=2.0:6
       5?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-does-not-work-with-cloudflare%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [SecureSubmit](https://wordpress.org/support/users/markhagan/)
 * (@markhagan)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-cloudflare/#post-10927373)
 * Hi flexserve,
 * This is an issue we are aware of and have tried to remedy on our end. We followed
   the advice to add the data-cfasync=”false” line to our scripts but to no avail.
 * See this link for reference: [https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-my-script-s-in-Automatic-Mode-](https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-my-script-s-in-Automatic-Mode-)
 * So, as a quick fix, simply disable rocket loader to use our plugin along with
   cloudflare. If disabling rocket loader isn’t an option for you, there is an option
   to add page rules. See the aforementioned link to see how to do that.
 * Hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Plugin Does Not Work With Cloudflare’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-securesubmit-gateway/assets/icon-256x256.png?
   rev=3385858)
 * [Global Payments SecureSubmit Gateway](https://wordpress.org/plugins/woocommerce-securesubmit-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/reviews/)

## Tags

 * [fail](https://wordpress.org/support/topic-tag/fail/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 1 reply
 * 2 participants
 * Last reply from: [SecureSubmit](https://wordpress.org/support/users/markhagan/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-does-not-work-with-cloudflare/#post-10927373)
 * Status: resolved