Cloudflare Turnstile element in the Cornerstone Forms

Hi!

I am experiencing an issue with the native Turnstile element within Cornestone Forms.

Cloudflare Analytics shows quite a few Challenges Solved but 0 Siteverify requests (only my manual request was recorded in the analytics, see below). The form (Action: Send Email) submits successfully and sends the email, but it does not seem to trigger the server-side verification call to Cloudflare.

Everything is updated, I disabled the caching plugin too.

What I looked into:

  • cf-turnstile-response is present upon submission.
  • a manual wp_remote_post test from this server to the Cloudflare siteverify endpoint, it was successful.
  • both site/secret keys are correct

You can see an example form here: https://tavia.cz/kontakt-test/

Thank you for your help!

Hello @Kaja_Kadlecova,

Thanks for writing in! This is what I am seeing:

If you are testing the form while logged in, the Turnstile will be disabled.

Best Regards.

Hi @ruenel, thank you for the reply!

I also tested it when I was not logged in (also other browsers, etc.) and it is not working. By that, I mean, that the frontend is working well but there seems to be no server-side verification.
We had the same issue with reCaptcha when using the Cornestone Forms integration.

Thank you!

Hello @Kaja_Kadlecova,

I am another staff member. I tested it on my end, and it is working fine on my end from the frontend. Yes, some of the server-side verification doesn’t work. Please ensure that the server-side verification is properly configured.

Thanks

Hi @prakash_s,

I have already confirmed that my server can successfully communicate with Cloudflare via a manual wp_remote_post test. However, the native Cornerstone Turnstile integration is failing to trigger this request during form submission. Can you please check my original (first) post?

Thank you!

Hey @Kaja_Kadlecova,

We would be happy to double check your site if we can log in. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

Thanks!

I am sharing the login to a different site. It has the same setup and same issues.

Hey @Kaja_Kadlecova,

I see some code in the plugin that is possibly the cause of the issue so I’m queing this case for further investigation by our development team.

Please note that this does not guarantee an immediate solution.

Please stay tuned.

Thanks.

Thanks, @christian!

Looking forward to hearing from you.

Thank you.