angular-recaptcha icon indicating copy to clipboard operation
angular-recaptcha copied to clipboard

Invisible Response is 'undefined'

Open viperswebdesign opened this issue 6 years ago • 4 comments

I've set up, copied/pasted the $scope.setWidgetId, $scope.setResponse, $scope.cbExpiration functions and I cannot get a response with the Invisible reCaptcha.

My console output: sending the captcha response to the server undefined Response available undefined

PS. The 'Secure Token' was a 'v1-only' feature (https://developers.google.com/recaptcha/docs/versions#v1), and should get removed from the documentation ASAP. stoken="'--- YOUR GENERATED SECURE TOKEN ---'" vcRecaptchaServiceProvider.setStoken('--- YOUR GENERATED SECURE TOKEN ---') stoken: '--- YOUR GENERATED SECURE TOKEN ---',

viperswebdesign avatar Oct 30 '18 01:10 viperswebdesign

Same issue here! It's working perfectly when rendered in compact or normal size. When testing the response, it returns an empty value.

adryyhernandez avatar Nov 12 '18 17:11 adryyhernandez

Probably the problem is that you are testing with a key for v2, and not for invisible type. You just have to create a new site on the reCAPTCHA administration page with the invisible type configuration.

pgarriga avatar Jan 11 '19 16:01 pgarriga

Probably the problem is that you are testing with a key for v2, and not for invisible type. You just have to create a new site on the reCAPTCHA administration page with the invisible type configuration.

Back in November I used a v3 key and it still sent an empty value as the response.

adryyhernandez avatar Jan 14 '19 15:01 adryyhernandez

does angular-recaptcha work for reCAPTCHA v3?

romanalesenkov1 avatar Jan 30 '19 12:01 romanalesenkov1