Support

Home Forums Event Espresso Premium Issues Registering Multiple People at Once

Issues Registering Multiple People at Once

Posted: January 14, 2016 at 1:48 pm

Viewing 34 reply threads


Valorie Reavis

January 14, 2016 at 1:48 pm

I am using EE4 and I’ve had multiple complaints that there are errors when trying to register multiple people. Once while purchasing two different types of tickets for the same event, e.g. one early bird and one guest ticket. This resulted in an error saying an invalid registration was received. A valid primary registration for the transaction could not be found.

The other was when trying to purchase six of the same ticket type. This asked them to proceed to payment, but when they did it gave an error saying they didn’t register for any events?

I’m using EE4 with PayPal Pro.


Lorenzo Orlando Caum

  • Support Staff

January 14, 2016 at 1:52 pm

Hi Valorie,

Could you share a link to the events page please?

Also, who is your hosting provider? I’d like to check to see if there are any errors. If there are not, then this could be also caused by caching running on the registration checkout pages.

Thanks!


Lorenzo


Valorie Reavis

January 14, 2016 at 3:49 pm

Hi Lorenzo,

Thanks for the quick response! Here is the link: https://salonspanetwork.org/annual-conference/

I am hosting with WPEngine, but had them disable caching on all pages running Event Espresso, including the one with shortcodes. Hopefully they did this completely…?

Thanks!

Valorie


Josh

  • Support Staff

January 14, 2016 at 4:17 pm

Can you put in a ticket with WPEngine support and ask them to doublecheck?


Valorie Reavis

January 20, 2016 at 4:08 pm

Hi there – I’ve confirmed all of the caching is off and also had them read the entire blog post regarding WPEngine and the confirmed all settings. I got another issue today saying no primary registrant could be found. Any other troubleshooting?


Josh

  • Support Staff

January 20, 2016 at 7:46 pm

Can you ask them about how long it took between the time they started the registration to when they tried to finalize the registration? The reason I ask is because there’s a time limit for the registration process. If the time runs out before they submit the form they’ll see that error.


Valorie Reavis

January 21, 2016 at 8:12 pm

Unless it’s incredibly short, that can’t be it. The users were entering the data and moving to the next step without delays between the steps – I was on the phone with them. One was registering 6 people, which I was able to do fine on my side and the others were 3 or 4 people.


Josh

  • Support Staff

January 22, 2016 at 7:48 am

Do you have any plugins activated on the site that are used to clean up the options table from time to time?


Valorie Reavis

January 22, 2016 at 1:19 pm

No, not that I’m aware of.


Josh

  • Support Staff

January 22, 2016 at 1:46 pm

This is something that would be really helpful to verify. Can you copy a list of plugins here and so we can check?


Valorie Reavis

January 22, 2016 at 1:50 pm

Of course! There are a few…

Aksimet
All-in-One Event Calendar by Time.ly
bbPress
Buddypres
Crop Thumbnails
Flexible Map
Force Regenerate Thumbnails
Gravity Forms
Gravity Forms MailChimp Add-on
Gravity Forms PayPal Pro Add-On
Gravity Forms Salesforce Add-On
Gravity Forms User Registration Add-On
Infographic Embedder
LayerSlider WP
Logos Showcase
Maser Slider Pro
Neue Shortcodes
NextGen Gallery
Pippity
PixelYourSite
Redirection
Revolution Slider
s2Member Frameworks3 Media Maestro
Simple Feed Customizer
Simple Tooltips
SlideOnline for WordPress

Thanks for checking for me – you guys know this better than I do!


Josh

  • Support Staff

January 22, 2016 at 1:57 pm

Hi Valorie,

You might try temporarily deactivating the Pippity plugin if it displays any pop ups over the registration forms, which could have the effect of interfering with the checkout. Along with that, if the other event calendar plugin changes the timezone settings for your site, it could have the effect of shortening the length of time that’s given for filling out the registration form.


Valorie Reavis

January 27, 2016 at 11:59 am

I’ve deactivated both of those plugins, but still got a complaint this morning saying they received an error stating the form data cannot be applied to any registration.


