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.

Product

EMDK For Android - 4.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

  • 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

  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