Integrate our products into your software. Let's make payment happen together!
Look at all the possibilitiesThis guide will show you how you can retrieve the status of the card reader.
This is only possible for OPI-DE terminals.
The following code snippet demonstrates how you can retrieve the card reader status.
CardReaderStatusDelegate cardReaderStatusDelegate = new CardReaderStatusDelegate() { @Override public void onSuccess(CardReaderResult result) { //contains code which handles a successful card reader status call //CardReaderResult contains CardReadingState, serialNumber and TerminalConfiguration info } @Override public void onError(Error error) { //contains code which handles an error when performing card reader status call } }; OpiDEApi opiDEService = new OpiDEService(); opiDEService.cardReaderStatus(externalTerminal, cardReaderStatusDelegate);