Introduction
Before starting implementation you should have completed Installation of the MPP SDK.
Google Pay
MPP SDK helps Issuers with Google Pay Push Provisioning API implementation. Google Pay Push Provisioning lets Issuers provision cards to Google Pay and perform common actions like setting the default payment card and deleting a card from within Issuer banking application.
Sequence Diagram
Samsung Pay
MPP SDK helps Issuers with Samsung Pay Push Provisioning API implementation. Samsung Pay Push Provisioning lets Issuers provision cards to Samsung Pay and perform common actions like setting the default payment card and deleting a card from within Issuer banking application.
Main Interface
Initialize
To begin Issuer app should initialize MeaPushProvisioning
instance.
if (!MeaPushProvisioning.isInitialized()) {
MeaPushProvisioning.initialize(this);
}
Card Data Parameters
Push provisioning flow is started by initializing MppCardDataParameters
object with CardId
, CardSecret
or EncryptedPan
. After initializing card data parameters push provisioning can be started with push card method.
String cardId = "<value>";
String cardSecret = "<value>";
MppCardDataParameters cardParams = MppCardDataParameters.withCardSecret(cardId, cardSecret);
String encryptedCardData = "<value>";
String publicKeyFingerprint = "<value>";
String encryptedKey = "<value>";
String initialVector = "<value>";
MppCardDataParameters cardParams = MppCardDataParameters.withEncryptedPan(encryptedCardData,
publicKeyFingerprint,
encryptedKey,
initialVector);
Guide for encryptedCardData
generation can be found in Card Data Encryption manual.
Loading Configuration
By default MPP SDK is loading mea_config
configuration file, however a custom name can be used. When defining a custom name for the configuration file use MeaPushProvisioning.Configuration.loadConfig(String)
to load the configuration. Configuration file should be placed in application resources res/raw
folder.
MeaPushProvisioning.Configuration.loadConfig("custom_config_name");
MPP SDK throws MppException
if configuration file is missing, broken or otherwise fails to load.