You need to sign in to do that
Don't have an account?
Cynthia Saalfeld 43
Spring 17 reCAPTCHA feature how to "Verify the user's response"
Hi,
I have successfully added the reCAPTCHA widget to the lead submission form after registering domain and receiving a public and private key pair. (Documentation: https://help.salesforce.com/articleView?id=customizesupport_web_to_case_enable_recaptcha.htm&type=0&language=en_US&release=206.9)
Spring'17 release note: https://releasenotes.docs.salesforce.com/en-us/spring17/release-notes/rn_sales_web_to_lead_recaptcha.htm
During testing this functionality, I observed that an individual can bypass the recaptcha and submit the form. There's no validation that requires the user to click "I'm not a robot" in order to post the data.
My question is:
How is the "Verifying the user's response" process done in Salesforce? Ref. : https://developers.google.com/recaptcha/docs/verify
Do I need to create an Apex Class for this?
Has anyone successfully implemented this feature. Salesforce Support was unable to help.
Any help is greatly appreciated!
I have successfully added the reCAPTCHA widget to the lead submission form after registering domain and receiving a public and private key pair. (Documentation: https://help.salesforce.com/articleView?id=customizesupport_web_to_case_enable_recaptcha.htm&type=0&language=en_US&release=206.9)
Spring'17 release note: https://releasenotes.docs.salesforce.com/en-us/spring17/release-notes/rn_sales_web_to_lead_recaptcha.htm
During testing this functionality, I observed that an individual can bypass the recaptcha and submit the form. There's no validation that requires the user to click "I'm not a robot" in order to post the data.
My question is:
How is the "Verifying the user's response" process done in Salesforce? Ref. : https://developers.google.com/recaptcha/docs/verify
Do I need to create an Apex Class for this?
Has anyone successfully implemented this feature. Salesforce Support was unable to help.
Any help is greatly appreciated!
I just uploaded and tested the new reCAPTCHA code and it did work for me. However, it didn't work exactly the way I thought it would. If you fill out the form and click submit without verification you still get taken to the "Thank you" screen without any warning. This made me think the data was sucessfully submitted to Salesforce. However, when I looked in the "Today's Leads" view in Salesforce that data wasn't there.
Jamie
{
"success": true|false,
"challenge_ts": timestamp, // timestamp of the challenge load (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
"hostname": string, // the hostname of the site where the reCAPTCHA was solved
"error-codes": [...] // optional
}
One thought you may have attempted as of now is to make certain to test the frame from various IP addresses and on various PCs/gadgets. On the off chance that it's as yet an issue post back here and we can attempt to get more eyeballs on this and after that you could present a thought on get this settled!
Best regards,
Lina, essaywriter (http://cheapessaywriter.net/) .
Here's how I solved the problem of detecting whether the reCAPTCHA worked before allowing the user to click Submit. Hope this helps.
https://developer.salesforce.com/forums/ForumsMain?id=9060G000000IAi2QAG
you can check here on how to verify the Google reCAPTCHA, this is using the experience site to demonstrate the verification.
https://inevitableyogendra.blogspot.com/2021/09/introducing-google-recaptcha-in-einstein-bots.html