Zamok Kiosk API
    Preparing search index...
    • Tracks Shelby payment recording as { loading: boolean, recorded: boolean, error?: string }.

      Parameters

      • previousState: { error?: string; loading: boolean; recorded: boolean } = ...
      • action: ReducerActions

      Returns { error?: string; loading: boolean; recorded: boolean }

      recordPaymentWithShelby starts recording. PAY_BILL_SUCCESS or PAY_BILL_FAILURE completes it only while loading is true; the local failure action always stores its error. Contact clearing, recording reset, a new lookup, and sessionReset restore the initial state.