jcadima
5/4/2017 - 1:59 PM

Google recaptcha KEY for popbetaserver and Localhost - INVISIBLE

Google recaptcha KEY for popbetaserver and Localhost - INVISIBLE



Site Key
6Lfi5B8UAAAAAGqVZbrz7-NHEEzn0SUBjL6l7wYD

Secret Key
6Lfi5B8UAAAAAIJdsbWfM3dvWjgxLjq4Iwycoypb



1) client side integration

<script src='https://www.google.com/recaptcha/api.js'></script>

Paste this snippet at the end of the <form> to create a button protected by 
the Invisible reCAPTCHA. You will need to create a callback function to handle the result.

<button
class="g-recaptcha"
data-sitekey="6Lfi5B8UAAAAAGqVZbrz7-NHEEzn0SUBjL6l7wYD"
data-callback="YourOnSubmitFn">
Submit
</button>


2) Server side integration

secret(required):  6Lfi5B8UAAAAAIJdsbWfM3dvWjgxLjq4Iwycoypb

response(required): The value of 'g-recaptcha-response'

remoteip: the end user's ip address