cloud-payments framework allowing setup the tenant, api-key and the endoint.
To get a Git project into your build:
Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.LiftCommerce.cloudpayments-sdk:cloud-payments:1.4'
}
In your Application class, call the static setup method to configure it:
override fun onCreate() {
CloudPayments.setup(
false,
"TENANT",
"END_POINT",
"API_KEY"
)
}