page last edited on 31 August 2018
The addon Google reCAPTCHA for X-Cart 5 uses the free Google reCAPTCHA service to protect your shop from robots creating fake user accounts and sending SPAM through your site.
The addon integrates with the advanced version of the API that displays a simple “I’m not a robot” checkbox instead of asking users to enter a complex mix of digits and letters.
To start using the addon, make sure it’s installed and enabled as described in Installing addons from the Marketplace.
Then sign up for a free Google reCAPTCHA account, to get your site key and secure key that you will need to specify during the addon configuration.
To configure the addon, open the addon settings page:
The settings page is divided into 3 subsections:
- Google reCAPTCHA account
Specify here your:
- Site key
- Secret key
- Google reCAPTCHA settings
Select the values for the following fields here:
- API version : Can be only reCAPTCHA Version 2.0.
- Theme : Select between ‘light’ or ‘dark’.
- Size : Select between ‘normal’ or ‘compact’.
- Forms protected with Google reCAPTCHA
Toggle on the reCAPTCHA protection for the forms you need. Possible options are:
- Sign-in form (storefront)
- Password recovery form
- Customer sign-up form
- Contact form
- Vendor sign-up form
Submit the settings when you are done.
The enabled Google reCAPTCHA protection for the chosen forms will look as follows:
Help make this document better
This guide, as well as the rest of our docs, are open-source and available on GitHub.