...
- The Test Card Reader page must be updated to support wired and wireless card readers simultaneously.
- Note: The eDynamo payment device can also be paired from the Payment screen. See Pair eDynamo Device from Payment Screen.
Technical details
- Update MagTek library (libMTSCRA.a) to ensure latest bug fixes and library features are available to Order Entry.
- Created new class, GOPSWirelessCardReader, which is responsible for storing/retrieving/removing connection information from NSUserDefaults, re-establishing the connection and detecting swipe information by leveraging MagTek library, etc.
- Swipe information is forwarded to GOPSCardReader data member on GOPS singleton object (e.g., [GOPS sharedInstance] .cardReader)
- To support wireless card reader while app is running, add GOPSWirelessCardReader object to GOPS singleton.
- Device pairing and unpairing logic is handled in GOPSUIConfigureWirelessCardReaderViewController.
Related articles
Pair eDynamo Device from Payment Screen