Google Pay

API integration for Google PayTM allows merchants to embed the Google Pay button on a website or Android native App.

Prerequisites

The following is required for a Google PayTM API integration:

  • An active merchant account with our payment gateway
  • Your API credentials (API Key and Secret)

Getting Started with Google PayTM


Step 1: Register as a Google Pay Merchant

In order to process Google Pay payments via your website or Android app, merchants using our API are required to register with Google and will be issued with a merchantID.

Follow the steps to register on the Google Pay and Wallet Console:

Ensure that you accept the Google Pay API Terms of Service and Acceptable Use Policy.


Step 2: Enable Google Pay on your Ecentric merchant account

  • Contact our Product Support team to enable Google Pay on your merchant account.
  • You will be issued with a gatewayMerchantId which is a unique identifier that Ecentric uses for merchant verification.
  • You will also receive Ecentric's gateway Id which is used by Google to identify Ecentric as the Payment Processor.

Step 3: Continue with the Integration steps for your website or App

You will need the following definitions for your integration:

Authentication Methods

Google Pay supports card payments via two authentication methods:

  • PAN_ONLY: returns a primary account number (PAN). If PAN_ONLY is returned, then we strongly recommend implementing a 3D Secure step-up flow using our Secure3DLookup API request.
  • CRYPTOGRAM_3DS: returns a device token with a 3-D Secure cryptogram, reducing step-up requirements.

We recommend that you configure both in allowedCardAuthMethods unless you have a specific reason to restrict this.


📘

NOTE: CRYPTOGRAM_3DS is only supported on Android devices.


Device / BrowserSupported Authentication Method
Android deviceCRYPTOGRAM_3DS and PAN_ONLY
iOS devicePAN_ONLY
Android web browserCRYPTOGRAM_3DS and PAN_ONLY
Desktop browserPAN_ONLY

For more information, see CardParameters in Google’s Object reference documentation.


Allowed Networks

The Payment Gateway supports the following networks for Google Pay :

  • VISA
  • MASTERCARD

These will be used in your integration when you define the allowedCardNetworks.


1. Web Integration


2. Android App Integration