• Resolved sergeyf1

    (@sergeyf1)


    Hello,

    When using Simple Cloudflare Turnstile 1.29.0 plugin (latest version) together with Forminator 1.39.1 plugin (also latest version) forms are not sent, although Cloudflare validation of these forms has been successfully passed – see screenshot (https://i.imgur.com/B8G1om9.png).

    Simple Cloudflare Turnstile settings are correct and Cloudflare API is also successfully configured (see screenshot – https://i.imgur.com/9fXA4u1.png). Forminator forms whose IDs are added to the exception in the Simple Cloudflare Turnstile plugin have no problems with submission, as these forms have Cloudflare disabled.

    What could be the problem, how to fix it?

    I would appreciate your reply and help.
    Thank you!

    Note:
    I also contacted the author of the Simple Cloudflare Turnstile plugin via the forum regarding this issue

    Additional information

    PHP 7.4.33
    WordPress 6.6.2
    Kadence theme 1.2.16
    Simple Cloudflare Turnstile 1.29.0
    Forminator 1.39.1
    There are a few other plugins on the site, but disabling/removing them does not fix the above problem.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @sergeyf1

    An update here.

    We checked the error, and the fix would require be done by the 3rd party plugin

    Simple Cloudflare Turnstile use forminator filter forminator_custom_form_submit_errors and checks the captcha through this function cfturnstile_check (/wp-content/plugins/simple-cloudflare-turnstile/inc/integrations/forms/forminator.php)

    This filter works with all forms login/registration/simple etc.

    When we use login form it uses wp_signon function to login the user which in turns calls the function wp_authenticate and there we have a filter authenticatewp_authenticate(), so when we enable WordPress Login form settings then it calls the same function cfturnstile_check in the authenticate filter function(/wp-content/plugins/simple-cloudflare-turnstile/inc/wordpress.php)

    Due to these two callings, we are getting two responses in forminator_custom_form_submit_errors function and it’s returning the error message using cfturnstile_failed_message function.

    That’s the reason if we exclude login form ID from the settings of Simple Cloudflare Turnstile plugin then all works fine. Our suggestion would be to suggest the plugin developers ignore the forminator login forms in the authenticate filter as they are doing for the edd login.

    We also have some requests to create a native Turnstile integration. We can’t give any ETA, but you can subscribe to our roadmap on https://wpmudev.com/roadmap/#dev-subscribe

    Best Regards
    Patrick Freitas

    Thread Starter sergeyf1

    (@sergeyf1)

    Hello Patrick,

    Thank you very much for your reply.

    I have updated the forum thread for the Simple Cloudflare Turnstile plugin and added more information, including my March 3 email (to Forminator) in which I described the scenarios causing the error, as well as your responses on the forum. Hopefully the plugin author can read everything and find a solution that fixes the problem.

    Here is a link to my post on the Simple Cloudflare Turnstile plugin forum
    https://www.ads-software.com/support/topic/forminator-forms-submission-error-when-using-simple-cloudflare-turnstile-1-29-0/#post-18350487

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @sergeyf1

    Thank you,

    I hope they can implement a fix soon.

    Best Regards
    Patrick Freitas

Viewing 3 replies - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.