Website · 2026/11/17

Everyone wants the same slot. How does a booking site avoid a double booking?

Two guests can both see 3pm open. That is ordinary. The question is whether the site checks again when each of them confirms, and keeps the place for only one. A calendar that refreshes quickly is not enough to stop a clash.

A booking site has to know, for that same stretch of time, whether the person, the room, and the equipment can all do the work. Phone, walk-in, and web bookings then have to land in one record. A Google Calendar sync can help. It does not replace those rules.

Open times can be calculated. They do not have to be rebuilt every morning

Say a studio has two people, different hours, Tuesday closed, and weekends only half a day. Set the usual working time, then remove bookings already held, leave, and dates you have paused. The site can list what a guest may choose. The manager does not have to create every empty cell by hand.

Then set the length. A ninety-minute service with cleaning and setup before and after does not occupy only ninety minutes. If you close at five, whether four-thirty can still take a one-hour service comes from those rules. The start time being inside opening hours is not enough.

You can also decide how far ahead a booking may go, and how late you still accept one. A walk-in and a booking a month out may follow different rules. When a rule changes, look at the next week of openings before guests see it. A missing lunch break or a missing day off shows up there.

A booking already confirmed should not silently move because the rota changed. If a colleague is suddenly off, the system can list the guests affected so the shop can arrange cover or call about a new time. A confirmation the guest already holds does not disappear because the admin rota moved.

For an online service with guests abroad, write the time zone next to the time. Eight in the evening in Taiwan may still be morning where they are. The confirmation, the screen after payment, and the calendar have to name the same moment. If the service area uses daylight saving, test the display when the clocks change. Do not freeze an ordinary offset for the whole year.

One booking can hold a person and a room at the same time

Two teachers being free does not mean you can take two guests at once. If there is one consulting room, the room is the limit. If there is one piece of equipment, extra people still cannot use it together. Check the resources the service needs at the moment of booking, or the rota will look sensible and the room will still be waiting.

Skill counts too. If only one colleague can do a service, “no preference” must not assign it at random. Find who is qualified, then see who is free. Whether the manager may override that stays in the admin, as a staffing decision.

Some services pause in the middle: prepare, do the work, wait, tidy, each holding a different resource. Scheduling every slice makes the system heavier. A first version can hold the whole block. The cost is that some of that time cannot take another job. Say that trade plainly, so the shop knows which scheduler it bought, instead of discovering after launch that it does not match the paper rota.

Among the public projects taken through a partner team, the Sophia jewellery site revision included product categories and in-store booking. That is the scope of that commission. It is not a finished booking product you can drop onto a multi-person rota, shared equipment, and deposits. Your own steps still have to be matched.

There is a gap between “it looks open” and “it is held”

Let two guests both choose 3pm. The first finishes the form. The second is still typing a phone number. If each check only remembers that the slot was open a moment ago, both can receive a success note. The safer check happens on the server at the moment of the hold. One place left means one success.

The second guest then needs a next step: this time was just taken, choose another opening. Keep what they already typed. A clash should not wipe the form. The screen is small, and it decides whether they try again.

A deposit usually needs a temporary hold. For the minutes the first guest is paying, is the place kept for them? Until when? When does a broken payment reopen it? The guest should see the deadline. The shop should see why the slot is occupied, so “waiting for payment” is not read as “confirmed.”

The countdown must not restart because the page was refreshed. It has to match the hold on the server. Otherwise one guest can keep a slot shut by opening the page again and again.

Phone and walk-in bookings have to enter the same record. After a staff member says 3pm is free on the phone, they write it in at once, and the site stops offering it. A separate paper rota is invisible to any clash check on the web.

A calendar can sync. Changes still need one front door

Google Calendar free/busy query returns whether a stretch is busy. It does not carry the title of a private event, and it does not say whether the person can do the service, whether the room is free, or whether cleaning has to be added. Those stay as rules on the booking site. The documented maximum is fifty calendars in one query, and one hundred identifiers when a group is expanded. A large team cannot assume one call covers every branch.

