recaptcha

Using Google reCaptcha always shows 'incorrect-captcha-sol'

最后都变了- 提交于 2019-12-10 17:54:20
问题 I'm trying to use Google reCaptcha on my website and after following several tutorials, I'm using as follow on my HTML page: <section class="row" id="Contact"> <div class="col-full"> <form method="post" action="contact.php"> <input name="sender" placeholder="Name" size="30"><br><br> <input name="senderEmail" placeholder="Email" size="30"><br><br> <textarea rows="10" cols="30" name="message" placeholder="Message"></textarea><br><br> <div class="g-recaptcha" data-sitekey=

ERROR for site owner: Invalid site key

风流意气都作罢 提交于 2019-12-10 16:39:48
问题 I created a reCAPTCHA key and disabled Verify the origin of reCAPTCHA solutions , yet I am still getting there error ERROR for site owner: Invalid site key . How do I fix this? 回答1: Same here. It seems to work for me if I add at least one domain or localhost in the Domains list, but then uncheck the option under Domain Name Validation . 回答2: Right so it appears the reCAPTCHA unverified keys simply don't work and they don't seem to give a shit about fixing it. Ended up just specifying the

ReCAPTCHA v2 not working in IE Compability View

♀尐吖头ヾ 提交于 2019-12-10 16:37:17
问题 I'm trying to get recapatcha v2 working in my ASP MVC project. The client's computers have IE10/IE11 and shows all intranet pages in compatibility view which causes the recaptcha not to show as it is intended. The problem is it rarely accepts my answer even though it's right. It just shows a new image, but every once in awhile I get it right. Anyone else experience this? If you enable compability view for google.com in IE and visit the demo site you can try it out. 回答1: reCAPTCHA requires

Error: No reCAPTCHA clients exist (reCAPTCHA v3)

谁都会走 提交于 2019-12-10 16:36:51
问题 I've integrated reCAPTCHA v3 in one of my forms. In onload, there's a token produced and google captcha logo in the bottom right corner. But when I submit the form, in console there is an error shown, "Error: No reCAPTCHA clients exist". Also, it seems, no data is fetched by "g-recaptcha-response" and $_POST["g-recaptcha-response"] remains empty. Here is the sample code: <script type="text/javascript"> var ReCaptchaCallbackV3 = function() { grecaptcha.ready(function() { grecaptcha.execute(

Google reCaptcha says:invalid-request-cookie

人走茶凉 提交于 2019-12-10 15:42:12
问题 this is my first time in using recaptcha on my website. I'm using PHP API to validate the recaptcha, it keeps saying invalid-request-cookie I found out on different forum that www.example.com is different with example.com, so I register my site again without www , but still it is not working.. When I verify the recaptcha_response_field and recaptcha_challenge_field the values are correct. here is the captcha checker: require_once(recaptchalib.php'); $publickey = "not displayed"; //for

How to acceptance test captcha-protected web application functionality?

拈花ヽ惹草 提交于 2019-12-10 14:19:18
问题 I would like to add a captcha, such as reCaptcha, to a certain functionality on my site. How could I adapt my acceptance tests? Is the only solution to disable the captcha's on the staging site? Clarification: Of course I am not speaking of brute-force cracking my own captcha, but e.g. some option to inject a state into the captcha from the server side that my test knows about. PS My server side code uses the Pyramid framework, and my tests are written using Selenium 回答1: The point isn't to

Pls add captcha field to this DotNetNuke form and send results to email

只愿长相守 提交于 2019-12-10 12:35:48
问题 I have this form which I need the resulting data entered by user to be sent to my email address. But this form should work in DotNetNuke . I understand there's some kind of action that is missing here so please help. Also can please help me add the Captcha field before the user click on 'Send button'? Also pls help me make All field required to be entered by user so to be sure the user enters all information. I think that is all. Pls ask if you need clarification thanks </div> <ul > <li id=

Recaptcha in Updatepanel disappears during PostBack

北战南征 提交于 2019-12-10 12:15:02
问题 I am using Google ReCaptcha V2 and it is inside an updatepanel. IF validation failed ReCaptcha disappears on postback. I read similar topics but I have not yet found an answer that solves my problem. Please help! My ASPX code : <%@ Register Assembly="GoogleReCaptcha" Namespace="GoogleReCaptcha" TagPrefix="cc1" %> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <form id="formRegister" runat="server"> <asp:ScriptManager ID="ScriptManagerRegister"

Using ReCaptcha with jQuery Validate, giving correct response but gives error

纵饮孤独 提交于 2019-12-10 12:03:51
问题 I'm using jQuery validate with a registration form for my website with a reCaptcha at the bottom. Here is the script to check the form for errors (edited to only the relevant parts): $(document).ready(function() { jQuery.validator.addMethod("checkCaptcha", function() { var phpquery = $.ajax({url:"verify.php", type: "POST", async: false, data:{recaptcha_challenge_field:Recaptcha.get_challenge(),recaptcha_response_field:Recaptcha.get_response()}, success:function(resp) { if (resp == 'false') {

Uncaught Type Error on Invisible reCaptcha while Form Submit

喜夏-厌秋 提交于 2019-12-10 11:49:01
问题 I'm trying to implement new invisible recaptcha by google. But i have required inputs and should validate the form before recaptcha execute. I got an error on recaptcha callback function like that: Uncaught TypeError: document.getElementById() submit is not a function So how can i submit the form after validate and recaptcha executed? HTML : <script src="https://www.google.com/recaptcha/api.js" async defer></script> <form id="form" action="?" method="post"> Name: (required) <input id="field"