Self-integrating online store platform with Google Pay API
STEP 1. TO GET FAMILIAR WITH DOCUMENTATION.
To configure Google Pay API to accept payments, please get acquainted with:
- Mobile app developer documentation, including Terms of Use of Google Pay, Google Pay brand guidelines, Integration Guide, and Integration Checklist
- Website developer documentation, including Terms of Use of Google Pay API, Google Pay brand guidelines, Integration Guide, and Integration Checklist.
- To integrate the web app with Google Pay API and receive PaymentData, the HTTPS web page using TLS domain-validated certificate is required, with the following values of parameters:
allowPaymentMethods : CARD
tokenizationSpecification = { "type": "PAYMENT_GATEWAY"}
allowedCardNetworks = ['MASTERCARD', 'VISA'];
allowedCardAuthMethods = ['PAN_ONLY', 'CRYPTOGRAM_3DS'];
gateway = alfabankua
gatewayMerchantId – The unique identifier of the online store, which is provided to each partner when connecting to Alfa-Bank's payment gateway.
STEP 2. TO INTEGRATE YOUR WEBSITE OR APP WITH GOOGLE PAY API
If your integration with Google Pay API is done correctly, the payment button will be displayed on your website, application. After clicking the button on a device with connected Google Pay, a pop-up window or a form for choosing a card linked to a Google account will appear.
Sample of using the Google Pay API from Google.
Sample parameter values returned by Google Pay
STEP 3. ACTIVATE GOOGLE PAY PAYMENT METHOD ON YOUR MERCHANT AND USER REGISTERED IN ALFA-BANK PAYMENT GATEWAY.
- If your online store has already been integrated to the Alfa-Bank’s payment gateway, please contact your service manager or send the request to the email address acquiring@alfabank.kiev.ua.
- If your website hasn’t been integrated to Alfa-Bank’s payment gateway yet, please send the request to the email address: acquiring@alfabank.kiev.ua.
STEP 4. Process the data received in the “token” parameter from Google.
There are two ways to process the data received in the “token” parameter from Google.
- Decryption process is on store side. The data received in the “token” parameter must be decrypted (use information on how to generate a public key to request a Google-signed and encrypted payment method token, and details the steps to take to verify and decrypt the token), then must be sent to the Alfa-Bank (use request specification by link below).
- Decryption process is on Alfa-Bank side. The data received in the “token” parameter must be sent to the Alfa-Bank (use request specification by link below).
STEP 5. TO CHECK COMPLIANCE WITH THE INTEGRATION CHECKLIST.
Please familiarize yourself with the integration checklist and make sure that all the steps of integration of the payment page are completed.
Please familiarize yourself with the integration checklist and make sure that all the steps of integration of Android app are completed.
STEP 6. TO REQUEST GOOGLE EXPERTS FOR ACCESS TO THE RELEASE VERSION
To request access to the release version for the payment page.
To request access to the release version for Android app.