re captcha google v2 it is not visible notify product vm4

Started by kess, June 29, 2024, 11:06:49 AM

Previous topic - Next topic

kess

Good morning
I have the latest j4 and VM 4.2.16 11030 versions, no overraide template.
I have activated the  GOOGLE RECAPTCHA v2.

It works correctly on all Joomla and virtuemart forms.

The only one where it doesn't appear is the product notification form when it is at 0.

I also tried with captchas other than google and the problem is the same.

Looking at the code in the \components\com_virtuemart\views\productdetails\tmpl\notify.php file
 
the code that invokes the captca is there but evidently it doesn't work.

can it be solved ?

Thank you

kess

Please take this problem into consideration, because as it stands the form is subject to spam attacks without even realizing that when the product becomes available again, perhaps dozens of emails are sent.

The captcha must work correctly on this too.

Thank you