Valorie Reavis

January 27, 2016 at 12:00 pm

Sorry for the second post, but just wanted to also note that when I went into the dashboard I couldn’t find any abandoned registrations for the person who lodged the complaint.


Josh

  • Support Staff

January 27, 2016 at 1:24 pm

Can you triple check with WPEngine and ask them to verify that the following URLs on your site are set to no cache?

/annual-conference/
/annual-conference/registration-checkout/


Valorie Reavis

January 27, 2016 at 2:18 pm

Yes – here is the verification I just got from WPengine:

https://static.livechatinc.com/2819642/O1MMNPFY3W/03852f1df74356d85ef55eafa96c8e6c/Screen%20Shot%202016-01-27%20at%203.16.36%20PM.png


Josh

  • Support Staff

January 27, 2016 at 2:25 pm

Is that actually verification that /annual-conference/registration-checkout/ is set to no cache?


Valorie Reavis

January 27, 2016 at 2:34 pm

I’m assuming so as the screenshot shows all URLs (along with the parent page URLs) have caches turned off. I’m assuming they gave me that screenshot because it’s the 4th time I’ve asked them to verify.


Lorenzo Orlando Caum

  • Support Staff

January 27, 2016 at 2:58 pm

Hi Valorie,

I’m not familiar with varnish caching but it looks like your registration checkout page and other pages may be nested.

Generally, they are their own parent pages.

Could you try moving them from under the annual conference page to see if that changes anything?


Lorenzo


Valorie Reavis

January 27, 2016 at 3:04 pm

Wouldn’t this create issues for all users, not just a select few? I have more people that are successfully registering than those that are not….


Josh

  • Support Staff

January 27, 2016 at 4:54 pm

No not necessarily because it will only affect those that get the stale cache. It might be a good assumption that removing the nesting might help in this case.


Valorie Reavis

January 27, 2016 at 4:57 pm

Ok, thanks. I’ve already updated and asked the person having issues to clear their cache and try again. Will see if that fixes the issue in the next 24 hours likely.

Thanks,
Valorie


Josh

  • Support Staff

January 27, 2016 at 5:15 pm

If it is a caching issue on the server side, it will not help if the person having issues clears their browser cache. Those are two different things.

Lorenzo has a good recommendation there to try unnesting the registration-checkout page. Can you unnest that one page?


Valorie Reavis

January 27, 2016 at 5:36 pm

Hi Josh, I’ve already done that. I’m just waiting to hear if it works. Because we’re not really sure if that’s the issue, I also asked them to clear their cache just in case. If it’s not going to make a difference, it at least won’t hurt either. 🙂


Valorie Reavis

January 29, 2016 at 1:50 pm

Well, that didn’t work either. Still getting loads of complaints that the “Form data could not be applied to any registration”. This is becoming impractical if I have to manually process everyone’s registration because of these issues…


Valorie Reavis

January 29, 2016 at 2:44 pm

Also, I’m getting some issues with people trying multiple times. I now have a person that shows up in the dashboard with status “Pending Payment” but the transaction shows as successful?!


Josh

  • Support Staff

January 29, 2016 at 2:59 pm

Hi Valorie,

Normally these issues are caused by caching. We can try to assume for now that it’s not caused by caching and look at two other possibilities: 1) Another plugin as a contributing factor, or 2) they’re running out of time when they fill out the registration form. The way forward to troubleshoot these is 1) deactivate all of the other WordPress plugins, if no more complaints, then you reactivate the plugins one by one until things break again.

For #2, you can add the following code to your site to extend the amount of time limit for the registration session.

function espresso_set_session_lifespan() {
    return 120 * MINUTE_IN_SECONDS;
}
add_filter( 'FHEE__EE_Session__construct___lifespan', 'espresso_set_session_lifespan' );

You can add the above to a functions plugin, then activate the plugin, or into your WordPress theme’s functions.php file.

Also, I’m getting some issues with people trying multiple times. I now have a person that shows up in the dashboard with status “Pending Payment” but the transaction shows as successful?!

