magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.51k stars 9.31k forks source link

Recaptcha on newsletter creates error #26078

Closed devchris79 closed 4 years ago

devchris79 commented 4 years ago

Preconditions (*)

  1. Magento 2.3.3

Steps to reproduce (*)

  1. Enable Google recaptcha on the frontend from Configuiration -> Security -> Google reCaptcha and make sure the newsletter option is enabled

Expected result (*)

  1. reCaptcha enabled with no errors

Actual result (*)

  1. Chrome console reports a nodename undefined error error

m2-assistant[bot] commented 4 years ago

Hi @devchris79. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@devchris79 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


m2-assistant[bot] commented 4 years ago

Hi @shikhamis11. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

shikhamis11 commented 4 years ago

@magento give me 2.4-develop instance

magento-engcom-team commented 4 years ago

Hi @shikhamis11. Thank you for your request. I'm working on Magento 2.4-develop instance for you

shikhamis11 commented 4 years ago

@magento give me 2.4-develop instance

magento-engcom-team commented 4 years ago

Hi @shikhamis11. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team commented 4 years ago

Hi @shikhamis11, here is your Magento instance. Admin access: https://i-26078-2-4-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

devchris79 commented 4 years ago

@magento give me 2.4-develop instance

magento-engcom-team commented 4 years ago

Hi @devchris79. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team commented 4 years ago

Hi @devchris79, here is your Magento instance. Admin access: https://i-26078-2-4-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

devchris79 commented 4 years ago

@engcom-Charlie Can you please verify this one, the develop instances don't allow a security configuration, but you verified the other bug with ReCaptcha #25735.

engcom-Charlie commented 4 years ago

Hello @devchris79 I can't do it, because @shikhamis11 is testing your issue now.

shikhamis11 commented 4 years ago

Hi @devchris79, I checked the issue on my local but it seems captcha keys not working on local .. I will check it on server and update the status of the issue soon

devchris79 commented 4 years ago

@shikhamis11 Thanks for the update.

shikhamis11 commented 4 years ago

hello @devchris79 I checked the issue on chrome browser for both on magento version Magento ver. 2.3.3 for both reCaptchaV2 and invisible Recaptcha but getting error on console. let me know if it requires any additional step to reproduce this issue ?

devchris79 commented 4 years ago

I assume you mean you don't get an error in the console? That's strange, I have found a second person that describes the same issue, they are working in Luma and an unadulterated core: https://magento.stackexchange.com/questions/286724/magento-2-recaptcha-uncaught-typeerror-cannot-read-property-nodename-of-undef

Here is our settings, the backend captcha is turned off and the frontend is running invisible type: image

shikhamis11 commented 4 years ago

Hi @devchris79 , can you Please let me know the version of Chrome on which you are facing this issue ? @engcom-Charlie can you please also look into this issue ?

engcom-Charlie commented 4 years ago

@shikhamis11 yes, of course

m2-assistant[bot] commented 4 years ago

Hi @engcom-Charlie. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Charlie commented 4 years ago

Hello @devchris79 I can't reproduce this issue on the Magento 2.3.3

Testing scenario:

  1. Enable Google recaptcha on the frontend from Configuiration -> Security -> Google reCaptcha and make sure the newsletter option is enabled image
  2. Go to the frontend and check console for errors

Result: ReCaptcha works without any errors in console: image

@shikhamis11 so i think this issue can be closed as not reproducible. @devchris79 Thank you for contribution and collaboration!

devchris79 commented 4 years ago

Closing issue as @shikhamis11 and @engcom-Charlie can't replicate. Thanks for investigating.

moazzama commented 2 years ago

Hello Magento Community,

I am facing an issue in Magento2.4.3-p2

Invisible Recaptcha is not showing on the newsletter and login page if I log in to account then I am facing issue

Here is the log which I found on exception.log

[2022-10-05 19:45:47] main.ERROR: Can not resolve the reCAPTCHA parameter. {"exception":"[object] (Magento\Framework\Exception\InputException(code: 0): Can not resolve reCAPTCHA parameter. at /home/moazzam/www/dico.local/vendor/magento/module-re-captcha-ui/Model/CaptchaResponseResolver.php:25)"} []

Can anyone help me for this solution?

image