recaptcha

Recaptcha disappears during PostBack

此生再无相见时 提交于 2019-12-05 05:22:59
I have seen a couple of other posts on here regarding the use of Recaptcha with ASP.net UpdatePanels but have not yet found an answer that solves my problem. Here is my ASPX code : <asp:UpdatePanel ID="updRecaptcha" runat="server" UpdateMode="Always"> <ContentTemplate> <recaptcha:RecaptchaControl ID="btnrecaptcha" runat="server" Theme="clean" PrivateKey"<%$ Resources: General, CaptchaPrivateKey %>" PublicKey="<%$ Resources: General, CaptchaPublicKey %>" /> <asp:Label ID="recaptchaerror" runat="server" style="color: Red;"/> </ContentTemplate> </asp:UpdatePanel> So the Recaptcha control lives

Recaptcha missing-input-response

久未见 提交于 2019-12-05 03:19:50
Hi guys i have problem with google reCaptcha. Here is my php code: $secret = 'SECRET_KEY'; $response = $_POST['g-recaptcha-respone']; $remoteip = $_SERVER['REMOTE_ADDR']; $url = "https://www.google.com/recaptcha/api/siteverify?secret=$secret&response=$response&remoteip=$remoteip"; $result_json = file_get_contents($url); $resulting = json_decode($result_json, true); print_r($resulting); if($resulting['success']) { //Success } input of print_r is: Array ( [success] => [error-codes] => Array ( [0] => missing-input-response ) ) How to solve this problem? Thanks for answers Akshay Hegde Please note

ReCAPTCHA couldn't find user-provided function: myCallBack

♀尐吖头ヾ 提交于 2019-12-04 23:58:50
I'm trying to use ReCAPTCHA where I am getting following error. ReCAPTCHA couldn't find user-provided function: myCallBack. How can I solve this issue? var verifyCallback3 = function(response) { if(response!=null){ $("#rss").show(); } }; var myCallBack = function() { grecaptcha.render('html_element', { 'sitekey' : '6sssfffffffffAAPfEI_RkbAlUuw5FA4p-kiGy5Nea', 'callback' : verifyCallback3, 'theme' : 'light', 'type':'image' }); }; Make sure your callback function is being defined in the global scope. For some reason, in production my function was not in this namespace. In addition to: function

recaptcha https problem on https://api-secure.recaptcha.net/

我的梦境 提交于 2019-12-04 23:47:51
I am using recpatcha on an SSL site but I am not getting the image on some browsers because the ssl certificate of it has been expired ! https://api-secure.recaptcha.net/ if I reference the non-secure link, the browser will give warning message. so what is the alternative? I am using it under ASP.NET MVC. As Remy says, you need to update the links to point at Google's servers. See the announcement regarding the expiration of the old URL. If you are using the .NET Library then you can update to the latest version If you did not use the library then you can see the modifications made to the

Rendering reCAPTCHA v2.0 widget within Backbone view

ぃ、小莉子 提交于 2019-12-04 19:11:52
This is my issue, I have an index.html page which loads the reCAPTCHA script explicitly: <script src="https://www.google.com/recaptcha/api.js?onload=loadCaptcha&render=explicit" async defer></script> I have a template which contains the reCAPTCHA container element (div): <form id="payment-<%= model.Id %>" class="form" action="" method="POST"> ... <div class="captcha-container"></div> //not being used yet </form> And I have a backbone view which injects the template into index.thml: 'use strict'; var Backbone = require('Backbone'); var Validation = require('backbone-validation'); Backbone

Rails Recaptcha plugin always returns false

你离开我真会死。 提交于 2019-12-04 18:23:38
I'm using the rails recaptcha plugin found here: http://github.com/ambethia/recaptcha/tree/master I have signed up for an account on recaptcha.com, obtained a public & private key, and the site is configured with a global key (for now). In config/environment.rb I setup the environment variables: ENV['RECAPTCHA_PUBLIC_KEY'] = 'xxxxxxxxxxxxxxxx' ENV['RECAPTCHA_PRIVATE_KEY'] = 'XXXXXXXXXXXXXXxx' In my view I render the captcha like this: <%= recaptcha_tags %> And in my controller processing this form I have this: unless verify_recaptcha # <-- always returns false flash[:error] = "Your captcha

Open Source Invisible reCAPTCHA alternatives [closed]

老子叫甜甜 提交于 2019-12-04 17:10:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Is there any close or best open source solutions as Google's Invisible reCAPTCHA V2? And also as Google's regular reCAPTCHA V2(checkbox one)? 回答1: SecurImage or phpcaptcha is open source alternative to Google reCaptcha v2. But I don't think there's any alternative to the Invisible reCaptcha yet. You can refer to

ReCaptcha and MVC3, problems getting Microsoft.Web.Helpers working

流过昼夜 提交于 2019-12-04 17:09:40
I have reCaptcha installation problems. I already saw some posts about that, even in StackOverflow but it didn't help me to get it working. I followed this post , and this post but in this line: @using Microsoft.Web.Helpers I get the message: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?) I added all references mentioned, all assemblies in both web.config files (root and view folder), restarted VS2010, updated the MVC3 package, included WebMatrix packages but I couldn't get it working. I guess it should be simple to

Google's new reCaptcha site verification returns no responce

大城市里の小女人 提交于 2019-12-04 15:37:06
I do site verification after getting g-recaptcha-response thru user verification. I send xhr POST with parameters and get 200 OK, yet NO response as it should be: { "success": true|false, "error-codes": [...] // optional } Code <script type='text/javascript'> var onReturnCallback = function(response) { document.getElementById('resp').innerHTML = response; // works well //alert('grecaptcha.getResponse() = ' + grecaptcha.getResponse()); // works well too $.post("https://www.google.com/recaptcha/api/siteverify", { secret: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", response: response, remoteip : "<?php

Google reCAPTCHA response success: false, no error codes

∥☆過路亽.° 提交于 2019-12-04 14:58:56
UPDATE: Google has recently updated their error message with an additional error code possibility: "timeout-or-duplicate". This new error code seems to cover 99% of our previously mentioned mysterious cases. We are still left wondering why we get that many validation requests that are either timeouts or duplicates. Determinining this with certainty is likely to be impossible, but now I am just hoping that someone else has experienced something like it. Disclaimer: I cross posted this to Google Groups , so apologies for spamming the ether for the ones of you who frequent both sites. I am