Gix075 / ajax-contact-form

An easy to use and hightly customizable Ajax Contact Form, including inputs validation and Google ReCaptcha.
MIT License
6 stars 1 forks source link

reCaptchaValidator: AjaxError! #1

Open anybany opened 8 years ago

anybany commented 8 years ago

Hi, i got a little noob problem here :) I am trying to use your acf-demo files on my website: http://athletia.net/acf-demo.html

I uploaded all content from /dist to my web server and edited acf-demo.js and the config.php with my Google reCaptcha keys and my email adress in $to. I also deleted the email confirmation, attachments upload and privacy policy form-groups from the markup because i don't need them.

When i now fill in all fields in the form, tick the reCaptcha and click send the spinner shows up but doesn't stop and the reCaptcha says "It seems that you are a robot!". In the Chrome Dev Tools console there is a reCaptchaValidator: AjaxError! on line 8 in ajaxContactForm.pack.min.js so i replaced the minified version with the normal version and now the error is on line 2403.

But that's all. I don't really know how to investigate further from here.

Can you help me with that problem or give me a hint? ;)

Thanks a lot and greetings, Jan

Gix075 commented 8 years ago

Hi @anybany i don't know. I can only help you step by step. The only error that now i can imagine it's a recaptcha private key issue. Are you sure that your domain is correctly registered (one time only) on Google Recaptcha?

anybany commented 8 years ago

Hi @Gix075 thanks for your answer. Yes, i only registered athletia.net and to make sure i deleted the old key and registered the domain again to get a new key. but without success.

Archie22is commented 6 years ago

@Gix075 and @anybany

Did you ever come right? I am getting the same error even from the demo.