Google Pay
NewLearn more about Google Pay and its payment workflow.
Google Pay™ is a mobile wallet solution available to all the customers who have a Google account. To use this payment method, you must adhere to the Google Pay APIs Acceptable Use Policy and accept the terms that Google Pay API Terms of Service defines.
Documentation and Checklists from Google Pay
This section is only valid for integrations other than the payment pages.
- For a general overview on Google Pay, see the Google Pay Web developer documentation
- Refer to the checklist provided by Google before you go live: Google Pay Web integration checklist
- Register your merchant shop with Google Pay in their business console.
- Adhere to the Google Pay Web Brand Guidelines.
Payment method type | Wallets |
Supported schemes | Mastercard and Visa |
Available in | All countries |
Supported currencies | All major currencies |
Properties
Redirect | Refund | Partial Refund | Reversal | Chargeback | Recurring | Payout | ||
---|---|---|---|---|---|---|---|---|
Advantages
- Seller Protection: You have an extra line of defense for customer disputes for unauthorized transactions and item not received scenarios.
- Increased customer confidence: Give your customers the option to pay with the most popular alternate payment method.
- Increased conversion rate: With their preferred payment source already stored in their Google Pay account, customers can simply log in, select Buy Now, and are redirected back to your shop within seconds.
- Safer option for the customer: The customer does not need to enter the credit card details each time they shop.
Payment workflow
The following diagram explains workflow for Google Pay payments.
Step 1: Create a googlepay
payment type resource with the encrypted payment token from Google.
A resource ID is generated in the response and is used in the workflow to complete the payment.
Step 2:
(Option 1): Make a charge
transaction with the googlepay
resource that you created.
(Option 2): Make an authorize
transaction with the googlepay
resource you created.
Step 3:
(Option 1): Forward the customer to the redirectUrl
that is displayed in the charge
response.
(Option 2): Forward the customer to the redirectUrl
that is displayed in the authorize
response.
Step 4:
(Option 1): Once the customer makes the payment at Google Pay, redirect the customer to the returnURL
specified in the initial charge
call. The merchant needs to query the result and show it to the customer by redirecting him to the final shop result page.
(Option 2): Once the customer authorizes the payment at Google Pay, redirect the customer to the returnURL
specified in the initial authorize
call. The merchant need to query the result and show it to the customer by redirecting him to the final shop result page.
Step 5: After the transaction, display the result to the customer in the front end of the online shop.
Step 6: (Option 2 only) When you are ready to capture the authorized payment, create a charge
using the paymentId
from the authorize
response.
Integration options
Use pre-built, configurable all-in-one pages with your own mix of payment methods
Start integratingUse pre-built forms and quickly integrate with minimum work on the client side
Start integrating