Now that Google reCAPTCHA V3 is out, is there going to be an upgrade to incorporate? I'm using ZC 157b. Thanks.
Now that Google reCAPTCHA V3 is out, is there going to be an upgrade to incorporate? I'm using ZC 157b. Thanks.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
reCaptcha is NOT working with 1.5.7b with Responsive Sheffield Blue v2 template
On the Contact Us page, the Subject line of the form does not appear but the program does check to make sure there is something there--resulting in it being impossible to complete.
Works as designed on the Create Account and Reviews pages.
I'm using Responsive Sheffield Blue v2 (most current) as the template. Replacing the default template file with the one in the reCaptcha distribution (i.e., /includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php) caused the problem. Reverting to the Sheffield Blue template file fixed the subject line problem but now the Contact Us page doesn't have reCaptcha. And that's where I really needed it.
And yes, I added the v1.5.5 files (which are the same template file names) as instructed in the README file.
I'm not a php programmer so although I think I know what the problem is, I don't know how to fix it.
Thank you all who are updating this plugin.
I am running 1.5.7c with the latest reCaptcha module. I have noticed that there is no reCaptcha for the "Ask a Question" page that is also connected in some way to a "contact us" page.
Thank you!
Shrimp
I just had your same issue and I finally fixed it. To use reCaptcha in "ask a question" page, you need to adjust \includes\classes\observers\class.google_recaptcha.php Otherwise "ask a question" page will still show reCaptcha section but not in use.
Near line 24, add following code:
$pages_to_check[] = 'NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK';
Near line 40 below if (!$resp->isSuccess()) { Change the following code from:
$event_array = array('NOTIFY_CONTACT_US_CAPTCHA_CHECK' => 'contact', 'NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK' => 'create_account', 'NOTIFY_REVIEWS_WRITE_CAPTCHA_CHECK' => 'review_text');
To
$event_array = array('NOTIFY_CONTACT_US_CAPTCHA_CHECK' => 'contact', 'NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK' => 'create_account', 'NOTIFY_REVIEWS_WRITE_CAPTCHA_CHECK' => 'review_text','NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK' => 'contact');
zc version is 157 with Observer bug fixed. reCAPTCHA version 3.4