WP Simple Pay Blog

Stripe Tutorials, Tips, and Resources for WordPress to Accept Payments

How to Add Cloudflare Turnstile to Stripe Forms in WordPress

Last updated on

Written By: author image Shahzad Saeed

Are your Stripe payment forms protected from fraudulent payments?

Enabling Cloudflare Turnstile on your Stripe forms is one of the best ways to protect your business from fraudulent payments.

In this article, we’ll show you how to enable Cloudflare Turnstile in WordPress, step by step.

Enable Cloudflare Turnstile on Payment Forms

Turnstile is a free CAPTCHA alternative provided by Cloudflare, a popular content delivery network service. Turnstile helps you stop fraudulent payments without bothering your visitors or having you worry about data privacy.

The best part is that it works even if you’re NOT a Cloudflare customer or sending traffic through the Cloudflare global network.

The easiest way to enable Turnstrile on your Stripe payment forms is with WP Simple Pay.

WP Simple Pay is the #1 Stripe payment plugin for WordPress. It now supports 3 different CAPTCHA services to protect your business from fraudulent payments.

  1. Google reCAPTCHA: It works invisibly on your website so you can fight spam bots without ever bothering your legitimate customers.
  2. hCaptcha: One of the best choices for users who want an anti-bot solution that protects users’ privacy.
  3. Cloudflare Turnstile: One of the best reCAPTCHA alternatives that focus on user privacy. Turnstile offers multiple CAPTCHA types: Managed, Non-interactive, and Invisible.

Step 1: Install WP Simple Pay on Your Site

To add Cloudflare Turnstile to your Stripe payment forms, you’ll need to install and activate WP Simple Pay on your site.

Remove the additional 3% fee! 

Most Stripe plugins charge an additional 3% fee for EVERY transaction
…not WP Simple Pay Pro!

Just go to the pricing page, pick a plan, and create a WP Simple Pay account. Then download the plugin from your account and install it on your site by uploading it.

For a detailed guide, check out how to install WP Simple Pay.

After activating the plugin, go ahead and connect your Stripe account to your site by following the prompts in our setup wizard.

After successfully connecting your Stripe account, you’ll see a success message that says Setup complete.

Now you can protect your website from fraudulent payments by integrating your form into Cloudflare Turnstile.

Step 2: Sign Up for Cloudflare Turnstile

Next up, let’s connect WP Simple Pay with Turnstile.

Cloudflare Turnstile is not compatible with overlay payment forms. Please use a different CAPTCHA solution to display your forms in an overlay.

To connect, navigate to WP Simple Pay » Settings and then under the General tab, click on Anti-Spam. Then, choose Cloudflare Turnstile and click on Sign Up for Cloudflare Turnstile (Free).

You’ll be prompted to register your site with Turnstile to enable the CAPTCHA.

On the Cloudflare Turnstile site, you can create an account and then add your site to Turnstile.

add your site to turnstile

Now specify the Site name, Domain and Widget Type, and then click the Create button.

Next, copy your Site Key and Secret Key from the Turnstile settings page and paste them on your Anti-spam settings on your WordPress dashboard. Then click the Save Changes button.

Step 3: Create a Payment Form on Your Site

Next up, let’s create a payment form on your site and start accepting payments. If the above steps are followed correctly, you’ll see Turnstile’s challenge on your Stripe payment forms.

If you haven’t created a payment form yet, go ahead and create a payment form by following this guide: how to create a Stripe payment form on your site.

There you have it!

We hope this article helped you learn how to add Cloudflare Turnstile to your Stripe payment forms in WordPress.

If you liked this article, you might also want to check out how to enable Google reCAPTCHA on your site.

What are you waiting for? Get started with WP Simple Pay today!

To read more articles like this, follow us on Twitter.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. We only recommend products that we believe will add value to our readers.

17 responses to “How to Add Cloudflare Turnstile to Stripe Forms in WordPress”

  1. Thank you for this very informative article; simply and clearly explained.

  2. Scott Michael Avatar
    Scott Michael

    Interesting. Thanks.

  3. Rohit Singla Avatar
    Rohit Singla

    Thanks for sharing that, it was really informative.

  4. Daniel Hartnett Avatar
    Daniel Hartnett

    I love the way that there are no monthly or transaction fees. Does the product have the option for an order bump or a 1 click ip sell?

  5. Elijah Meason Avatar
    Elijah Meason

    I’m going to be setting up payments on my site soon and I’m definitely leaning toward this service!

  6. David H. Lawrence XVII Avatar
    David H. Lawrence XVII

    I wish I had a use for this…and I’m a Cloudflare user!

  7. Aznan Jamil Avatar
    Aznan Jamil

    Wow, i never thought we can do this, Thanks for the article!

  8. Thank you for sharing that. That was quite helpful.

  9. Karen Agar Avatar
    Karen Agar

    Sounds like the way forward for our business.

  10. Christin Avatar
    Christin

    Definitely looking into this! Thanks 👌

  11. Claudia Avatar

    How cool is that!

  12. Thank you for the detailed guide on integrating Turnstile to Stripe forms.

  13. Manish Singh Avatar
    Manish Singh

    After roaming around Google and searching for a blog that really can help to grow my business regarding payment form this plugin and easy to understandable blog helped me a lot. I would recommend using it, if you are looking for then this blog is gonna help you out.

  14. Carolyn Avatar

    so wait, is this instead of using something like woocomerce? or is it something you add on?

  15. Hendrik Olivier Avatar
    Hendrik Olivier

    Protecting your business from fraudulent payments always a good idea, your solution does just that and with ease that’s awesome thanks!

  16. Bryan Stoudt Avatar
    Bryan Stoudt

    I wasn’t even aware of Turnstile although I use Cloudflare. Thanks for the helpful information.

  17. Very helpful information, thanks for posting!

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

WP Simple Pay
Save 50%!

SOCIAL

Let’s Connect

Please enable JavaScript in your browser to complete this form.
Get tips, tricks, and resources delivered directly to your mailbox.

Start Accepting Payments Today

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