Support

Home Forums Event Espresso Premium Stop Duplicate Registrations

Stop Duplicate Registrations

Posted: April 12, 2016 at 3:13 pm


Mike Doughty

April 12, 2016 at 3:13 pm

Hi,

I was wanting to clarify if EE4 has functionality built into to stop duplicate registrations based on a registrants’s email address?

Thanks, Mike


Tony

  • Support Staff

April 13, 2016 at 3:55 am

Hi Mike,

So you only want to allow a user to register onto an event once based on their email address?

Event Espresso does not do this by default, it allows a user to register multiple times onto any event. However it would be possible for a developer to add this functionality using this hook:

AHEE__EE_Single_Page_Checkout__process_attendee_information__end

Which fires when a user enters their registration details and clicks to proceed.

So at that point you can loop over the EE contacts linked to the registrations on the event and check if the email has already been used.


Mike Doughty

April 14, 2016 at 2:25 am

Thanks for the update. Out of interest, what is the business case or practical situation which has caused you to allow duplicate registrations? I would have thought duplicate registrations would have been an issue in any situation.

Thanks, Mike


Tony

  • Support Staff

April 14, 2016 at 4:33 am

In a nutshell we do not ‘police’ your registrations and it allows Event Espresso to be used across the widest range of use cases.

The option is there if you would like to try and limit registrations based on email address, however its almost impossible to prevent a user from registering multiple times without forcing all of your events to be member only and limit each member to a single purchase (although again member limits would require custom development).

A single user has almost unlimited email address, have a gmail account? Then you have unlimited email addresses for your single account:

example@gmail.com
e.x.a.m.p.l.e@gmail.comm
example+another@gmail.com
exam.ple+andanother@gmail.com

All of those email addresses are valid and all of them go to example@gmail.com

How do you compare those email addresses and allow valid emails? You could filter only gmail addresses for that logic, but then you where do you stop?

Even if you did then monitor those email addresses, if a user really wants to register again what about, example@hotmail.com, example@yahoo.com, example@sharklasers.com

Just some examples but the point is that duplicate registrations from the same person can not be prevented using email addresses, you would need a membership site for that but EE is designed to suit the majority of uses cases with hooks galore so you can alter the behavior if needed 🙂

The support post ‘Stop Duplicate Registrations’ 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