Overview
This sample demonstrates the EMDK Mobile Payment APIs allowing your application to perform EMV and Mag-stripe Payment transactions when using the PD40 Payment device.
Prerequisites
- Java JDK
- Eclipse with ADT plugin or Android Studio
- EMDK for Android
- An EMDK supported Android device
Items Needed
- One of the approved devices listed above
- PD40 payment device
For more information about setting up the EMDK please see the EMDK Setup Guide.
Loading the Sample Application
The following guide will walk you through setting up the EMDK samples in your IDE.
Using This Sample
Bluetooth pair your Android device with the PD40 payment module.
Launch the payment API sample. The initial screen should resemble the following.
Press the Enable button. You should see a message in the sample application stating that the connection to the payment device was successful.
Press the Do Transaction button in the sample application. Now the Payment device should display a message prompting user input. Press the Enter key to begin the payment transaction.

- Now press the 1 button to pay with cash.

The payment transaction is now complete.