Integrate Goggle Pay
Get in touch
Sign in
Integrate Goggle Pay
Learn how to integrate Google Pay and ensure secure payment processing

To start processing payments via Google Pay, you first need to register your business profile with Google. After completing the required steps, Google will provide you with a unique Google Pay merchant ID, which is essential for production. You will then be able to add the Google Pay button to your checkout page and start requesting your customer’s encrypted payment information.

In order to use Google Pay on the Guide
Enable Google Pay button to give your customers more payment options.
Payment Form
or via Guide
Accept and manage credit card payments from your customers.
Host-to-Host
integration, you need to register as a business and verify your domain in Google Pay & Wallet Console.

To integrate with Google

  1. Complete your Business profile.
  2. From the navigation menu on the left, select Google Pay API.
  3. Click on Get started.
    After you accept the terms and policy, you can start the integration.
  4. Select the Android app or website integration option.
    These steps continue with an example of a website integration.
  5. Under Integrate your website, click on Add website.
  6. In the integration form:
    • Add the domain that will call the Google Pay API.
    • For the integration type, select Gateway.
      Solidgate is among the PSPs that partnered with Google Pay.
    • Upload screenshots of the buyflow within your website.
      For that, you can use the Solidgate demo Payment Page, which has the Google Pay button. Alternatively, you can contact the Solidgate support team to generate links for that purpose.
  7. Click on Save and submit the application for approval.

Google will review your application and contact you if they need more details. Once they check and verify the provided details, your integration becomes active.

For information about the Google Pay integration process to accept payments in apps and websites, please refer to the following resources:

When you submit a payment data request to the Google API, be sure to include the following parameters:

1
2
'gateway': 'solid'
'gatewayMerchantId': '\<Replace with your public api key\>'

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
    apiVersion: 2,
    apiVersionMinor: 0,
    allowedPaymentMethods: [{
        type: 'CARD',
        parameters: {
            allowedAuthMethods: ['PAN_ONLY', 'CRYPTOGRAM_3DS'],
            allowedCardNetworks: ['AMEX', 'DISCOVER', 'MASTERCARD', 'VISA']
        },
        tokenizationSpecification: {
            type: 'PAYMENT_GATEWAY',
            parameters: {
                'gateway': 'solid',
                'gatewayMerchantId': ''
            }
        }
    }]
}

After integrating Google Pay into your payment system, the next step is to test the integration to confirm it works correctly.

You can test Google Pay transactions using the Solidgate sandbox environment, which allows you to simulate payments with real cards added to a wallet, without deducting any funds. This helps you verify your Google Pay integration for one-time and recurring payments in conditions that mirror the production environment.

Handling integration errors

There might be errors when you submit a request or get a response for a Google Pay payment. If you encounter an error, depending on its nature:

  • Verify if all parameters are added when connecting Google Pay as a payment method.
  • For Guide
    Accept and manage credit card payments from your customers.
    Host-to-Host
    integration, confirm the gatewayMerchantId parameter sent to Google contains the relevant API public key.
  • In case of the Guide
    Processing error. Verify the merchant’s settings and configurations.
    5.04
    error, verify your Guide
    Learn to authenticate API requests and fix validation errors effectively.
    API keys
    by navigating to HUB > Developers > Channels.

You can test the Google Pay payments when setting up the integration. If the outlined recommendations do not resolve the issue, please contact the Solidgate support team for further assistance. When contacting, share the details of the issue and the steps you have taken to resolve it.


Looking for help? Contact us
Stay informed with Changelog