Skip to content

Android SDK

Android SDK allows you to accept Google Pay payments from Android application.

The latest version of Android SDK you can always find in our public repository

https://github.com/cloudipsp/android-sdk

In the demo directory you can find an example of an application which implements Google Pay functionality

Also, you can refer the central Maven repository: https://search.maven.org/search?q=g:com.cloudipsp and use SDK as maven dependency as:

compile 'com.cloudipsp:android:+'

1 Setup your application

Add dependencies to your project in app/build.gradle. This implementation requires Google Play services 17.0.0 or greater

implementation 'com.google.android.gms:play-services-base:17.0.0'
implementation 'com.google.android.gms:play-services-wallet:19.4.0'
implementation 'com.cloudipsp:android:+'

2 Update AndroidManifest.xml to enable Google Pay API if required

Add the following lines:

<uses-permission android:name="android.permission.INTERNET" />
<meta-data
    android:name="com.google.android.gms.wallet.api.enabled"
    android:value="true"
>
For more information please follow Google Pay API setup instruction

3 Setup your MearchantId

Create an instance of Cloudipsp with your MerchantID identifier from Flitt Merchant Portal

cloudipsp = new Cloudipsp(<your merchant_id>, webView);

4 Floow Demo folder on our GitHub to see examples on how to add card form to your application

https://github.com/cloudipsp/android-sdk/tree/master/app/src/main/java/com/cloudipsp/android/demo

1 Setup your application

Add dependencies to your project in app/build.gradle.This implementation requires Google Play services 17.0.0 or greater

implementation("com.google.android.gms:play-services-base:17.0.0")
implementation("com.google.android.gms:play-services-wallet:19.4.0")
implementation("com.cloudipsp:android:+")

2 Update AndroidManifest.xml to enable Google Pay API if required.

<uses-permission android:name="android.permission.INTERNET" />
<meta-data
    android:name="com.google.android.gms.wallet.api.enabled"
    android:value="true"
>

3 Setup your MearchantId

Create an instance of Cloudipsp with your MerchantID identifier from Flitt Merchant Portal

cloudipsp = new Cloudipsp(<your merchant_id>, webView);

4 Floow Demo folder on our GitHub to see examples on how to add card form to your application

https://github.com/cloudipsp/android-sdk/tree/master/app/src/main/java/com/cloudipsp/android/demo