Android Framework
The Mobile EMV SDK enables Android apps to accept EMV chip card payments via Bluetooth or audio jack using the IDTech VP3300 card reader.
Prerequisites
To enable the Mobile EMV SDK into your iOS app, ensure you have following:
✅ API access key issued to you by Xplor Pay.
Connect Android app
To connect your Android app to the card reader:
Add the required .jar files from
android-idtech-sdk/sdk/libin your Android project.Add the
PublicOnReceiverListenerobject to receive messages from the card reader.Add the
ApplicationContextorApplicationContext3In1object to enable the card reader modes (DIP/SWIPE/CONTACTLESS).Add the
DeviceFactoryobject to connect your app with the VP3300 reader.Configure the card reader.
device_configurePeripheralAndConnect();
registerListen();Ensure the card reader is ready.
isReady(); // Wait for readiness before starting a transactionProcess payment
To process the payment in your Android app:
Initiate a card transaction.
device_startTransaction();Generate a JSON Web Token (JWT) for manual card entry.
manualCardTokenizer.createTransactionToken(manualEntry);Use the POST method to send the transaction request to the Mobile Payment Transactions endpoint to process the payment.
Last updated
Was this helpful?

