-
Notifications
You must be signed in to change notification settings - Fork 3
Setup
This page describes the Akurateco Android SDK Setup guide.
You should get the following information from the administrator to begin working with the Payment Platform.
Info | Description |
---|---|
CLIENT_KEY | Unique key to identifying the account in Payment Platform (used as request parameter) |
CLIENT_PASS | Password for Client authentication in Payment Platform (used for calculating hash parameter) |
PAYMENT_URL | URL to request the Payment Platform |
Where to get this information? Follow the introduction guide.
The Akurateco Android SDK supports two initialization methods: explicit and implicit.
- In
AndroidManifest.xml
provide themeta-data
with following credentials:
<meta-data
android:name="com.akurateco.sdk.CLIENT_KEY"
android:value="merchant-client-key" />
<meta-data
android:name="com.akurateco.sdk.CLIENT_PASS"
android:value="merchant-client-pass" />
<meta-data
android:name="com.akurateco.sdk.PAYMENT_URL"
android:value="merchant-payment-url" />
The Akurateco Android SDK credentials are the mirror of the Payment Platform fields. See above.
- Call the SDK initialization in the
Application
:
override fun onCreate() {
super.onCreate()
AkuratecoSdk.init(this)
}
- Call the SDK initialization in the
Application
:
override fun onCreate() {
super.onCreate()
AkuratecoSdk.init(
this,
"merchant-client-key",
"merchant-client-pass",
"merchant-payment-url",
)
}
- Akurateco Android SDK requires the Internet permission:
<uses-permission android:name="android.permission.INTERNET" />
-
In case the SDK is not initialized the
AkuratecoSdkIsNotInitializedException
will be thrown. -
To use the testing environment, please use test cards.
Website: https://akurateco.com
Phone: +31-638-7642-70
Email: [email protected]
Address: Akurateco BV, Kingsfordweg 151, 1043 GR Amsterdam, The Netherlands
© 2014 - 2020 Akurateco. All rights reserved.