Skip to content
Jon Waldstein edited this page Oct 29, 2024 · 23 revisions

Overview

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

Testing

Initial Zip

(Generated 10/29/24)

Cloudflare instructions

  1. Log in to your Cloudflare dashboard and select your account. (don't have one? that's okay its free, so go sign up!)
  2. Go to Turnstile and create a new Turnstile widget.
  3. Copy the site key and the secret key to use in the GiveWP settings.
Screenshot 2024-10-02 at 4 46 46 PM

GiveWP Setup instructions

Settings

Screenshot 2024-10-23 at 4 02 21 PM

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

Screenshot 2024-09-20 at 11 02 04 AM

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');
Clone this wiki locally