News:

Support the VirtueMart project and become a member

Main Menu

google invisible recaptcha in Ask a question about this product

Started by rockyjohn, August 23, 2018, 10:24:42 AM

Previous topic - Next topic

rockyjohn

I add google invisible recaptcha in Ask a question about this product.
But google recaptcha is appeared as V2. Not as invisible.

If captcha is visible, mobile view is not ok. So guide me how to invisible mode.

Studio 42

invisible captcha need deep code changes in the form, so i dont think that moving from recpatcha to  invisible captcha work from the scratch.
How do you have setup invisible captcha, what have you change in your form ?

rockyjohn

Hi

To use google invisible captcha, I create invisible type in google captcha api.

jenkinhill

AFAIK the current Joomla CAPTCHA - reCAPTCHA plugin does not support invisible.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Studio 42

You cannot switch to invisible reCAPTCHA with same code
Recaptcha V2 I'm not a robot :

<div class="g-recaptcha" data-sitekey="your_site_key"></div>


Recaptcha V2 Invisible :

<button class="g-recaptcha" data-sitekey="your_site_key" data-callback='onSubmit'>Submit</button>


If you look, you see that invisible g-recaptcha use a button and run onSubmit and not a div. SO the code need to be added in the submit button. But this is not possible and you need to add the code or modify the form itself.
See the google invisible captcha doc how to use javascript to run your code.
     

rockyjohn


Jörgen

Yes, but You have to modify plugin and the code in the form.

I think studio42 could help with that.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42


Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

rockyjohn


Jörgen

This is not really a VM issue, it is a Joomla issue. Better to talk to someone who knows about recaptcha for Joomla.

Quote from: rockyjohn on September 02, 2018, 05:53:00 AM
I try with your plugin.
But do not work.

It is not my plugin, talk to the developer about this. I just googled that for You.

If You are not saisfied with this, please feel free to write your own olugin.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.