reCAPTCHA shows "ERROR for site owner: invalid domain for site key"
RecTrac 3.1.10.21.00
Table of Contents
Problem
I've had customers call saying that they were unable to process their payment and it looks like the reCAPTCHA field is producing an error message.
Error Message
"ERROR for site owner: invalid domain for site key"
Solution
This issue is due to a domain configuration issue, you can verify the domain associated with your reCAPTCHA service by going to www.google.com/recaptcha.
Note:
This solution requires you to have login credentials for the Google reCAPTCHA site.
Steps For Solution
- Point your preferred browser to google.com/recaptcha.
- Click on v3 Admin Console.
- If you already have your WebTrac site listed here, click the settings gear icon.
- Under Domains verify that you have the correct domain for your WebTrac site.
- Delete the incorrect domain causing the error with the X button.
- Click Save.
- If you do not have your WebTrac site listed here, click the "+" in the top left corner.
- Create a label and enter your Domain.
- Select the "Challenge (v2)" reCAPTCHA Type, then select the "I am not a robot" option.
- Click Submit.
- You will now have a new Public and Private reCAPTCHA key.
- From the RecTrac main menu, go to Profile Assignments.
- Highlight your WebTrac Parameters profile.
- Click Update.
- Expand the ReCaptcha Settings group.
- Replace the Public Key with the Site Key that you just created.
- Replace the Private Key with the Secret Key you just created.
- Click Save.
Instruct your patrons to reload the WebTrac site and attempt a transaction again, reCAPTCHA should be working now.