Title: ReCAPTCHA error in code?
Last modified: July 25, 2021

---

# ReCAPTCHA error in code?

 *  Resolved [blogzilla](https://wordpress.org/support/users/zkotito/)
 * (@zkotito)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/)
 * Hi,
 * Since my last post about Recaptcha, I was not able to make it work.
    Today I’ve
   tried something else:
 * I’ve changed the code and it works:
    before it was : $recaptcha->score >= 0.5
   my after my edit it is: $recaptcha->score <= 0.01
 * I’ve changed the value and the “>=”.
 * I think I’ll leave this like that because now it works !
    but can you explain
   why I had to change “>=” to “<=” ? Error in the code of error from my side?
 * thanks

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [blogzilla](https://wordpress.org/support/users/zkotito/)
 * (@zkotito)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14717909)
 * I’ll also add, that the translation in FR doesn’t work at 1 point:
 * > $html = __( ‘Ce site est protégé par reCAPTCHA. La [politique de confidentialité](https://policies.google.com/privacy)
   > et les [conditions d’utilisations](https://policies.google.com/terms) de Google
   > sont en vigueur.’, ‘contact-form-block’ );
 * wp-content/plugins/contact-form-block/classes/addons/recaptcha_v3.php line 17
 * I had to change by myself the text in order to translate.
    Everywhere else, the
   automatic translation works well.
 * thanks
 *  [devenirgris](https://wordpress.org/support/users/devenirgris/)
 * (@devenirgris)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14720990)
 * Hi Jordy,
    I have just been testing your contact from app for wordpress and am
   also having trouble getting the recaptcha to work. Have re-setup the google keys
   and am fairly sure that it is set correctly but on testing it doesn´t allow the
   comment… Have you any ideas? Thanks in advance, Mark PS sample page: [https://devenirgris.com/2021/07/28/chapter-6-four-interesting-replacement-smartphones/](https://devenirgris.com/2021/07/28/chapter-6-four-interesting-replacement-smartphones/)
 *  Thread Starter [blogzilla](https://wordpress.org/support/users/zkotito/)
 * (@zkotito)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14721121)
 * in wp-content/plugins/contact-form-block/classes/addons/recaptcha_v3.php
    if 
   you replace $recaptcha->score >= 0.5 by $recaptcha->score <= 0.5 it should work.
    -  This reply was modified 4 years, 10 months ago by [blogzilla](https://wordpress.org/support/users/zkotito/).
 *  [devenirgris](https://wordpress.org/support/users/devenirgris/)
 * (@devenirgris)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14721902)
 * Blogzilla, thanks for the reply, I´ll give that a go! Best regards,
 *  [devenirgris](https://wordpress.org/support/users/devenirgris/)
 * (@devenirgris)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14721913)
 * Blogzilla,
    many thanks, now works perfectly 🙂 merci beaucoup, MDW
 *  [devenirgris](https://wordpress.org/support/users/devenirgris/)
 * (@devenirgris)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14721918)
 * Grrr, Jordy, now it sends me the comment by mail but doesn’t appear on the dashboard/
   comments…. ?
    I shall go make some tea and think about it…. regards,
 *  Thread Starter [blogzilla](https://wordpress.org/support/users/zkotito/)
 * (@zkotito)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14722026)
 * Hi devenirgris,
 * The contact form only send the email to the email adresse in the settings.
    I
   think it is normal that you do not find anything in the dashboard/comment.
 * Maybe I’m wrong, but I think it is how it should work.
 * If you want store the comment in a “table”, I would use ACF Pro and then code
   a little something in order to store the message in a custom post type.
 * On the link below, instead of create a .txt file, you could add a code in orer
   to store the message in a custom post type.
    [https://meowapps.com/contact-form-block-faq-customization/#Do_something_after_the_email_has_been_sent](https://meowapps.com/contact-form-block-faq-customization/#Do_something_after_the_email_has_been_sent)
 * Bonne journée 🙂
 *  [devenirgris](https://wordpress.org/support/users/devenirgris/)
 * (@devenirgris)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14722031)
 * 🙂 now it all becomes clear… 🙂 thanks and bonne journée too 🙂
    regards, MDW

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘ReCAPTCHA error in code?’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-block/assets/icon-256x256.png?rev=2548148)
 * [Contact Form Block](https://wordpress.org/plugins/contact-form-block/)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-block/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-block/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [devenirgris](https://wordpress.org/support/users/devenirgris/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/recaptcha-error-in-code/#post-14722031)
 * Status: resolved