Installation

Requirements

  • Agreement with Google granting permission to use the Google Pay API for Push Provisioning.
  • App package name and SHA-256 certificate fingerprint whitelisted by Google.
  • Android version 5.1 (Lollipop, API level 22) or above.
  • Device must be able to connect to the Internet.

Installation

We recommend using Android Studio and Gradle to build the project.

Gradle Configuration

Add the MPP (Mea Push Provisioning) SDK to your project as a standard Android dependency. The SDK is hosted in a private Maven repository, so you need to configure build.gradle with the assigned URL and credentials.

Environments:

test - test environment
prod - production environment

Library Repository and Dependencies

In your build.gradle file:

repositories {
    maven {
        url 'https://nexus.ext.meawallet.com/repository/mpp-android-group/'
        credentials {
            username '<user>'
            password '<password>'
        }
    }
}
dependencies {
    debugImplementation 'com.meawallet:mpp-<environment>:<version>-debug'
    releaseImplementation 'com.meawallet:mpp-<environment>:<version>'
}

You can check the current version here

Configuration

  1. Download mea_config.<issuer>.zip.
  2. Unzip the archive. The archive contains the configuration file mea_config.
  3. Add mea_config to your Android app's resources res/raw folder. The library automatically loads the configuration from the app bundle during runtime.

Enabling Issuer App for Google Pay Push Provisioning

To access Google Pay documentation, use the following links:

Google grants access to the Push Provisioning API only to participating financial institutions. Therefore, issuer apps need to be whitelisted before they can call the API.

Go to Push Provisioning API Access to whitelist your app.

... if Google Pay hasn't launched in your country yet, you need to test with the special Alienfood version of the Google Pay app.

Google Pay - Issuers - Get the Google Pay app

❇️ Useful Information (Only authorized Google accounts can view this content.)
If you have multiple Google accounts and can't open a link with your specific one, try adding ?authuser=1 OR &authuser=1 to the end of the link. You can change 1 to any index of your account. Example: https://developers.google.com/pay/issuers/apis/push-provisioning/android/whitelisting?authuser=3

References