Integrating Google Pay with your site

Google Pay creates a faster and more secure payment experience for online retailers. Google Pay allows customers to make payments online using the United Payments Interface (UPI) mechanism. For more information, see NPCI UPI Linking Specifications.

The Google Pay PaymentRequest API doesn’t require use of a particular payment system. It’s an open and cross-browser standard that replaces traditional checkout flows by allowing retailers to request and accept any payment in a single API call. Here, the browser acts as the go-between for retailers, users, and payment methods. It standardizes the payment communication flow as much as possible. This API allows you to work on any browser, device, or platform—mobile or otherwise.

Before it approves or denies a payment request, the API allows the web page to check with the user agent at the same time the user provides input. Because the browser acts as a go-between, all of the information necessary for a fast checkout can be stored in the browser. Users can confirm and pay with a single click. Google Pay also supports UPI in-app payments.

This guide is intended for retailers who want to integrate Google Pay as one of their UPI modes of payment. The provided tutorials outline the steps required to integrate Google Pay with your website.

Prerequisites

  1. Business channels must accept UPI and be verified merchants by NPCI/banks.
  2. Ensure that you have the details required to accept payments using UPI ID with your bank.
  3. Ensure that you have all of the required APIs from your bank to check the status of a payment.
  4. Note that every transaction should use a unique transaction ID.