Project

General

Profile

Development #7122

Updated by Kyle Chong 3 months ago

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

 Implement the basic payment flow required to complete an M03 sales transaction. 

 Scope: 

 * Proceed from POS Terminal & Cart to Payment. 
 * Display final payable amount. 
 * Select supported basic payment method (M03) (docs/planning/modules/M03_POS_Terminal_Cart.md). Persist CartSession and CartItem changes in Master.db for the POC. 
 * Enter/receive tendered amount where applicable. 
 * Calculate balance/change where applicable. 
 * Prevent payment below the required amount unless the payment type permits it. 
 * Prevent transaction completion if payment add, quantity change, remove, suspend and recall. A cart is invalid. 
 * Record payment details against the transaction. 
 * Mark the sale as completed only after successful payment. 
 * Prevent completed transaction from being modified as working state only: it must not write Transactions.db or deduct inventory. Done when an active cart. 

 The payment structure should allow additional payment methods/integrations to unfinished cart survives app restart and can later be added later without redesigning the core transaction. 

 Done when: Cashier can complete a basic sale from populated cart through successful payment. paid once.

Back