---
title: "Go-live checklist | Docs | POS by R&D Copilot"
description: "The behaviours of your code to confirm on the test company before it works for a live company."
canonical: "https://pos.rdcopilot.com/docs/get-started/go-live-checklist/"
language: en
updated: 2026-11-22
---

# Go-live checklist

The behaviours of your code to confirm on the test company before it works for a live company.

Moving to a live company is a setup step that we do with you (see [Sandbox and live](https://pos.rdcopilot.com/docs/get-started/sandbox-and-live/)). Go through this list on the test company first; every item is a behaviour of your code, not a setting.

## Credentials

-   The client secret lives on a server you control and is read from a secret store, not from the code. Test and live credentials are kept apart.
-   Your code asks for a new token before the old one ends (`expires_in`) and after a `401`.
-   Your code takes the till and its current order from `listTills` and `getTill`; it does not build an order id.

## Changes

-   Every change carries an `operationId` that you stored before you sent the request, and a request that timed out is repeated with the same one. See [Idempotency and concurrency](https://pos.rdcopilot.com/docs/reference/idempotency/).
-   `expectedRevision` is the revision you read, of the order for an order and of the business day for cash in and out and for the close.
-   A `409` with `revision_conflict` makes your code read the order again, not repeat the request.

## Statuses and payments

-   Your code handles every status of [Order and payment states](https://pos.rdcopilot.com/docs/concepts/order-and-payment-states/), and treats a status it does not know as not final.
-   A sale is paid when `status` is `paid`, not when a card payment starts and not when one payment is `approved`: a smaller payment leaves the order `partially_paid` with `due` above zero.
-   A `202` from `startCardPayment` means the reader has the amount. The result comes from the reader: your code reads the order or the till, or listens for `payment.declined` and `order.paid`.
-   A declined card stays on the order as a payment with `status` `declined`. Your code shows `card.declineReason`, leaves `due` as it is and offers `retryCardPayment`, `takeCashPayment` or `cancelCardPayment`.
-   Your code reads `sync`: `queued` is a sale the till stored and has not posted, `posted` is a sale that stock, the books and reporting have, and `null` is an order that is not paid, a voided one included.

## Network and queue

-   Before it offers a card, your code reads `network` on the till. While it is `offline`, a card payment, a refund and the close of the day are refused with `network_lost`; your code takes cash and repeats the rest when the till is `online`.
-   A cash sale taken offline is stored by the till and posted first in, first out. Your code does not send it again; it reads `queue.count` and `queue.ageSeconds` and shows a sale in the queue as not yet posted.

## Refunds

-   Your code refunds a `paid` order whose `sync` is `posted`; a sale in the queue is refused with `order_not_posted`.
-   A refund names the units, a `method` the customer paid by, a `reason` from the list and `restock`. Your code does not send an amount: the amount is worked out from the lines and read from the refund.
-   A refund in cash needs the cash in the drawer, so your code handles `insufficient_cash` by refunding by card or adding cash first.

## Business day

-   When a change is refused with `day_closed`, your code opens the day with `openBusinessDay` and then repeats the request.
-   To close, your code sends the cash counted in the drawer as `counted` and reads `closing.difference` as a signed amount: negative when cash is missing.
-   A close can be refused with `open_order`, `held_orders`, `reader_busy`, `queue_not_empty` or `network_lost`; your code tells the cashier which one and what to do. See [Close the day](https://pos.rdcopilot.com/docs/guides/close-the-day/).

## Events and replay

-   Your endpoint answers with a `2xx` status before it does any work and checks the bearer token. See [Subscriptions](https://pos.rdcopilot.com/docs/events/subscriptions/).
-   The endpoint skips an `id` it has already handled and an `aggregateRevision` older than the state it holds. See [Delivery and retries](https://pos.rdcopilot.com/docs/events/delivery-and-retries/) and the [Event catalogue](https://pos.rdcopilot.com/docs/events/event-catalogue/).
-   Someone watches for deliveries in the state `parked` and knows how to replay them. See [Replay](https://pos.rdcopilot.com/docs/events/replay/).
