Go-live checklist
Build against a test copy
Develop and test against a staging or test copy of the venue's Odoo (on Odoo.sh: a staging branch), never production. Bookings made while testing block real courts, and SMS codes use real credits. Ask the venue for:
- the staging URL (base URL:
https://<staging-domain>/api/booking/v1), - a test player account, or a phone or email you can receive codes on,
- a payment provider in test mode on staging, so you can pay with test cards.
On the venue's Odoo
- Court Booking API installed, same version on staging and production
- Facility types for the app are Bookable Online, with payment rule, deposit, payment time, cancellation cut-off and limit per customer set
- Courts and rates checked:
/availabilityshows the prices the venue expects, at peak and off-peak hours - Customer sign-in method and code channel set; SMS credits bought if codes go by SMS
- A payment provider published (live on production, test on staging) when deposits or full payment are on
-
web.base.urlis the public https domain (payment links use it) - For a web app: its origin in Settings > Court Booking > Player apps (API)
- Confirmation email template reviewed (Settings > Technical > Email Templates, "Court Booking: Confirmed")
In the app
- Shows only the sign-in methods on in
/config - Asks for the name when
new_customeristrueor the answer isname_required - Token kept in the Keystore or Keychain; a
401 unauthorizedgoes back to sign-in - Times shown as venue local time, not converted to the phone's time zone
- Date picker limited to
today..last_date, durations limited todurations - A new
client_uuidper booking, the same one on retries - Availability loaded again after a refused booking and when the app returns to the foreground
- Payment page opened in Custom Tabs / SFSafariViewController, booking state read with
GET /bookings/{id}afterwards - Hold countdown from
hold_expires_at(UTC) - Cancel button follows
can_canceland showscancel_blocked_reason - Error
messageshown to the player as it is
Test cases
- New player by phone code, with the name step
- Existing player by email code and by password
- Book a pay-at-venue type: confirmed at once, email received, visible on the Odoo schedule
- Book a deposit type: hold, pay with a test card, confirmed; the remaining amount shows at the Point of Sale
- Close the payment page without paying, then Pay now from the list
- Let a hold expire: the court is free again in
/availability - Two phones book the same court at the same time: one gets the booking, the other a clear message
- Airplane mode during Book, then retry: still one booking
- Cancel before and after the cut-off
- Sign out, and a device signed out by the venue in App Sign-ins
Was this page helpful?