Mobile Payment

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.

Download Source

Product

EMDK For Android - 5.0

Devices

MC40 KK MC40 JB

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

Items Needed

  • One of the approved devices listed above
  • PD40 payment device

Note: Although this sample may work with previous versions of the EMDK, it is advised to update the EMDK runtime on your device before loading this sample.

Loading the Sample Application

The following guide will walk you through setting up the EMDK samples in your IDE.

Using This Sample

  1. Bluetooth pair your Android device with the PD40 payment module.

  2. Launch the payment API sample. The initial screen should resemble the following. img

  3. Press the Enable button. You should see a message in the sample application stating that the connection to the payment device was successful.

    img

  4. 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.

    img

    1. Now press the 1 button to pay with cash.

    img

    The payment transaction is now complete.

    img