alt

Important information

The API reference is now available here.
The deprecated API reference is available here.

Unzer

Google Pay

Learn 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.

Supported schemes

The brands that are supported with Google Pay are Mastercard and Visa.

Documentation and Checklists from Google Pay

This section is only valid for integrations other than the payment pages.


Available inSupported currenciesRedirectRefundPartial RefundReversalChargebackRecurringPayoutPay laterUnzer Secured
All countriesAll major currenciesticktickticktickticktickcrosscrosscross

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.

Google Pay workflow

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 returnURLspecified 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

Use pre-built forms and quickly integrate with minimum work on the client side

Integrate with Unzer using your own payment form