VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: bmw2182 on March 05, 2019, 20:06:17 PM

Title: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: bmw2182 on March 05, 2019, 20:06:17 PM
Running Joomla 3.9.3 and virtuemart 3.4.2
Added reCAPTCHA to Ask a question.  It shows up at the bottom like I would expect and once I prove I'm not a robot and click to submit it goes to another screen and I get 0-invalid keys.  I have attached a screen shot of the error I'm getting.

I have verified that Site key and Secret key are correct in google.  Do I have to setup a callback in Google to redirect it once it is submitted?
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: jenkinhill on March 05, 2019, 22:54:42 PM
Are you using the reCaptcha version 2 plugin with Version 2 credentials?
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: bmw2182 on March 06, 2019, 02:54:33 AM
Yes, I am using the reCaptcha version 2 plugin.  I'm not clear on what you mean for Version 2 credentials - I have selected version 2 when setting it up on google.
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: ThiloS on March 12, 2019, 09:22:18 AM
same problem here!

ReCaptcha V2 (normal "i am not a robot" - not invisible).

error: 0 - invalid-keys

Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: jenkinhill on March 12, 2019, 10:33:46 AM
error: 0 - invalid-keys generally means that the wrong public/secret keys are used in the plugin config.
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: Studio 42 on March 12, 2019, 10:45:40 AM
see https://www.google.com/recaptcha/admin/ ifyou have the right key installed
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: Ro Bert on March 20, 2019, 14:25:13 PM
Same problem here. I've installed all updates and in three different Google-accounts I've created keys "V2 checkbox-keys". None of them work.
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: Jörgen on March 20, 2019, 15:05:44 PM
https://docs.joomla.org/J3.x:Google_ReCaptcha (https://docs.joomla.org/J3.x:Google_ReCaptcha)

Jörgen @ Kreativ Fotografi
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: Ro Bert on March 20, 2019, 15:30:44 PM
Thank you for the link Jörgen. The instructions don't work for Virtuemart. The Default Captcha is set to Invisible. Virtuemart uses the normal captcha, as mentioned on https://forum.virtuemart.net/index.php?topic=140813.0 . I disabled the normal captcha and got a new error there was no captcha available. So Virtuemart doesn't look at the default captcha.
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: Ro Bert on March 21, 2019, 18:42:02 PM
A first test looks like the plugin "System - Page cache" is conflicting with the captcha. Disabling the plugin solved the problem for now.
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: Milbo on April 30, 2019, 12:09:39 PM
For the old recaptcha or the new invisible one?
Title: Re: Ask a Question/reCAPTCHA error message upon submission - 0-invalid - keys
Post by: bmw2182 on May 01, 2019, 00:10:31 AM
I'm not sure why, but everything is working great now!