For that issue, you can contact WPEngine support and request that they allow the WordPress Heartbeat API scripts to load on the Thank You page. There’s more details about that here:

https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/#heartbeat


Valorie Reavis

February 7, 2016 at 5:01 pm

The Heartbeat API has been enabled since I started this thread. This issue is still not resolved despite me completing every single request. INCLUDING triple checking with WPEngine on caching with the same confirmation each time. How are we going to resolve this as it’s becoming a nightmare.


Tony

  • Support Staff

February 8, 2016 at 6:08 am

We often see users on WPEngine reporting that they have contacted support and been told that the site is not caching, only for us to view the headers and find the page is still being served from cache. Here is a quick example:

https://eventespresso.com/topic/ee3-to-ee4-upgrade-errors-and-cart-always-empty/

This is why we ask to check multiple times that WPEngine has set the pages to be excluded from caching.

I did take a look over your site and can’t see any signs of caching within the headers of the registration pages (note this does not actually mean that the page aren’t being cached, it should, but not always)

The Heartbeat API has been enabled since I started this thread.

When I run a registration on your site and select cheque, on the thank you page I get this – http://take.ms/w6Usn

The transaction info should load in that section and it should disable instructions for your cheque payment method, however that won’t happen if heatbeat is not enabled.

I did however manage to run into the same problem your users are reporting but it is unclear why it happens. It seems something is clearing the session at random times, I’ve varied my registrations across different lengths of time, most of them work but some did not.

If you load up something like wp control is there a cron setup in the list to do any kind of cleanup?

One issue I did notice on the site although it should not really be connected to this it would be good to rule out. The S3 Media Meastro plugin is loading resources over HTTP when the page is HTTPS – http://take.ms/gMCEq


Valorie Reavis

February 8, 2016 at 12:08 pm

I installed WPCron and got the following two that reference ‘cleanup’

AHEE__EE_Cron_Tasks__clean_up_junk_transactions
upgrader_scheduled_cleanup

I also confirmed again with WPEngine that the heartbeat API is already enabled on this site. They moved it up in the configuration in case that was causing the issue.


Tony

  • Support Staff

February 9, 2016 at 7:13 am

I also confirmed again with WPEngine that the heartbeat API is already enabled on this site. They moved it up in the configuration in case that was causing the issue.

Did they enabled it site wide or only on their ‘blessed’ pages? (Likely the latter) the reason I say that is heatbeat.min.js is not loading on your thank you page.

This is your site – http://take.ms/X0oBS

My test site – http://take.ms/MQrLq

This usually happens on WPEngine because they disable heatbeat on all but a few pages and the admin. Can you try adding the function available here:

https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/#heartbeat

To either your themes functions.php file or a Site Specific Plugin

Also did you add the code Josh posted previously to ensure the session time was correct?


Valorie Reavis

February 19, 2016 at 12:20 pm

Hi there – I did all of the things you requested and I’m still getting complaints. Today I received two error complaints saying that when they click to proceed to payment it says there is no event…. Please! What else can I do?


Josh

  • Support Staff

February 19, 2016 at 12:34 pm

Hi Valorie,

You can still ask WPEngine to allow the Heartbeat API script to load on your site’s Thank You page.

Here’s a screenshot taken from the web inspector that shows where the Heartbeat API script should normally appear on your site. You’ll note that it’s missing from the list.

For your (and WPEngine support’s) reference, here’s a screenshot that shows where the heartbeat script normally appears in the list of script resources on the Thank You page.


Valorie Reavis

February 19, 2016 at 4:52 pm

I just asked AGAIN and they confirmed it was set on their end. They said it was an issue with EE not picking it up rather than it not being set on the server…


Josh

  • Support Staff

February 19, 2016 at 6:12 pm

EE sets its scripts to load on the Thank You page. When they’re not loading there, then something may be blocking them. Can you push the current site to a staging site on (that’s standard for WPEngine), then send us credentials for the staging site so we can investigate further?

Viewing 34 reply threads

The support post ‘Issues Registering Multiple People at Once’ 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