Support

Home Forums Event Espresso Premium reCAPTCHA

reCAPTCHA

Posted: October 3, 2023 at 5:18 am

Viewing 17 reply threads


Ronald Aoki

October 3, 2023 at 5:18 am

Hello,

Where do I paste the reCAPTCHA short code in EE3, or is it even needed? Does it go on the Reg form page in EE3?

[bws_google_captcha]

We’ll be upgrading to EE4 soon, but in the meantime, this would be helpful because we are receiving a lot of bot/spam registrations without the reCAPTCHA feature working properly.

Thank you.


Tony

  • Support Staff

October 3, 2023 at 6:21 am

Hi there,

That’s a shortcode from another plugin, are you not using reCaptcha built into EE3?

Event Espresso -> General Settings -> reCaptcha Settings


Ronald Aoki

October 3, 2023 at 5:52 pm

Hi,

We were using the free version and now the pro version for the public and secret keys from bestwebsoft.

If we do not need to use a third party shortcode, where do we get the keys from? Is there a specific plugin that you recommend?

This third party plugin that we are using also protects our WordPress login page as well.

Thank you.


Tony

  • Support Staff

October 4, 2023 at 6:28 am

If we do not need to use a third party shortcode, where do we get the keys from? Is there a specific plugin that you recommend?

No plugin, no.

Event Espresso has the code to include the reCatcha built into it.

What you need is your reCaptcha keys from:

https://www.google.com/recaptcha/about/

Click v3 Admin console (Do NOT click enterprise)

Sign in with your google account you wish to create your reCaptcha keys with.

Create a new v2 key and use the ‘”I’m not a robot” tickbox’ type.

Generate your keys and add them within

Event Espresso -> General Settings -> reCaptcha Settings

Then try registering onto an event whilst logged out of the site.

Do you see reCaptcha then?


Tony

  • Support Staff

October 4, 2023 at 6:29 am

Or, if you are using reCaptcha keys with the above 3rd party plugin already, can you not just add those to the EE settings?

They are Google reCachpta keys, correct?


Ronald Aoki

October 4, 2023 at 10:41 pm

Yes, they are Google reCAPTCHA keys, which are being used for the built in EE reCAPTCHA feature and the reCAPTCHA tickbox does appear, but the recent problem we are seeing is when the built in reCAPTCHA feature for the registration page is activated (Yes), the user is not taken to the confirmation page to complete the usual registration process. Instead, it goes back to the registration page but with no confirmation info.

When we deactivate the feature (No), however, users are taken to the confirmation page to complete the registration process upon submission. While this allows participants to register, it also allows for daily multiple bot/spam registrations.

Please do a test registration to see what we see. I will leave the reCAPTCHA feature activated for 24 hours.

https://www.hdihawaii.com/online-registration-2/?ee=237

Thank you.


Ronald Aoki

October 4, 2023 at 10:47 pm

In short, the reCAPTCHA feature is now preventing registration confirmations and therefore any registrations when activated. Please advise.


Tony

  • Support Staff

October 5, 2023 at 6:11 am

When you generated those keys, did you generate v2 checkbox keys?

Go here: https://www.google.com/recaptcha/admin

What do you see? (Post a screenshot but mark your reply private, I’ll remove it once viewed … or send them to support[at]eventespresso.com)

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Ronald Aoki

October 7, 2023 at 6:52 am

This reply has been marked as private.


Tony

  • Support Staff

October 8, 2023 at 3:23 pm

Hmm, ok.

So the validation with reCaptcha is failing.

Can you send me FTP credentials over, I’ll need to add some debug code to the reCpatcha call to see what the response is:

https://eventespresso.com/send-login-details/


Ronald Aoki

October 8, 2023 at 4:02 pm

Image uploaded.


Tony

  • Support Staff

October 9, 2023 at 3:25 am

Sorry, image?

Uploaded where?

We’ve not had a form submission for the above.


Ronald Aoki

October 15, 2023 at 5:49 am

This reply has been marked as private.


Rio

  • Support Staff

October 15, 2023 at 6:47 pm

Can you tell us if you did send the login details?
https://eventespresso.com/send-login-details/

thanks


Tony

  • Support Staff

October 16, 2023 at 3:17 am

Hi there,

allow_url_fopen has been disabled on your server, the version of ReCaptcha EE3 uses requires allow_url_fopen to be enabled so that’s why it currently fails.

Do you have access to cPanel or similar with your hosts? You will usually have the option to enable/disable it there if so.


Ronald Aoki

October 17, 2023 at 12:25 am

Thank you Tonay! That was the fix. I had our web host activate this and now the reCaptcha and the registration/confirmation form works as it should. Thank you very much! This was such a huge help. Thank you.

Ron


Ronald Aoki

October 17, 2023 at 12:25 am

Thank you Tony!


Tony

  • Support Staff

October 17, 2023 at 9:06 am

Hi Ron,

You’re most welcome, I’m glad it’s now working.

Any further issues just let us know.

Viewing 17 reply threads

The support post ‘reCAPTCHA’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso