Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded #175

Closed
abd2561024 opened this issue Jan 6, 2017 · 19 comments · Fixed by #176
Closed

ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded #175

abd2561024 opened this issue Jan 6, 2017 · 19 comments · Fixed by #176

Comments

@abd2561024
Copy link

abd2561024 commented Jan 6, 2017

Hi! I have the following message in console ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded recaptcha__ru.js:367 . It shows when the ReCAPTCHA widget didn't exist on current page. If I go to my auth page and it loads ReCAPTCHA widget, this message didn't showing in console.
Any idea how I can solve this a little problem?

@TheSharpieOne
Copy link
Contributor

interesting. That must be a new error they are throwing. If reCaptcha is loaded before angular-recaptcha then angular-recaptcha will detect that and just run. If you ensure angular-recaptcha is loaded before recaptcha it will resolve your issue.

@jrbecart
Copy link

jrbecart commented Jan 7, 2017

Same error with me:
ReCAPTCHA couldn't find user-provided function: vcRecaptchaApiLoaded recaptcha__fr.js:305

For info I am using third-party async loader library.
I tried to load angular-recaptcha before recaptcha but it doesn't work.

@DSpeichert
Copy link

Same here, loading angular-recaptcha before recaptcha doesn't change this.

@vmnikhil
Copy link

vmnikhil commented Jan 9, 2017

same happening for me too..

@caiojhonny
Copy link

Same here

@pjotrvig
Copy link

Including ReCaptcha after angular-recaptcha helped for me.

@jrbecart
Copy link

Do you think this can be related to release code out dated (missing lang feature) #173 ? Maybe english language is not affected...?

@alexpchin
Copy link

+1 for this? I'll look into this when I get a moment but if anyone has a solution - please post.

@kevzlou7979
Copy link

Got the same issue too

mtrias added a commit that referenced this issue Jan 18, 2017
Improvement: Generate recaptcha script on demand. closes #175
@markfaseldesign
Copy link

I have the same issue.

@DSpeichert
Copy link

@markfaseldesign I think fix was commited to master in #176 but not released as a version yet.

@iambrosi
Copy link
Contributor

iambrosi commented Feb 4, 2017

@markfaseldesign @DSpeichert This was fixed and released in v4.0

@radianz
Copy link

radianz commented Apr 14, 2017

I updated to the latest version but the issue is still there.

@bobheath33435
Copy link

I updated to 4.0 and I have the problem too.

@ruyjfs
Copy link

ruyjfs commented Apr 16, 2017

I get the master and i have too.. Just 2 days whit any library of captcha for angular and no success.
Thanks for help!!

@wholeinsoul
Copy link

wholeinsoul commented Jan 2, 2018

I'm on 3.0.3 and I was seeing the same message in console but after putting () after the function made it disappear.

<script src="//www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded()&render=explicit"
            async defer>
</script>
<script type="text/javascript"
              src="https://cdnjs.cloudflare.com/ajax/libs/angular-recaptcha/3.0.3/angular-recaptcha.min.js">
</script>

@Saidorif
Copy link

I had the same issue "ReCAPTCHA couldn't find user-provided function". I removed document.ready() function. It worked!

@MohammedNoureldin
Copy link

I have the same issue, I have no document.ready();

@Hdezhkam
Copy link

Hdezhkam commented Dec 2, 2019

$(document).ready(function() {
onReCaptchaSuccess = function onReCaptchaSuccess() {
$('#errorRecapture').hide();}
});

 
 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.