Project

General

Profile

Development #7105

Updated by Kyle Chong 3 months ago

Refer to: 

 * docs/planning/modules/M06_Payment_Tender.md 
 * docs/planning/modules/M16_POS_Setup_Hardware.md 

 Implement card Payment & Tender (M06) (docs/planning/modules/M06_Payment_Tender.md). Complete the card/eWallet payment execution using the EDC terminal configured under M16. 

 Scope: 

 * Read configured EDC connection/device information screen: request payment from M16. 
 * Initiate Credit/Debit Card payment. 
 * Send amount IEDCService, show waiting/approved/declined state, prevent double-confirmation, and transaction reference. 
 * Handle Approved, Declined, Cancelled, Timeout save approval/reference/host/card type in TransactionTenderEft. Use stub service for development and communication failure. 
 * Capture EDC transaction/reference information. 
 * Prevent duplicate card charging. 
 * Support controlled retry/recovery. 
 * Return a common M06 PaymentResult. 
 * Do not include EDC device setup/configuration in this ticket. 

 keep the interface ready for real hardware. Done when: M06 can perform a card payment using the configured EDC terminal when approval and return decline flows create the correct payment status to M03. immutable records.

Back