-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jon Waldstein edited this page Oct 29, 2024
·
23 revisions
Demo Video
Plugin Setup Video https://www.loom.com/share/8c776b55d9374e9095ecb18bf8633fea?sid=7a54d3e6-0d79-4239-8d66-40493481cee5
Initial Demo during Development https://www.loom.com/share/1e910e46a9fd4c189a2a3bb26d1056bd?sid=5590171a-bd97-41c9-ba65-654e57f95f1e
(Generated 10/29/24)
- Log in to your Cloudflare dashboard and select your account. (don't have one? that's okay its free, so go sign up!)
- Go to Turnstile and create a new Turnstile widget.
- Copy the site key and the secret key to use in the GiveWP settings.

Settings

Now, create a v3 form and you should see the widget before the submit button (unless it's in invisible mode)

Alternatively, you can turn use programmatic settings:
add_filter('give_cloudflare_turnstile_enabled', '__return_true');
Replace the following API keys with your Cloudflare Turnstile Site Key and Secret Key to add in wp-config.php
:
(The current values are for testing purposes only.)
You can also test out test keys: https://developers.cloudflare.com/turnstile/troubleshooting/testing/
define('GIVE_TURNSTILE_SITE_KEY', '0x4AAAAAAAkKVAClSfWgKKSy');
define('GIVE_TURNSTILE_SECRET_KEY', '0x4AAAAAAAkKVKxbDHB4JJNJy-Laa1brdLM');