callenords 0 Posted November 17, 2020 Excellent addon. For those of you who wish to add reCAPTCHA v3 to multiple pages for (perhaps) improved score calculation (not just the create account and contact us page), this guide might be helpful. Share this post Link to post Share on other sites
callenords 0 Posted November 19, 2020 By logging the $response from Google, I have discovered that the majority of time I receive “timeout-or-duplicate” error. I’ve learned that the token is only valid for 2 minutes after you execute is called as stated in the docs: “Note: reCAPTCHA tokens expire after two minutes. If you're protecting an action with reCAPTCHA, make sure to call execute when the user takes the action.” Thus, if you spend more then 2 minutes on the contact-form, you get the timeout error. That's why its recommended in the docs to only call execute if the user actually submits your form / takes action. Source: https://stackoverflow.com/a/60076476/2157236 Any solution to this? Share this post Link to post Share on other sites
vampirehunter 16 Posted December 9, 2020 On 10/31/2020 at 1:40 PM, ruden said: Yes https://apps.oscommerce.com/p9Yyp hi i installed this hook system and the google capture was working for a while now suddenly its giving me error in error log and makes my order screen go blank this line here $OSCOM_Hooks->register(basename($PHP_SELF, '.php')); is making the error below it seems, as when i take it out, my admin order page comes back. PHP Fatal error: Cannot declare class hook_admin_orders_paypal, because the name is already in use in /home/website/public_html/includes/hooks/admin/orders/paypal.php on line 13 Share this post Link to post Share on other sites
vampirehunter 16 Posted December 11, 2020 is there way to have the hook system working ? when i add the hook, it stops the google recaptcha working Share this post Link to post Share on other sites