You can find more information on how to use this SDK and sign up for a free Global Payments sandbox account at https://developer.globalpay.com
- Android 5.0+ (API 21+)
Declare mavenCentral repository in the root build.gradle file:
allprojects {
repositories {
mavenCentral()
}
}
Declare dependency in the app build.gradle file:
dependencies {
implementation 'com.heartlandpaymentsystems:globalpayments-android-sdk:1.0'
}
You can find the latest SDK documentation along with code examples and test cards on the Global Payments Developer Portal.
A sample app of how to integrate java-sdk directly into your mobile application.
- Android 5.0+ (API 21+)
- Java 1.8
- Kotlin 1.9.23
- Credentials from the Global Payments Developer Portal
- For the latest Netcetera SDK sandbox API key and certificate please reach out to Global Payment support team.
- Clone the project
- Import the project in Android Studio or Intellij
- Update
configuration.properties
with theappKey
andappId
that you've created previously on the Global Payments Developer Portal - To run Netcetera 3DS sample place the
acs.pem
files into theassets
folder and updateconfiguration.properties
with theapiKey
so that the Netcetera 3DS SDK can initialize - Select
sample-app
from configuration and run the app - If you want to use the
sample-app
with GP-Ecom and Netcetera 3DS SDK make sure to set theuseEcom=true
in theconfiguration.properties
and set the appropriate fields for GP-Ecom
Name | Number | Exp Month | Exp Year | CVN |
---|---|---|---|---|
Visa | 4263970000005262 | 12 | 2025 | 123 |
MasterCard | 2223000010005780 | 12 | 2019 | 900 |
MasterCard | 5425230000004415 | 12 | 2025 | 123 |
Discover | 6011000000000087 | 12 | 2025 | 123 |
Amex | 374101000000608 | 12 | 2025 | 1234 |
JCB | 3566000000000000 | 12 | 2025 | 123 |
Diners Club | 36256000000725 | 12 | 2025 | 123 |
Hosted Fields | Google Pay |
---|---|
Transactions Report | Stored Payments |
---|---|
A sample app of how to integrate Netcetera SDK.
- Android 5.0+ (API 21+)
- Java 1.8
- Kotlin 1.9.23
- Backend from: https://github.com/globalpayments/java-sdk/tree/master/examples/iOS-Hybrid-App-Java-Server
- For the latest Netcetera SDK sandbox API key and certificate please reach out to Global Payment support team.
- Clone the project
- Import the project in Android Studio or Intellij
- Update
configuration.properties
file with the url where the java backend is running - Update
configuration.properties
with theappKey
andappId
that you've created previously on the Global Payments Developer Portal - To run Netcetera 3DS sample place the
acs.pem
files into theassets
folder and updateconfiguration.properties
with theapiKey
so that the Netcetera 3DS SDK can initialize - Select
merchant3ds
from configuration and run the app - For configuration of the java backend check Merchant3DSSpringBackend
You can find documentation for Netcetera SDK on Netcetera website
Edit the configuration file with the appropriate values from the backend example
Name | Number | Exp Month | Exp Year | CVN | Type |
---|---|---|---|---|---|
Visa | 4012001038488884 | 12 | 2025 | 123 | Challenge |
Visa | 4263970000005262 | 12 | 2025 | 123 | Frictionless |
Netcetera Challenge | Decoupled flow |
---|---|