Hello,
I am reaching out to support related to the setup/integration of reCaptcha in the custom login form.
Currently, after activating this plugin, when we try to log in using the custom login form we get this error.
“Error:?Google reCAPTCHA verification failed. The response parameter is invalid or malformed.”
Please advise how can this be resolved.
I may be stupid, but could you give a bit more explicit instructions?
I want to add it to my custom contact form made with PHP.
Do I create an add_action hook, and then add that action to the $list array?
Same with the verification code?
Hello
Since I find the reCaptcha v3 implementation of this plugin better than CF7, I want to integrate CF7 into this plugin. Can you help me with this integration?
Thank you!
]]>I have recaptcha v3 on contact form 7 and also this plugin for recaptcha v3 on the login page. Will this will run two lots of recaptcha code on the site?
Will this cause a conflict or will it be just fine?
Hello
One of my clients just wrote to me that people can’t log in, and I saw it’s a google captcha problem.
I have this same plugin installed on some other sites but it’s only on this one it doesn’t work, everything is updated.
This is a list of plugins used, all updated
add-search-to-menu
advanced-access-manager
advanced-custom-fields
annasta-woocommerce-product-filters
automatic-translator-addon-for-loco-translate
cmp-coming-soon-maintenance
code-profiler
complianz-gdpr-premium
complianz-terms-conditions
contact-form-7
debug-this
disable-blog
duplicate-post
easy-wp-smtp
elementor
elementor-pro
elementskit-lite
elex-woocommerce-dynamic-pricing-and-discounts
itm-products-shortcode
loco-translate
login-logout-menu
loginpress
mailchimp-for-wp
neve-pro-addon
perfect-woocommerce-brands
query-monitor
redis-cache
seo-by-rank-math
seo-by-rank-math-pro
simple-google-recaptcha
slider-carousel-shortcodes-wc-product
sparks-for-woocommerce
templates-patterns-collection
updraftplus
visibility-logic-elementor
webp-converter-for-media
webshipper-automated-shipping
woo-gutenberg-products-block
woo-pensopay
woo-product-attachment
woocommerce
woocommerce-pdf-invoices-packing-slips
woocommerce-pdf-ips-pro
woocustomizer
wp-rocket
wps-hide-login
wt-woocommerce-sequential-order-numbers
I would try to find the problem myself or change plugin, but I don’t have time to trouble shoot at the moment, so I’m leaving the bug report here.
I also have 2 redirects related to login, it used to work with them and this plugin haven’t been updated in 4 months, so I don’t think it’s the redirects, but here they are just in case. The first one redirects users to login if they are on the woocommerce myaccount page as guests, the second redirects users from register to a page with a contact form.
add_action( 'template_redirect', 'redirect_user_to_login_page' );
function redirect_user_to_login_page(){
// Make sure your checkout page slug is correct
if( is_page('min-konto') && !is_user_logged_in() ) {
// Make sure your login page slug is correct in below line
wp_redirect('/login/');
}
}
add_action( 'login_form_register', 'user_registration_login_init' );
function user_registration_login_init () {
if( ! is_user_logged_in() ) {
wp_redirect( '/anmod-om-bruger' );
exit;
}
}
]]>
I want to translate the “This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.” text with Loco Translate, but it’s not working. Do you know if it’s possible?
]]>reCAPTCHA works fine everywhere from login page to register, etc. The only place where it doesn’t is when logging in through the drop-down in the menu.
]]>The plugin “Amp for wordpress” says this plugin is incompactible with your plugin, is that something you could fix?
]]>Our form doesn’t have a checkbox saying “I’m not a robot” below it.
]]>It works with one domain name, but not for the others that use that same login page. I know this has to do with the registered key, but is there a plugin like this one that will support multiple domain names?
]]>For some reason, I’m getting an error trying to check the v2 box on my mobile browser, but it works just fine (same credentials) in the desktop browser.
Is anyone else having this issue?
Any ideas on how to fix it?
Thanks!
]]>Please add an option to change either the Texts or the Language. Although my Site is in German, the Text on the Login Screen appears as english. That would be great! ??
]]>Hi,
I have a newsletter sign up in the sidebar of my posts that uses CF7 which has Google Recaptcha enabled.
Is there a way to make this plugin work with this setup?
]]>Hello,a day or two ago Wordfence (WF) began flagging alerts on several sites; all are fully up to date.
Modified plugin file: wp-content/plugins/simple-google-recaptcha/simple-google-recaptcha.php
I notice on the SGR site that it was modified three days ago. Was there perhaps a new SGR release that did not bump the version?
The first flagges line is 133, the trailing comma in the modified line:
Original: Entity::BADGE_HIDE => new Entity(__(‘Hide reCAPTCHA v3 badge’, ‘simple-google-recaptcha’))
Modified: Entity::BADGE_HIDE => new Entity(__(‘Hide reCAPTCHA v3 badge’, ‘simple-google-recaptcha’)),
Another example is line 416:
Original: private function responseParse(string $response): array
Modified: private function recaptchaResponseParse(string $response)
Thanks in advance for the help. I will be glad to provide additional information if needed.
]]>I am updating a plugin that creates a custom frontend form (with a shortcode) and I’d like to include a reCaptcha in it. Can I use SGR to do this? If so how?
]]>Hello there.
Thanks for your great plugin.
In v 4.0 update you said:
Warning: I don’t recommend Google reCAPTCHA v2. You should enable v3 in plugin settings (requires different keys)!
So what exactly happens if I enable recaptcha v3 and the plugin recognizes me with a low score, like 0.1 or 0.2? Does it shows a v2 after that? Or just blocks me from logging in?
]]>Hello,
I get this error message every time I try to access my WP as a user, with any type of user. I have also tried to uninstall the plugin and when installing any other, when I try to enter as a user it gives me a username and password error (with any other plugin). It seems to me that this plugin has left a code or something on the web. There is no way it will work anyway. Now I had to disable it because my students can’t access the web. Some solution please?
is it normal to have “protected by reCAPTCHA” at the bottom left corner of the screen in the WordPress login screen? using reCAPTCHA V3
https://pasteboard.co/10gh4CUG1NA1.jpg
I’ve been using your plugin for a year or 2, and I love it. But in the past couple of weeks, spam has started to get through into comments and reviews on my site. I just double-checked the reCaptcha keys and verified them. All my plugins and my WordPress installation are up-to-date. Do you have any suggestions for what’s going on and how to fix it? Thanks!
]]>Hello again, and thanks for your plugin, i had a few adjustments that if can be integrated will assist in hooking to your plugin where needed,
Simplify with a display function that handle both versions.
// display that handle both options
function display( ) {
$sgrDisplay = $this->getOptionValue(Entity::VERSION) === 3 ? 'v3Display' : 'v2Display';
$this->$sgrDisplay();
}
Add 2 apply_filters to enable hook for the required scripts and the verify
// Commented this since added generic display() function that already checkes the version
//$sgrDisplay = $this->getOptionValue(Entity::VERSION) === 3 ? 'v3Display' : 'v2Display';
// add filter to allow hook on other plugins
foreach ( apply_filters( 'sgr_recaptcha_display_list', $sgr_display_list ) as $sgr_display) {
add_action($sgr_display, [$this, 'enqueueScripts']);
add_action($sgr_display, [$this, 'display'] );
}
// add filter to allow hook on other plugins
foreach ( apply_filters( 'sgr_recaptcha_verify_list', $sgr_verify_list ) as $sgr_verify) {
add_action($sgr_verify, [$this, 'verify']);
}
]]>
Hi,
I am unable to login to the WP admin panel of my client’s website. For whatever reason I get the error message:
“Error: Google reCAPTCHA verification failed. Do you have JavaScript enabled?”
The error only goes away when I disable the Google reCAPTCHA plugin. I’m not sure why this happened, as we haven’t changed site and secret keys.
How can I fix this issue?
Thanks for your help and hard work,
~ K Wallin
Hi!
Can’t get the google reCAPTCHA verification to work. I’ve tried with WPforms plugin and with the contact-form 7 plugin, with neither of those I’ve been able to send contact forms emails with google reCAPTCHA activated. I’ve tried with v2 and v3, installing Simple Google reCAPTCHA plugin. Nothing works.
Please help.
I get this error when i try to login: Error: Google reCAPTCHA verification failed. Do you have JavaScript enabled?
The Google reCAPTCHA keys are correct.
]]>Is there any functions or probably a future feature that allows to select in which pages/folder should recaptcha be enable? There’s pages that doesn’t require recaptcha and PageSpeeds is always warning about that script.
]]>Hi,
I using this plugin a few days ago.
Here on www.remarpro.com plugin description write “You have choice between default v2 Checkbox and v3 (like invisible reCAPTCHA).” but v2 options not active in plugin.
reCaptcha enterprise have more options than v3
Simple Google reCAPTCHA will compatible with reCaptcha enterprise? when?
Im waiting for answer. Thx
Hello, I have this error on site in requested link.
The plugin is active and it seems to work but in chrome console i can see this error:
Uncaught ReferenceError: grecaptcha is not defined
How can I resolve it?
]]>We have installed the plugin (Version 3.9) and entered the site/secret keys, selected the box for “Disable on login form” and “Enable reCAPTCHA v3.”
There is no ReCaptcha displayed on the contact form.
Can someone please advise why the ReCaptcha is not displaying on the form page or what I have to do so that it will – or both? Thank you.
]]>Hi,
When activating the plugin via WP-CLI “wp plugin activate simple-google-recaptcha” the below warning is outputted and breaks “wp activate –all” completing
Warning: Some code is trying to do a URL redirect. Backtrace:
#0 /home/vagrant/code/bedrock/web/wp/wp-includes/class-wp-hook.php(309): WP_CLI\Utils\wp_redirect_handler('...')
#1 /home/vagrant/code/bedrock/web/wp/wp-includes/plugin.php(189): WP_Hook->apply_filters('...', Array)
#2 /home/vagrant/code/bedrock/web/wp/wp-includes/pluggable.php(1316): apply_filters('...', '...', 302)
#3 /home/vagrant/code/bedrock/web/app/plugins/simple-google-recaptcha/simple-google-recaptcha.php(183): wp_redirect('...')
#4 /home/vagrant/code/bedrock/web/wp/wp-includes/class-wp-hook.php(309): SimpleGoogleRecaptcha->activation('...')
#5 /home/vagrant/code/bedrock/web/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#6 /home/vagrant/code/bedrock/web/wp/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#7 /home/vagrant/code/bedrock/web/wp/wp-admin/includes/plugin.php(716): do_action('...', '...', NULL)
#8 phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php(333): activate_plugin('...', '', NULL)
#9 [internal function]: Plugin_Command->activate(Array, Array)
#10 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func(Array, Array, Array)
#11 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array, Array)
#12 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func(Object(Closure), Array, Array)
#13 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(417): WP_CLI\Dispatcher\Subcommand->invoke(Array, Array, Array)
#14 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(440): WP_CLI\Runner->run_command(Array, Array)
#15 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): WP_CLI\Runner->run_command_and_exit()
#16 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#17 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process(Object(WP_CLI\Bootstrap\BootstrapState))
#18 phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#19 phar:///usr/local/bin/wp/php/boot-phar.php(11): include('...')
#20 /usr/local/bin/wp(4): include('...')
]]>
I have recently installed the plugin, and it is working fine on wp-login.php, but it isn’t showing on my login popup that uses wp_login_form() is it possible to make it work correctly?
]]>Recaptcha worked fine on WP Forms to validate a contact request however after exiting, the admin is unable to login to wp-admin. User name and password accepted, but “Error: Google reCAPTCHA verification failed. Do you have JavaScript enabled?” is returned. JS is enabled on each of the browsers.
Recreated same problem on secondary site. Was able to gain access to the control panel and delete the simple google recaptcha folder and able to login.
Would like to use the recaptcha to eliminate junk contact request but need to access wp-admin to modify site.
WP ver 5.9.2
WP Forms Lite Ver 1.7.3
Theme Twenty Seventeen Ver 2.9
Google recaptcha Ver 3.9
Php Ver 7.3.2