Designing a Race-Safe Shopify Consultation Booking FlowDesigning a Race-Safe Shopify Consultation Booking Flow
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
What happens when two people buy the same consultation slot?
That is the part of a Shopify booking app I like working through. A calendar can look fine while two checkouts are both holding the same time.
In my booking design, choosing a slot creates a 10-minute hold. Confirmation goes through an order webhook, and a PostgreSQL constraint decides whether that slot is still available. Repeated delivery of the same order has to be safe too.
There is another detail that is easy to miss: 9 AM in the shop's timezone has to stay 9 AM when the server runs in UTC. I keep the slot calculations in UTC and test them against the shop timezone.
I wrote up the slot engine and calendar integration here. This is a sanitized capability template, with client details removed: Shopify Consultation Booking
If you have built a booking flow, when do you reserve the slot: when someone selects it, or when payment completes?

portfolio-ichigo.vercel.app

Shopify Consultation Booking Platform | Vedansh Kumar

An embedded Shopify app for booking expert consultations — timezone-correct slot engine, calendar + video sync, idempotent order webhooks, and TTL holds that make double-booking impossible.

Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started