Difference between revisions of "Google reCAPTCHA"

From WHMCS Documentation

(Enabling Shopping Cart Checkout Invisible Captcha)
Line 6: Line 6:
  
 
Google reCAPTCHA V2 is available in WHMCS 7.0 and later.
 
Google reCAPTCHA V2 is available in WHMCS 7.0 and later.
 +
Google Invisible reCAPTCHA is available in WHMCS 7.7 and later.
  
 
==Enabling Google reCAPTCHA==
 
==Enabling Google reCAPTCHA==
Line 11: Line 12:
 
Google's reCAPTCHA may be enabled by following these steps:
 
Google's reCAPTCHA may be enabled by following these steps:
  
* Navigate to ''Setup > General Settings > Security''
+
* Navigate to '''Setup''' > '''General Settings''' > '''Security'''
 
* Under the setting Captcha Type, select reCAPTCHA
 
* Under the setting Captcha Type, select reCAPTCHA
 
* Visit https://www.google.com/recaptcha/admin and log into your Google account
 
* Visit https://www.google.com/recaptcha/admin and log into your Google account
Line 17: Line 18:
 
* Be sure to enter in your domain under the "domains" section and then accept the Google terms of service and click the Register button to finish registering your site and generating your keys.
 
* Be sure to enter in your domain under the "domains" section and then accept the Google terms of service and click the Register button to finish registering your site and generating your keys.
 
* Copy the Site Key and Secret Key issued by Google and enter them in the fields provided in WHMCS.
 
* Copy the Site Key and Secret Key issued by Google and enter them in the fields provided in WHMCS.
* Check the ''reCAPTCHA Invisible Key'' checkbox
 
 
* Save Changes to complete the process
 
* Save Changes to complete the process
  
[[File:Captcha_type.png]]
+
[[File:captcha_config.png]]
  
[[File:Recaptcha_config.png]]
+
==Enabling Invisible reCAPTCHA==
 +
To enable the Invisible reCAPTCHA feature for the shopping cart, follow these steps:
  
==Enabling Shopping Cart Checkout Invisible Captcha==
+
* Navigate to '''Setup''' > '''General Settings''' > '''Security'''
<div class="docs-alert-info"><i class="fa fa-question-circle"></i> This section describes a feature available in version 7.6 and above</div>
+
* Under the setting Captcha Type, select Invisible reCAPTCHA
To enable the Invisible reCAPTCHA feature for the shopping cart, ensure the following are true:
+
* Visit https://www.google.com/recaptcha/admin and log into your Google account
 +
* Click the "Register a new site" option, enter in a label for your key and select the "Invisible reCAPTCHA" option.
 +
* Be sure to enter in your domain under the "domains" section and then accept the Google terms of service and click the Register button to finish registering your site and generating your keys.
 +
* Copy the Site Key and Secret Key issued by Google and enter them in the fields provided in WHMCS.
 +
* Save Changes to complete the process
 +
 
 +
==Captcha Locations==
 +
<div class="docs-alert-info"><i class="fa fa-question-circle"></i> This page describes a feature available in version 7.7 and above</div>
 +
 
 +
You can choose which forms have a captcha enabled on them by checking the appropriate boxes in the "Captcha for Select Forms" option. The following options are available:
  
* reCAPTCHA is selected under Captcha Type
+
* Shopping Cart Checkout - On checkout in the Client Area
* An Invisible reCAPTCHA compatible Site Key and Secret Key are entered in the appropriate fields
+
* Domain Checker - The homepage domain checker, and on the Register or Transfer domain pages in the cart
* That the ''reCAPTCHA Invisible Key'' checkbox is checked
+
* Client Registration - register.php
* That the "Shopping Cart Checkout" checkbox option is checked under reCAPTCHA for Select Forms
+
* Contact Form - contactus.php
 +
* Ticket Submission - When submitting a ticket
 +
* Login Forms - Admin and Client login forms

Revision as of 17:05, 19 December 2018

Differentiating between humans and bots (computers) is an ever-changing and more challenging task. A number of solutions have been implemented, typically involving increasing obscured text and numbers or images, such as the default 5 character verification of WHMCS.

As bots and software have become more sophisticated, a common solution was to make the text more difficult to read, which can result in frustrated and lost potential clients. Google's reCAPTCHA set's out to change that. They have created a system that is easy for people, but hard for bots. By using an advanced and more secure risk analysis engine, humans and bots are more effectively differentiated.

The first step in authentication is to ask the user to confirm that they are not a robot by ticking a checkbox. While this sounds simple, Google's risk analysis engine takes a lot into account about how the user came to tick the checkbox, including how the user responds before, during, and after the action. In cases where the engine cannot confidently differentiate, a mobile-friendly verification tool like image selection from a list may be supplied or a CAPTCHA itself.

Google reCAPTCHA V2 is available in WHMCS 7.0 and later. Google Invisible reCAPTCHA is available in WHMCS 7.7 and later.

Enabling Google reCAPTCHA

Google's reCAPTCHA may be enabled by following these steps:

  • Navigate to Setup > General Settings > Security
  • Under the setting Captcha Type, select reCAPTCHA
  • Visit https://www.google.com/recaptcha/admin and log into your Google account
  • Click the "Register a new site" option, enter in a label for your key and select the "Invisible reCAPTCHA" option.
  • Be sure to enter in your domain under the "domains" section and then accept the Google terms of service and click the Register button to finish registering your site and generating your keys.
  • Copy the Site Key and Secret Key issued by Google and enter them in the fields provided in WHMCS.
  • Save Changes to complete the process

Captcha config.png

Enabling Invisible reCAPTCHA

To enable the Invisible reCAPTCHA feature for the shopping cart, follow these steps:

  • Navigate to Setup > General Settings > Security
  • Under the setting Captcha Type, select Invisible reCAPTCHA
  • Visit https://www.google.com/recaptcha/admin and log into your Google account
  • Click the "Register a new site" option, enter in a label for your key and select the "Invisible reCAPTCHA" option.
  • Be sure to enter in your domain under the "domains" section and then accept the Google terms of service and click the Register button to finish registering your site and generating your keys.
  • Copy the Site Key and Secret Key issued by Google and enter them in the fields provided in WHMCS.
  • Save Changes to complete the process

Captcha Locations

This page describes a feature available in version 7.7 and above

You can choose which forms have a captcha enabled on them by checking the appropriate boxes in the "Captcha for Select Forms" option. The following options are available:

  • Shopping Cart Checkout - On checkout in the Client Area
  • Domain Checker - The homepage domain checker, and on the Register or Transfer domain pages in the cart
  • Client Registration - register.php
  • Contact Form - contactus.php
  • Ticket Submission - When submitting a ticket
  • Login Forms - Admin and Client login forms