Skip to main content
Available on Android Apps OnlyGoogle Pay has launched the option of adding Cards to their Google Pay accounts only for Android users.
Feature RequestThis is an on-demand feature. Please raise a request with our Support team to get this feature activated on your Razorpay account.to get this feature activated on your account.

Prerequisites

Integration Steps

Step 1: Add or Update the Google SDKs

You will need to integrate the Google SDK in your android app. You may use one of the two methods listed below:

Method 1: Import the SDK from our Maven Repository

Import the SDK from our Maven repository by adding the following lines to your app’s build.gradle file.
build.gradle

Method 2: Download from GitHub

Download Google Pay SDK AAR file and add the following lines to your app’s build.gradle file.
build.gradle

Step 2: Update Razorpay Standard Integration SDK

Google Pay Cards is supported on Razorpay Android - Standard Checkout version number 1.6.5 and higher. If you are using an older version, you will need to update it. You can update the Standard Checkout version in your build.gradle file as shown below:
Update Razorpay Checkout version

Step 3: Add Dependencies in Build Gradle File

Add the following lines to your app’s build.gradle file.
Dependencies

Step 4: Add Metadata in Android Manifest File

Add the following lines inside the app’s AndroidManifest.xml file.
Adds Meta Data