This repository contains the implementation of a library that allows your application to connect with PayPlaza terminal app to perform a payment in CM|PayPlaza environment. You only would need an Android POS device with PayPlaza terminal app installed.
| SDK | Terminal |
|---|---|
| 1.3.0 | 2.17.0 |
| 1.2.1 | 2.12.0 |
| 1.2.0 | 2.11.0 |
| 1.1.4 | 2.7.0 |
| 1.1.3 | 2.0.1 |
| 1.1.2 | 2.0.0 |
| 1.1.0 | 1.2.0 |
| 1.0.1 | 1.1.1 |
| 1.0.0 | 1.1.1 |
- Introduced a new
acceptancebuild type which allows the integrator app to connect to the Terminal app in acceptance environment. - Dev build type is deprecated and will be removed in future releases. Please use acceptance build type instead.
- Add new MAT specific error codes.
- Add support for MAT feature on SDK.
- Fix a bug related to onCrash callback.
- Fix a typo.
- Fix typo in error description
- Send information about SDK version to Terminal app
-
Not start new operation if another one is already in progress
-
Remove isTipping parameter from SDK payment Data
- Proguard problems in some scenarios
- Added Start pre authorization support
- Added Cancel pre authorization support
- Added Confirm pre authorization support
- Check device's battery
- Forward AUTO_TIMEZONE_ENABLE error from Terminal
- Initial implementation
You can include this library into your Android project by adding first the JitPack repository to your root build.gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}Next, add the dependency to your app-level build.gradle
Production:
dependencies {
[...]
// CM|PayPlaza Android POS Integration library
implementation 'com.github.cmdotcom.android-pos-integration-sdk-kotlin:androidposintegrationsdk:<version-tag>'
}Acceptance:
dependencies {
[...]
// CM|PayPlaza Android POS Integration library
implementation 'com.github.cmdotcom.android-pos-integration-sdk-kotlin:androidposintegrationsdk-acc:<version-tag>'
}dependencies { [...] // CM|PayPlaza Android POS Integration library implementation files('lib/<aar_file_name>') }
After this dependency is included, you can start using functionality contained in this library to perform operations in CM|PayPlaza environment.
More information on how to work with this library is available in the following link: [Getting started with App 2 app integration (cm.com)](https://developers.cm.com/payments-platform/v1.0.2/docs/app-2-app-integration).
Also an [example](https://github.com/cmdotcom/sunmi-ecr-example-kotlin) of how to implement the Integration SDK is available.