- Google Pay appears under UPI on Standard Checkout (web and Android) with no integration needed. The Half-Page Experience is an optional upgrade for Android apps.
- The Half-Page Experience is available on the Razorpay Android Standard Checkout SDK. iOS is not supported.
- It works for UPI one-time payments. UPI Autopay (recurring payments) is not supported.
How It Works
- The customer selects Google Pay on Razorpay Checkout.
- Checkout detects the Google Pay Half-Page library in your app.
- The Google Pay payment sheet opens over your checkout. There is no app switch.
- The customer confirms the payment with their UPI PIN on the NPCI page.
- The payment result is delivered to your existing
PaymentResultListener.
Google Pay Half-Page Experience
The Google Pay sheet opens over Razorpay Checkout and the customer completes the payment without leaving the app.
Prerequisites
- An Android app integrated with the Razorpay Android Standard Checkout SDK and live with payments.
- A Google Pay & Wallet Business Console account with an approved Business Profile and at least one UPI ID registered. See Step 1.
- The feature enabled on your account by Razorpay. See Step 3.
Integration Steps
Step 1: Onboard on the Google Pay Business Console
Register your business details and UPI IDs on the Google Pay & Wallet Business Console.- Gmail Account
- Microsoft or Outlook Account
- Log in to the Google Pay & Wallet Business Console with your Gmail account.
- Select Create a new business and enter the required details. This generates your Google Pay merchant ID.
-
Open the Business Profile tab and complete all fields under Business identity and Business information.
- Make sure all business details under Business identity → Payments profile are complete and accurate. This prevents settlement and invoicing errors.
- An LEI (Legal Entity Identifier) number is a legal requirement if your settlement batch is expected to exceed ₹50 crore.
- Click Submit. Google reviews the profile, which can take up to 48 hours.
- Once the profile is approved, open the Integrations tab.
- Click Add UPI ID under UPI Integration. You can add up to 10 UPI IDs to one merchant account.
Step 2: Add the SDK Dependency
Upgrade the Razorpay Android Standard Checkout SDK to version 1.6.41 or later and add the Google Pay Half-Page dependency. In your app module’sbuild.gradle file:
Step 3: Get the Feature Enabled
The Google Pay Half-Page Experience is an opt-in feature activated for each merchant account. After you add the dependency, ask your Razorpay Account Manager to enable it on your account. Until the feature is enabled, your app behaves exactly as before and Google Pay payments use the standard intent flow. You can safely release your app with the dependency before the feature is enabled.Step 4: Test and Go Live
Make a live Google Pay payment from your app. Check that the Google Pay sheet opens inside your app and the payment result reaches yourPaymentResultListener.
Go-live Checklist
FAQs
Business Profile
1. Which GST number should I use?
1. Which GST number should I use?
2. I do not have a website. What should I enter in the Website URL field?
2. I do not have a website. What should I enter in the Website URL field?
3. Whose name should I enter as the business owner?
3. Whose name should I enter as the business owner?
4. My Business Profile was rejected. What should I do?
4. My Business Profile was rejected. What should I do?
- Raise a ticket through the Help Center on the Google Pay & Wallet Business Console.
- Contact your Razorpay Account Manager, who can escalate it to Google.
Integration
5. Do I need to change my checkout code?
5. Do I need to change my checkout code?
PaymentResultListener.6. What happens if the feature is not enabled on my account yet?
6. What happens if the feature is not enabled on my account yet?
7. Is iOS supported?
7. Is iOS supported?
8. Does it work for UPI Autopay?
8. Does it work for UPI Autopay?