Skip to main content

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: /availability shows 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.url is 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_customer is true or the answer is name_required
  • Token kept in the Keystore or Keychain; a 401 unauthorized goes 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 to durations
  • A new client_uuid per 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_cancel and shows cancel_blocked_reason
  • Error message shown to the player as it is

Test cases​

  1. New player by phone code, with the name step
  2. Existing player by email code and by password
  3. Book a pay-at-venue type: confirmed at once, email received, visible on the Odoo schedule
  4. Book a deposit type: hold, pay with a test card, confirmed; the remaining amount shows at the Point of Sale
  5. Close the payment page without paying, then Pay now from the list
  6. Let a hold expire: the court is free again in /availability
  7. Two phones book the same court at the same time: one gets the booking, the other a clear message
  8. Airplane mode during Book, then retry: still one booking
  9. Cancel before and after the cut-off
  10. Sign out, and a device signed out by the venue in App Sign-ins
Was this page helpful?