Project

General

Profile

Actions

Development #7442

open

Feature #7116: POS Terminal & Cart (M03)

Build Cashier-to-Backend transaction sync via LAN

Added by Kyle Chong 3 months ago. Updated 3 months ago.

Status:
New
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to: docs/planning/modules/M03_POS_Terminal_Cart.md

Implement LAN mode as the alternative transport for sending completed Cashier transactions to the local Qube Backend Server.

Scope:

  • Pick up completed/pending transactions from transactions.db.
  • Send transaction to Backend over the agreed POS+ LAN communication mechanism.
  • Use the same logical transaction contract as Kafka mode.
  • Handle Backend unavailable.
  • Handle LAN disconnection.
  • Retry pending transactions after reconnection.
  • Prevent duplicate transaction creation during retry.
  • Record synchronization status and useful diagnostics.
  • Support multiple Cashier terminals communicating with the Backend Server.

Kafka and LAN must only represent different transport mechanisms. Transaction processing/business logic must remain common.

Done when: Cashier can reliably send completed transactions to Backend through LAN without requiring Kafka connectivity.

Actions

Also available in: Atom PDF