https://github.com/cmdotcom/android-pos-integration-sdk-kotlin
Point of Sale SDK for Android / Kotlin
https://github.com/cmdotcom/android-pos-integration-sdk-kotlin
Last synced: 9 months ago
JSON representation
Point of Sale SDK for Android / Kotlin
- Host: GitHub
- URL: https://github.com/cmdotcom/android-pos-integration-sdk-kotlin
- Owner: cmdotcom
- Created: 2022-01-18T16:16:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-25T10:12:30.000Z (about 1 year ago)
- Last Synced: 2025-04-04T09:36:07.665Z (about 1 year ago)
- Language: Kotlin
- Size: 2.06 MB
- Stars: 10
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Android POS Integration SDK
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.
## Release notes
### Compatibility table
| SDK | Terminal |
| ----- |----------|
| 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 |
### Versions
#### 1.1.4
* Fix typo in error description
* Send information about SDK version to Terminal app
#### 1.1.3
* Not start new operation if another one is already in progress
* Remove isTipping parameter from SDK payment Data
#### 1.1.2
* Proguard problems in some scenarios
#### 1.1.0
* Added Start pre authorization support
* Added Cancel pre authorization support
* Added Confirm pre authorization support
* Check device's battery
#### 1.0.1
* Forward AUTO_TIMEZONE_ENABLE error from Terminal
#### 1.0.0
* Initial implementation
## Adding POS Integration Library to project
You can include this library into your Android project by adding first the JitPack repository to your root build.gradle
```groovy
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
Development:
```groovy
dependencies {
[...]
// CM|PayPlaza Android POS Integration library
implementation 'com.github.cmdotcom.android-pos-integration-sdk-kotlin:androidposintegrationsdk-debug:'
}
```
Production:
```groovy
dependencies {
[...]
// CM|PayPlaza Android POS Integration library
implementation 'com.github.cmdotcom.android-pos-integration-sdk-kotlin:androidposintegrationsdk:'
}
```
Also you can download the desired .aar file from [releases](https://github.com/cmdotcom/android-pos-integration-sdk-kotlin/releases) and include it in your project:
```groovy
dependencies {
[...]
// CM|PayPlaza Android POS Integration library
implementation files('lib/')
}
```
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.