summaryrefslogtreecommitdiff
path: root/addons/google_recaptcha/static/src
AgeCommit message (Collapse)Author
2021-02-18[FIX] website_sale, *: display error message in "Extra Info" stepNasreddin (bon)
*: google_recaptcha, website_form Issue - Install 'Ecommerce' module - In settings, fill the "reCAPTCHA: Easy on Humans, Hard on Bots" option with random wrong site key and secret key - Open your ecommerce (go to /shop ) - Add any product to cart and and open cart - Activate "Customize -> Extra Step Option" - Process to "Extra Info" step - Click on next Stuck at this step since next button does not react. Cause There is an error due to re-captcha feature that does not allowed to go to next step. The second issue is that the error is not displayed because missing message area in form. Solution Do not check recaptcha if 's_website_form_no_recaptcha' class present in form. Add span 's_website_form_result' to display error messages. Replace 'public' by 'site' in error message to fit google 'field' name. opw-2456098 closes odoo/odoo#66382 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-06-05[IMP] google_recaptcha, *: integrate recaptchaV3fja-odoo
* = base_setup, website_form, website_sale, website_crm, crm_iap_lead_website, website_hr_recruitment, website_mass_mailing Integrate reCaptchaV3 on website_form submit and website_mass_mailing subscription. You can now use ReCaptchaV3 to add reCaptcha verification in any module using google_recaptcha. Also added a better error management on the form with custom messages. task-2217980 closes odoo/odoo#48466 Related: odoo/enterprise#9649 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>