Development #7200
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M21_Hardware_Integration.md * docs/planning/modules/M06_Payment_Tender.md Reference Hardware Integration (M21) (docs/planning/modules/M21_Hardware_Integration.md). Build the hardware adapter and integrate the reusable EDC solution into POS+. Scope: * Add the released EDC DLL/package reference to POS+. * Load the configured EDC vendor/model. * Initialize the correct EDC implementation. * M06 Payment sends EDC operations through the common EDC interface. * Pass transaction amount/reference to the EDC component. * Receive standardized EDC results. * UI flow. Handle Approved. * Handle Declined. * Handle Cancelled. * Handle Error. * Handle Timeout/Unknown safely. * Prevent duplicate EDC requests while an existing request is still being processed. * Keep all vendor/model-specific communication logic outside POS+. * Ensure future EDC library versions can be updated without rewriting M06 payment flow. unavailable devices, timeouts, retry and audit data. Done when: POS+ can perform EDC payment through the reusable EDC component when device/simulator acceptance tests pass without containing vendor-specific EDC integration code. blocking safe sales.