SoftPOS SDK
The 2C2P SoftPOS SDK simplified integration solution for transform your compatible NFC-enabled devices point-of-sale (POS) terminals to accept contactless credit and debit card payments.
Platforms
- Android:
Production: implementation("com.2c2p:softpos-sdk:1.0.0")
Sandbox: implementation("com.2c2p:softpos-sdk-sandbox:1.0.0")
How to integrate:
Prerequisite
-
Android:
- Add required packaging resources excludes into your project build.gradle file.
android { ... ... packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" excludes += "/META-INF/DEPENDENCIES" excludes += "/META-INF/LICENSE" excludes += "/META-INF/LICENSE.txt" excludes += "/META-INF/license.txt" excludes += "/META-INF/NOTICE" excludes += "/META-INF/NOTICE.txt" excludes += "/META-INF/notice.txt" excludes += "/META-INF/ASL2.0" excludes += "/META-INF/*.kotlin_module" excludes += "/META-INF/versions/9/OSGI-INF/MANIFEST.MF" } } }
- Add 2C2P maven repository into your project settings.gradle file.
dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url = uri("https://registry-sandbox.2c2p.net/sdk/softpos/") } } }
System Requirements
The SDK has been developed on following platform version:
Platform | Minimum Version |
---|---|
Android | 26+ (OS 8.0) |
Changelog
Version | Description |
---|---|
1.0.0 | Android: - Enable payment feature. - Enable void feature. |
Updated about 15 hours ago