Jump to content
ruden

Google reCAPTCHA v3

Recommended Posts

Hello Ruden,

How to implement in pwa_account.php?

Thank you,

Edited by NateNg

Share this post


Link to post
Share on other sites
On 1/5/2020 at 12:12 AM, TomB01 said:

Never mind - my mistake. 

Thanks for the add-on!

Hi, what was your mistake?

I have the same issue.

 

Edit: ok nevermind.... try clicking on the "install module" button 😁

Edited by hybiepoo
I'm dumb

Share this post


Link to post
Share on other sites

Add-on updated

Add support Hook System

⚠️ This add-on use Hook System, for versions below < 2.3.5 install Hook System

https://apps.oscommerce.com/p9Yyp&hook-system

On 1/30/2020 at 7:36 AM, NateNg said:

How to implement in pwa_account.php?

Create directory  includes/hooks/shop/pwa_account

Copy file includes/hooks/shop/create_account/Recaptcha3.php in includes/hooks/shop/pwa_account

In file includes/hooks/shop/pwa_account/Recaptcha3.php

replace $this->form_name = basename(dirname(__FILE__));

$this->form_name = 'create_account';

Edited by ruden

Share this post


Link to post
Share on other sites
19 hours ago, ruden said:

Add-on updated

Add support Hook System

⚠️ This add-on use Hook System, for versions below < 2.3.5 install Hook System

https://apps.oscommerce.com/p9Yyp&hook-system

Create directory  includes/hooks/shop/pwa_account

Copy file includes/hooks/shop/create_account/Recaptcha3.php in includes/hooks/shop/pwa_account

In file includes/hooks/shop/pwa_account/Recaptcha3.php

replace $this->form_name = basename(dirname(__FILE__));

$this->form_name = 'create_account';

hi

i installed the plugin,

is it a hidden type thing?

i cannot see it on the create account page when i sign up for something

Share this post


Link to post
Share on other sites
On 2/3/2020 at 11:32 AM, ruden said:

Add-on updated

Add support Hook System

⚠️ This add-on use Hook System, for versions below < 2.3.5 install Hook System

https://apps.oscommerce.com/p9Yyp&hook-system

Create directory  includes/hooks/shop/pwa_account

Copy file includes/hooks/shop/create_account/Recaptcha3.php in includes/hooks/shop/pwa_account

In file includes/hooks/shop/pwa_account/Recaptcha3.php

replace $this->form_name = basename(dirname(__FILE__));

$this->form_name = 'create_account';

Yes, It is working.

Thank you so much.

Share this post


Link to post
Share on other sites

Hello,

I installed the add-on on my 2.3.4 BS version, I followed all the steps and there's no Recaptcha showing on both the pages. Since I was on Php 5.7 I upgraded to Php7 but there's still nothing showing.

Any help please ?

Share this post


Link to post
Share on other sites

Check for errors
Open the console in a browser F12 and check for errors in the php logs on the server
.

Share this post


Link to post
Share on other sites

Small nit:

For v3 Recaptcha Google recommends enabling the tracking code on EVERY page load, not just ones you want to protect.  This enables Google to create a traffic profile.  e.g. if a customer has been shopping the site normally but then submits a contact us in a suspicious way (e.g. did a copy-paste autofill which was very fast) Google takes into account the non-spammy behavior beforehand.

It looks like your module only loads on the hooked pages, I suggest loading the tracking code on all pages following Google's guidance.


Two forks diverged in a git, and I— I took the fork traveled by burt, And that has made all the difference.

Share this post


Link to post
Share on other sites

Hi all, reCaptcha not showing on contact us or the create account pages.  I've entered my registered keys in Admin, v3 displaying under hooks in Admin  ... Shop is 2.3.4.1 BS Edge, PHP 7.3   

No php errors in log.  What am i missing? where to check next?   

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×