This code just needs to be updated for PHP8. Change
includes/classes/observers/class.google_recaptcha.php on line 40
to check
isset($_POST['g-recaptcha-response'])
Printable View
This code just needs to be updated for PHP8. Change
includes/classes/observers/class.google_recaptcha.php on line 40
to check
isset($_POST['g-recaptcha-response'])
$resp = $recaptcha->verify($_POST['g-recaptcha-response'] ?? '', $_SERVER['REMOTE_ADDR']);
@swquy
Thanks again!
jpda
Can you add the GitHub link to the Plugin page please:
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA
Done. Thank you for adopting this plugin!
I spoke too soon.
There are a number of files in your repo that don't belong in an installation. And you've made significant changes to the files that should be installed.
I generally expect the repo to match what's in the Plugins Library.
Yep, and all for free!
I lose enough time tweaking all these add-ons to also update the files in the plugins too.
Five minutes later I find something else to tweak/they are out of date very quickly: where a repository exists they should point to the repository and not offer an old, static download.
I've done this multiple times before but when I went to my recaptcha account, it's not letting me create a new site. When I click on the submit button, nothing happens. I'm just wondering if anyone else has seen this problem before. There is a google forum that hasn't had any activity in years. The help files certainly don't mention this.
As I recently upgraded several sites to zc 2.0.1, I have been waiting to see if the contact form would be more or less susceptible to abuse. One of those sites got hit last night, creating massive issues with the hosting company. So now I have a client who needs this today.