Posted: September 16, 2022 at 4:58 am
Hello there. I’m having some issues with users adding to the waitlist or when a user initially purchases orders. The problem is: that when a user registers or is registered by admin and the user goes to an event to add it to their waitlist, the user’s order is not added to their order in their user’s profile but the registration is created. But when the user profile is saved, it displays the order/registrations in their profile and then only they will not be able to add to the waitlist again. So, why is the order not showing when they add to the waitlist initially? FYI, we’ve customized the add to waitlist button to work allowing or disallowing users when the users have purchased the event or have added to the waitlist. I look forward to hearing from you. Thank you. |
|
By order history in user profile, I meant in here https://monosnap.com/direct/DbmNOApqdjEnTmSYwmWTOX5ZvGV1bg. |
|
Hi EventEspresso Support team, I’m following up if there’s any response from you. I look forward to hearing from you. Thank you. |
|
Hi there, My apologies for the delayed reply. So I’m not really sure I follow this, the member history section you’ve posted does not appear to be something from Event Espresso? Unless it is a heavily modified version of the WP Users You mentioned updating the profile, so saving the profile then shows the waitlist registration in the Member History? Can you post up each step to reproduce this, please? With a screenshot of each of those steps as well if possible? |
|
Hi Tony. Thank you for your response. Please find a video link where I’ve shown the issue. https://www.loom.com/share/b5d9b56498724338a8b9c66eb5dca510 Below are the steps that I want to point out.
Not sure, what is missing that the user subscription is not showing in the first place. And it is showing only after the user profile is updated. Please let me know if you have any other questions. Thank you. |
|
First, thank you for the video and the rundown, it helps to know exactly what is happening. I can reproduce this and the reason it works after the profile update is the WP USer integration add-on hooks into the profile update to make sure the WP User and EE_Contact are in sync…. when they are in sync the registrations display. So, for some reason on the initial registration, the WP user integration add-on is not syncing the WP User and EE_Contact on that request. I’m checking into this currently and will let you know what I find. |
|
September 28, 2022 at 12:28 pm Ok, this took a little digging and now its found, it’s obvious why π The WP User integration add-on hooks into the Single Page CheckOut process (SPCO for short) to sync up the WP User to the EE_Contact. Waitlist registrations are generated completely outside of SPCO in their own method, so the call to sync up the contact doesn’t happen for waitlist registrations. This won’t matter if a ‘regular’ registration is done before/after the waitlist registration or the profile is updated because the sync will then happen and all registrations linked to the contact show up for the WP User account. So it’s an issue with a new WP User account that has only registered onto a waitlist registration(s). You an fix this using a snippet like this: https://gist.github.com/Pebblo/282b1cf363b06bd5a09d4ee51e2bd016 You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ I’ll create a ticket for the WP User integration add-on to hook into waitlist registrations and do this automatically in a future version π |
|
Hi Tony. Thank you for your response. I added the code and it worked like a charm. π Thanks a lot. Regards. |
|
September 29, 2022 at 12:52 pm You’re most welcome π |
|
The support post ‘The add to waitlist is not working properly’ 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.