Development #7199
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M21_Hardware_Integration.md * existing FPOS EDC implementations and integration documents Implement the existing supported EDC vendors/models within the new reusable EDC Hardware Integration solution. Scope: * Review existing FPOS EDC integrations. * Identify existing supported vendors/models/protocols. * Reuse proven existing integration logic where applicable. * Implement each vendor/model through (M21) (docs/planning/modules/M21_Hardware_Integration.md). Build the common EDC contract. * Map common payment requests into vendor-specific requests. * Map vendor responses into the standardized EDC response. * Preserve additional vendor-specific information where required. * hardware adapter and UI flow. Handle communication errors. * Handle device disconnection. * Handle EDC timeout correctly. * A timeout/unknown response must not automatically be treated as a confirmed failed payment unavailable devices, timeouts, retry and audit data. Done when the actual transaction status is uncertain. * Support transaction-status enquiry/reconciliation where the EDC provides the capability. * Test each migrated EDC against its expected existing behaviour. Done when: Existing supported EDC models can operate through the reusable EDC solution using the same common interface. device/simulator acceptance tests pass without blocking safe sales.