The easier start is to keep the official booking on the site and use Google Calendar so staff can see it. Reschedules and cancellations go back to the site, then the calendar updates. If you also want a staff member to drag a time on the calendar and change the guest booking, you then have two-way sync, conflicts, and a notice to the guest.

Does deleting a calendar event cancel the order? If someone deletes it by mistake, is there a refund? Those two questions tell you whether two-way sync is actually needed. If the answers are still unclear, treat the calendar as a view. The daily work is often easier to follow.

A private calendar can supply only free or busy, without putting private event names in front of a guest. Decide which calendars the company reads and who authorises them. When someone leaves or an account changes, you then know which connections to close.

Sync can also stop. Google writes that a sync token can be invalidated by expiry or by a change in access. An incremental request then returns 410, and the client should wipe the calendar copy it stored and run a full sync. For the shop, what gets wiped is that calendar copy, not a booking the website already confirmed. The confirmed booking stays on the site. Engineering rebuilds the sync data. After it returns, the same booking should not appear several times on the calendar. Someone has to see the failure. A 410 is not “the order disappeared.”

A late deposit cannot push the person back into a slot that is gone

You can confirm the booking only after payment succeeds, and use a temporary hold so the guest has time to pay. The confirmation follows the payment result you checked, not only the screen they saw when they returned to the site.

Stay with 3pm. The first guest hold has ended. The place was released and the second guest took it. The first guest success notice arrives a step later. Money received does not create a second seat at 3pm. Mark it for a person. The shop offers another time, or refunds under the rule that applies. Do not create a second booking that clashes.

A broken payment page is also not proof the charge failed. Keep a stable number between the booking and the payment service so the actual result can be looked up. The same payment notice arriving twice must not create another booking, and it must not take the deposit again because the guest pressed the button more than once.

If you reconcile a transfer by hand, the hours of the person who checks the account belong in the hold rule. Taking orders at night, checking them the next day, and holding the slot for ten minutes will not meet. Set a confirmation window that matches the work, then decide what the guest sees.

Before you open it, let two phones grab the last slot, and break one of the payments on purpose. See whether the other person can pick another time, whether the hold expires, and whether staff can see why. That pass tells you whether the site can handle the day when everyone really does want 3pm.

Sources: ZhuYun Digital, work. The Sophia jewellery revision, taken through a partner team, included product categories and in-store booking. It is not an off-the-shelf booking product. Google Calendar API, Freebusy: query. Returns busy intervals. calendarExpansionMax maximum 50. groupExpansionMax maximum 100. Google Calendar API, synchronize resources. An invalid sync token returns 410. The client should wipe its calendar copy and full-sync. That is not a wipe of confirmed bookings on the site. Checked 2026-11-27.

We can put the rota, the room, and the second check at confirm into the booking page, and we can connect a calendar or a payment service you already use. The site keeps the official booking. The calendar is what staff look at. That is web development plus system integration, not a calendar that promises a clash can never happen.

Put the opening rules on the site Connect the calendar and payment

FAQ

Can guests see open times without the shop building every slot each day?

Yes. Set the usual hours, the length of the service, the prep time, and how far ahead you open, then remove leave and bookings already held. After a rule change, look at the next week before guests see it. A booking already confirmed does not silently move with a new rota. If someone is suddenly off, list the guests affected and let the shop arrange cover or a new time.

If the site syncs Google Calendar, does that stop a double booking?

A free/busy query returns whether a block is busy. One call covers at most fifty calendars. It does not say who is qualified, whether the room is free, or how long cleaning takes. A manageable start keeps the booking on the site and uses the calendar for staff to look at. If the sync token fails, Google says the client should wipe its calendar copy and run a full sync. That wipe is the calendar copy, not the booking the shop already confirmed.

If a deposit arrives after the hold expired, can the original time come back?

A temporary hold needs an end time, and refreshing the page must not restart it. Once the hold ends and the next person takes the slot, a late success notice cannot push a second person into 3pm. Mark it for a person. Offer another time, or refund under the rule that applies. The same payment notice arriving twice must not take the deposit twice.