Support » Plugin: Events Made Easy » Overbooking beyond maximum guest numbers

  • Resolved timb111

    (@timb111)


    I’ve just found that EME has overbooked the number of guests. The maximum limit is set at 13 guests but EME has accepted 14 guests. I checked the booking times and both guests submitted the booking form at the same time today (2.18pm), and one guest paid at 2.18pm and the other at 2.19pm.

    Is there any way to prevent this happening, as I don’t ever want the bookings to above the set maximum guest limit?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Franky

    (@liedekef)

    I check he number of available seats at booking time (even after they press the submit button), so the possibility to get over the limit is next to 0.
    However, maybe some other condition arrises here … because you talk about payment too. So: what are the settings for your event? Do you work with pending seats, auto-approval after payment, … ?

    Thread Starter timb111

    (@timb111)

    So 10 of 13 places were booked by 2pm today, then the booking and payment times are as follows:
    – 2.04pm booking, paid at 2.05pm with PayPal.
    – 2.17pm booking, paid at 2.17pm with Stripe.
    – 2.18pm booking, paid at 2.19pm with Stripe.
    – 2.18pm booking, paid at 2.20pm with Stripe.

    So now EME shows the event info as:
    – Free: 0
    – Approved: 14
    – Pending: 1
    – Max: 13

    The event RSVP settings are:
    – Require booking approval: y
    – Require user confirmation after booking: n
    – Auto-approve booking upon payment: y
    – Consider pending bookings as available seats for new bookings: y
    – Seats: 13
    – Waitinglist seats: 0
    – Check waitinglist when seats become available: n
    – Max number of seats to book: 1
    – Min number of seats to book: 1
    – Attendance-only event?: n

    Plugin Author Franky

    (@liedekef)

    Ok, it is possible that “Consider pending bookings as available seats for new bookings: y” is the problem. The user booked, booking is set as pending and then the payment happens. I need to check the code, but it is possible that at moment I currently no longer check for free seats. Let me see …

    Plugin Author Franky

    (@liedekef)

    Further analysis:
    – when a booking is pending and the user comes to pay, it is always possible to do so. I’ll check for available seats excluding the booking being paid for the next time
    – when several pending bookings are in progress of being paid for (via their payment gateway), those bookings will go through. ==> while I can check for available seats after the payment arrives, it is very difficult to explain to someone their booking was first ok, then *after* payment the booking is refused … I’d need to refund then, and not all payment gateways accept refunds so fast. So this last scenario is currently staying as is. Unfortunately I believe that scenario is your case here, no?

    Thread Starter timb111

    (@timb111)

    Yes, I believe that my situation was the last scenario.

    I appreciate that some people fill out the booking form but then don’t complete the payment and so these pending bookings shouldn’t be counted as occupied places, but then if multiple people complete the form at the same time and then make their payment soon after then the event will be overbooked.

    I guess that’s why some events websites temporarily hold a place when you start the booking process and give a countdown for people to complete their booking. I’m not sure how complicated that would be, or whether that would introduce its own problems.

    Plugin Author Franky

    (@liedekef)

    Well, maybe it is possible to count”free” pending places as occupied within the first 5 minutes after booking too … Need to check the SQL hete first 🙂
    I’m marking it back as not resolved until I get a chance to look at that.

    Plugin Author Franky

    (@liedekef)

    I still need to test this, but this change might help (fixed to 5 minutes to consider “young” pending bookings as occupied):
    https://plugins.trac.wordpress.org/changeset/2721421/

    Thread Starter timb111

    (@timb111)

    That should certainly prevent overbooking, thanks Franky.

    Is it possible to put a (custom) notification on the website when the last available place is in the process of being booked, so that another person is aware that they may still get a place if they refresh the page in 5 minutes? Otherwise it will just show as full and they will leave the website.

    Plugin Author Franky

    (@liedekef)

    I added the placeholder #_YOUNGPENDINGSEATS , so you can check that for an event and show it during the form.

    Thread Starter timb111

    (@timb111)

    That’s great, that should do the trick! Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.