Forums / All Other Contributions/Addons / Support Thread for Google reCAPTCHA plugin

Support Thread for Google reCAPTCHA plugin

Views: 177,451

Results 681 to 696 of 696
21 Sep 2025, 2:48 AM
#681
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Support Thread for Google reCAPTCHA plugin

torvista:

There are examples in the updated version on Github.

Torvista,

I have downloaded and installed your version and I get a blank page on the main index page"

Error code: 500 Internal Server Error

21 Sep 2025, 5:58 AM
#682
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Ok, I ended up remove the old files and now I got the website back up. I am using the CAPTCHA in Contact Us. I did everything and now its not displaying at all. What am I missing?

21 Sep 2025, 6:47 AM
#683
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Support Thread for Google reCAPTCHA plugin

> now I got the website back up

Do you mean you are uploading new files/modifications to your live website without testing them elsewhere first?

Are you using the current Zen Cart 2.1.0?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

21 Sep 2025, 1:00 PM
#684
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

torvista:

> now I got the website back up

Do you mean you are uploading new files/modifications to your live website without testing them elsewhere first?

Are you using the current Zen Cart 2.1.0?

Yes, I am using Zen Cart 2.1.0

21 Sep 2025, 2:17 PM
#685
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Ok, I did fix the problem. It was on the Google side. Now it is working.

7 Nov 2025, 5:31 AM
#686
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I am using 2.1.0 and have uploaded this plugin version 3.8. I am also using php 8.3 (not 8.4). The template is bootstrap.

I am receiving the key undefined message on the contact us page and believe the issue must be on the google side (not sure). I have a message which states:

"Incomplete

Finish setting up your key: Request scores
To fully protect your site or app, finish setting up your key. Your key is requesting tokens"

My challenge is when I continue it then gives me another message (on google key dashboard) that says:

Verify the reCAPTCHA token
Submit the generated response token to reCAPTCHA for verification. reCAPTCHA returns a risk score indicating the likelihood of a legitimate interaction.
Before proceeding, you must authenticate with reCAPTCHA. API requests to reCAPTCHA will fail until authentication steps are complete.

Can you tell me if the plugin anticipates the token verification and has all needed w/ regards to code or is there further code that needs to be added? Also, any insight as to how I can get this token verified on the google side would be great cause I am at a loss.

Thanks in advance for any input from others who have experienced this challenge.

7 Nov 2025, 2:39 PM
#687
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

chuckrey:

I am using 2.1.0 and have uploaded this plugin version 3.8. I am also using php 8.3 (not 8.4). The template is bootstrap.

I am receiving the key undefined message on the contact us page and believe the issue must be on the google side (not sure). I have a message which states:

"Incomplete

Finish setting up your key: Request scores
To fully protect your site or app, finish setting up your key. Your key is requesting tokens"

My challenge is when I continue it then gives me another message (on google key dashboard) that says:

Verify the reCAPTCHA token
Submit the generated response token to reCAPTCHA for verification. reCAPTCHA returns a risk score indicating the likelihood of a legitimate interaction.
Before proceeding, you must authenticate with reCAPTCHA. API requests to reCAPTCHA will fail until authentication steps are complete.

Can you tell me if the plugin anticipates the token verification and has all needed w/ regards to code or is there further code that needs to be added? Also, any insight as to how I can get this token verified on the google side would be great cause I am at a loss.

Thanks in advance for any input from others who have experienced this challenge.

Disregard. I over analyzed. My mistake was due to missing the keys in the $reCaptchaSiteKey = '';
$reCaptchaSecretKey = '';...
I misunderstood the keys would go just below the uncomment section and below the above mentioned.

20 Jan 2026, 4:46 PM
#688
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Support Thread for Google reCAPTCHA plugin

so went to set up a new site but cannot find anyway to set up the correct version. All of my old keys are listed as classic keys. I can only see one way to set up keys and there's no choices as to which kind. And they want me to upgrade any of those - no way to see both keys on any of those. Of course the dang website is totally different than the last time I looked at it. Am I just missing something or have they removed the ability to create keys for the older versions?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

20 Apr 2026, 11:59 AM
#689
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Support Thread for Google reCAPTCHA plugin

PHP 8.4 fix: includes/classes/observers/google/ReCaptcha/ReCaptcha.php line 84
change to
public function __construct($secret, ?RequestMethod $requestMethod = null)
(question mark before class on 2nd parameter)

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

26 Apr 2026, 8:54 PM
#690
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Support Thread for Google reCAPTCHA plugin

While a heads up is always appreciated, that was fixed months ago in the version I am maintaining on Github.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

6 Jun 2026, 4:25 PM
#691
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
408
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I have an issue with my site's contact us form page.

I have installed Google Captcha, and it all works fine apart from that on the main page i am unable to send any messages.
The error i get is Response not set.

I have no errors in my log file that relate to google captcha or contact us form.

The version of zencart that i am using is V1.5.8a and we have the bootstrap template.
PHP version is 7.4.33

Any help would be appreciated.

Thank you

8 Jun 2026, 5:04 PM
#692
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
732
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I am seeing this error come up in my ZenCart 2.2.2 install:

[05-Jun-2026 20:12:31 America/Los_Angeles] Request URI: /store/index.php?action=send&main_page=ask_a_question&pid=995, IP address: 152.39.130.149, Language id 1
#0 /includes/classes/observers/class.google_recaptcha.php(49): zen_debug_error_handler()
#1 /includes/classes/traits/NotifierManager.php(112): google_recaptcha->update()
#2 /includes/modules/pages/ask_a_question/header_php.php(83): base->notify()
#3 /index.php(40): require('/home/username/...')
--> PHP Warning: Undefined array key "NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK" in /includes/classes/observers/class.google_recaptcha.php on line 49.

  • Jeff
25 Jun 2026, 8:23 PM
#693
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Support Thread for Google reCAPTCHA plugin

Update to fix PHP 8.4 issue just submitted to fix this log:

PHP Deprecated: ReCaptcha\ReCaptcha::__construct(): Implicitly marking parameter $requestMethod as nullable is deprecated, the explicit nullable type must be used instead in /home/twistedq/public_html/includes/classes/observers/google/ReCaptcha/ReCaptcha.php on line 58

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

26 Jun 2026, 9:08 PM
#694
njcyx avatar

njcyx

Zen Follower

Join Date:
Apr 2019
Posts:
376
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

So here are two Google reCAPTCHA plugins. One is zen cart forum edition. One is github edition from torvista. I'm currently using the github version and it worked fine. zencart 2.1.0, php 8.3

I just downloaded the forum edition v3.8 and it seems to be significantly different than torvista's version. The forum fix from v3.8 to v3.7 can also found in the github version.

\includes\classes\observers\google\ReCaptcha\ReCaptcha.php

from
public function __construct($secret, RequestMethod $requestMethod = null)
to
public function __construct($secret, ?RequestMethod $requestMethod = null)

This line can also be found in github version

\classes\vendors\Google\recaptcha\src\ReCaptcha\ReCaptcha.php

21 Sep 2026, 5:58 PM
#695
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

Re: Support Thread for Google reCAPTCHA plugin

I noticed that the Ask A Question page was missing from the pages processed by this check, so I added it.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

21 Sep 2026, 6:16 PM
#696
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Support Thread for Google reCAPTCHA plugin

I hate to see duplicated effort. My Github version has had this for years.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...