Specify a Keyboard Route Through Seat Selection
Give ticket buyers a usable keyboard route, spoken seat names and clear hold feedback. Use this acceptance checklist around your embedded seating chart.
Persist a booking-session id, reload the server-held cart, handle expired or frozen states, and show buyers which seats they still own after a refresh.
After a buyer refreshes a booking page, the map’s last drawn selection is not proof that the seats are still held. Restore from the server. A Seatmap Pro booking session holds seats and general-admission capacity for one event and returns the cart, state and expiry needed to rebuild the page.
BookingSessionClient with the booking-service URL and the organization’s public key.create(eventId, key). If the response is lost, retry with that same key so the server returns the same session. Store the returned session id where the intended reload can find it. The id is a credential, so limit where the page stores and exposes it.lock. Render the cart returned by the server, not the click itself. If the hold is refused, show the conflicting seat and leave any other held lines visible. Use unlock when the buyer removes a line.get(sessionId) and verify the event id. Rebuild the page’s visual selection from session.cart.seats and session.cart.groupOfSeats. If the id belongs to another event, do not apply that cart to the current map.Do not create a second session just because the page reloaded. That would leave the first cart holding seats until its own expiry while the buyer sees a new, empty cart.
For general admission, the lock selection sends the desired total capacity for an area, not an increment. Repeating a request for two places should still mean two places. Include both numbered seats and general-admission capacity when you enforce the session’s maxSeats limit.
| Session state | Page behavior after reload |
|---|---|
ACTIVE |
Restore held lines, total and the remaining time; allow changes. |
PENDING_PAYMENT |
Show the frozen cart and payment return path; do not enable seat editing. |
CONFIRMED |
Show the order result from your platform, not an editable selection. |
CANCELLED or EXPIRED |
Clear the local selection and explain that the hold ended. |
The session payload includes serverTime and expiry information. Use them to show a countdown, and call get again when the timer reaches zero. A local timer cannot extend a hold. If get fails after a network interruption, show a temporary verification state instead of claiming the seats are lost or secured.
At payment, checkout freezes the held cart. Your server confirms it after the order succeeds. Test reloads while the cart is active, during payment, after expiry and after confirmation. A page that restores three blue seats but the wrong session state has not restored the buyer’s cart. For a walk-through with your event, book a demo.
Give ticket buyers a usable keyboard route, spoken seat names and clear hold feedback. Use this acceptance checklist around your embedded seating chart.
Handle a seat upgrade with server-held inventory: check cart capacity, hold the replacement, release the old seat, recalculate the total and handle conflicts.
Model boxes, balconies and standing room once, then set prices and holds for each performance. Use this theater seat-map checklist before a run goes on sale.