GooglePay - Omni Channel
Merchants can use the Omnichannel API to request and accept payments from customers through Google Pay by requesting a single identifier (like a phone number) in their purchase flow.
Prerequisites:
All prerequisites and authorization required for Google Pay shall be completed by merchant.
Account creation with Google Pay: Refer Google Pay Website for account creation process
Whitelisting of merchant VPA at Google Pay end
Get the latest SDK from Google Pay
Register to get GooglePay MID (only incase of Omni channel flow): Refer Google Pay Website for authorization for S2S APIs.
The GooglePay MID is very critical to get the S2S APIs working via Juspay API
Omni Channel API helps to support two additional use cases:
To provide Gpay payment option via various platform (iOS and Web)
Enable Gpay payments for scenarios where the user has not installed the Gpay app in the mobile used for transaction
Merchants can use the Omnichannel API to request and accept payments from customers through Google Pay by requesting a single identifier (like a phone number) in their purchase flow. This API provides a server-side interface for merchants to initiate a payment call to Google and complete the transaction, also making it compatible with various platforms (especially to provide Gpay option on Web and iOS platforms).
Merchants can pre-populate the user's phone numbers (or ask for input) on their app or website.Once the user confirms the populated information, the merchant makes a server call to request payment. The Google Pay app directs the user to complete the payment.
The merchant verifies the payment status with their PSP before proceeding to confirm the purchase.
The User Experience is handled by the merchant when using mobile number based push payments on GooglePay. Please refer to GooglePay brand guidelines before implementing.
Step 1: User selects GooglePay as the preferred Payment Option.
Step 2: User is asked to enter the Mobile Number linked to GooglePay in the payment page. Merchants can choose to autofill this field.
Step 3: User clicks on “PAY”. The /txns API is called on click. This triggers a request to the GooglePay account linked to the mobile Number passed.
Step 4a: The response contains the field “url”. The URL needs to be loaded on a browser. The URL checks Juspay order status. As soon as the user confirms the payment on GooglePay, the browser will redirect to the merchant redirection page.
Step 4b: Instead of loading the URL passed in the response, merchants can handle UI natively and check Juspay order status
API for the order confirmation. Once the user pays on GooglePay, the status API will return “CHARGED”. Until then, the status will be “PENDING_VBV”.
Ensure that below Gpay configs are added at Juspay end-
Enable/ Disable fallback flow
Choose the fallback flow required (UPI Intent or Push Pay)

