Okay
  Public Ticket #2624034
Double booking on checkout
Closed

Comments

  • Mahmoud Safar started the conversation

    Hello,

    I just wanted to make sure of something since i've tried this in your demo website of amelia.

    Concerning double booking, if a customer X chooses employee A with service A  at time A (knowing it is available), but still hasn't paid for it yet during the process. At the same time, another customer Y chooses the same employee A with service A at time A (which is still available since customer X hasn't checked out yet to pay for it). On the demo website, it seems that both of them can book the same timeslot (knowing that the employee and the service only allows 1 customer per time slot), and they proceed with the payment.

    To mimic this scenario, i just opened two sessions on the demo website.

    My only concern here is a race condition, whereby two customers can book the same employee and service at the same time. Will that ever happen? Is there a reserved timeslot scenario which reserves the slot for an X amount of time up until they pay for the appointment? I'm even worried about the integration with woocommerce.

    We still haven't reproduced it yet locally since the plan on creating the website with amelia is still in progress. But we just wanted to make sure that double booking is not allowed with the right configurations of amelia of course.

    It's a main concern to us since the type of business we're trying to make relies on such behaviour.

    Waiting for your feedback!

    Thanks,

    Mahmoud

  • [deleted] replied

    Hello,

    Concerning double booking, if a customer X chooses employee A with service A  at time A (knowing it is available), but still hasn't paid for it yet during the process. At the same time, another customer Y chooses the same employee A with service A at time A (which is still available since customer X hasn't checked out yet to pay for it). On the demo website, it seems that both of them can book the same timeslot (knowing that the employee and the service only allows 1 customer per time slot), and they proceed with the payment.

    This can be limited on a service level by max service capacity and Amelia won't allow you to book the same employee on the same time.

    My only concern here is a race condition, whereby two customers can book the same employee and service at the same time. Will that ever happen?

    No, it's not possible.

    You can try Amelia during 15 days and get the refund if it doesn't suit your needs.