Integration on Standard Checkout - Web and Android
If you are using Razorpay’s Standard Checkout, you do not need to make any change to integrate Google Pay on your checkout page. Razorpay will display Google Pay as an option under the UPI section on the checkout page.Web
On your website, all Google Pay requests are Collect requests.- The customer selects the Google Pay option, enters their UPI handle and clicks Pay.
- A request is sent to the Google Pay app installed on their mobile device.
- The customer manually opens the Google Pay app and approves the request.
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.
Android
Handy TipsThe Razorpay-Google Pay SDK acts as a wrapper over the native Google-SDK. This SDK connects Razorpay’s SDK with the Google SDK. You need all the 3 SDKs (listed below) for the flow to work.
- Razorpay Android SDK
- Google Pay SDK
- Razorpay-Google Pay SDK
-
Add the following lines of code to the
build.gradlefile of your application:build.gradle
upi.Razorpay then triggers a Collect request. The Collection request is sent to the customer’s Google Pay application where they can make the payment.NPCI Restrictions for UPI Collect Flow- UPI Collect Flow is not available for these MCCs. You can use UPI Intent Flow as an alternative.
- 5816
- 6540
- 4812
- 4814
- 5413
- 7408
- 6513
- 7995
- 5412
- 5413
Integration on Custom Checkout
To enable Google Pay on your custom checkout:- Show Google Pay as a separate Option.
- Trigger payment when a user clicks Google Pay on your checkout.