Jump to content

How Do I Fix ERROR for site owner: Invalid domain for site key (reCAPTCHA)


Recommended Posts

Posted

Register your domain at - https://www.google.com/recaptcha/intro/

Than in local.config.php ad these lines to the bottom.

/* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */
Config::Set('RECAPTCHA_PUBLIC_KEY', 'Key Goes Here');
Config::Set('RECAPTCHA_PRIVATE_KEY', 'Key Goes Here');

Add your keys to the above code, where it says Key Goes Here

  • 3 years later...
Posted

What i did wrong was selected V3 of the recaptcha and not v2. Selected V2 and followed instructions and works perfectly. I feel so bad searching all over the forums and only after i make a comment i am able to fix it before a response. and for the very small finicky things. thank you for your response

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...