Posted: May 23, 2017 at 11:00 am
|
Hello Experts, Thank you in advance, |
Hi David, The Pending payment registration should count for up to 1 hour then their reservation should automatically get released back into the inventory. If that does not happen, then that may be an indication that your server has the wp_cron() function disabled. In which case, you can go to Event Espresso > Maintenance > Reset and you click on the button that says: Reset Ticket and Datetime Reserved Counts. |
|
|
Hi Josh, Thank you in advance, |
Hi David, You can contact your host and ask them if they’ve disabled wp_cron. If they say they’ve disabled it, then they may have set up an alternative. You can also install this plugin to check to see if cron events are getting scheduled and run: |
|
|
Thank you. One more question, is it possible to shorten 1 hour timeout? |
Yes it’s possible. You add the following to site specific plugin:
Please note that some of the users of your website may not be able to complete the registration form in the allowed time, and the form isn’t complete in time, they’ll get an error message informing them their registration session time has expired. |
|
Yes it is. You can setup a Custom Functions Plugin and add a similar similar to this one: https://gist.github.com/Pebblo/ee5b686c56fef27dbccb08602821e582 Note that snippet sets the lifespan to 2 hours (120 minutes), you can change the value within your function. We don’t recommend going any lower than say 15 mins otherwise you may start to cause problems for your registrations. The session lifespan is the liftetime of the session from when the user selects tickets right through to the end when they pay/finalize. If the session expired before they finish they will need to restart the registration again. |
|
|
Thank you so much for your responses. David |
The support post ‘Pending Payment registration counted for a spot’ 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.