Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version

Date

Changes

Author

1.0

11 April 23 October 2024

Initial Documentation for V4

Anne-Claire Femia

1.1

14 Oct 2024

Added Json Ticket Example

David Guignard

Julien Garnier


Pre-requirements

  • SUNMI POS Model number is P1N or P1-4G or P2PRO or P2 Lite SE (Check Seeting-->About-->Mode number)

  • SUNMI PayHardware Service (SPHS) SDK. Version 3.3.0 or the lastest version. SunmiPayHardwareService_v3.3.0_release.apk

    • Go to Setting in the Device → Then search in the bar “SunmiPayHardwareService” → Click on it → Click on the button Advanced → In the advanced section, check the version of the SPHS SDK.

  • Android Studio Quick integrate, Put the PayLib-release-xxx.aar package under the libs folders of your App.

    View file
    namepaylib-2.0.14.aar.zip

    Code Block
    repositories {
          flatDir {
          dirs 'libs'
      }
    }
    dependencies {
      ......
      compile(name: 'PayLib-release-xxx', ext: 'aar')
    }

...


SDK only supports API-19 (Android 4.4) or the latest version.
SDK only support Android Studio, Intellij

SunmiPayKernel SDK Operation Object

...

Create Instance

...

Public Member Variable - mBasicOptV2

...