Support

Home Forums Event Espresso Premium Can't purchase ticket for other members

Can't purchase ticket for other members

Posted: March 30, 2022 at 1:33 pm

Viewing 1 reply thread


scladmin

March 30, 2022 at 1:33 pm

We set up a registration for an upcoming event and also have an integration with PMPro. When a member purchases a ticket for themselves and another member, they are receiving an error message that they cannot register for that member because the “email address matches an existing user account in our system:. Is there a way that we can turn off this feature so that people can register for others in their group who are also already members?


Tony

  • Support Staff

March 31, 2022 at 5:14 am

Hi there,

Yes, you can use the bottom snippet here:

https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match_everyone-php

So you would add:

add_filter( 'EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check', '__return_false' );

To a custom functions plugin on the site to disable the above check, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Side note you will likely also want to disable the ‘sync contact’ feature in:

Event Espresso -> Registration Form -> User Integration Settings

Set the ‘Always sync contact information with WP user profile?’ option to No and save.

Viewing 1 reply thread

The support post ‘Can't purchase ticket for other members’ 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