# Configure Google Pay

This guide offers detailed, step-by-step instructions for setting up Google Pay in test mode using either Adyen or Chase within Zuora. This feature is available starting from release 102.

Here is a video tutorial for how to setup Google Pay from the Limio app:

{% embed url="<https://www.loom.com/share/d433e99720494892aaed132cb8ea7f62>" %}

## Prerequisites

You must have Adyen or Chase gateways in Zuora.

## Step-by-Step Instructions

### 1. Set Up a Gateway in Zuora with Google Pay Active

Follow the instructions to set up Adyen Google Pay through the REST API. Detailed steps can be found in the [Zuora documentation](https://knowledgecenter.zuora.com/Zuora_Payments/Payment_Methods/B1_Define_Payment_Methods/B3_Set_up_Adyen_Google_Pay). For Chase, refer to this [documentation](https://knowledgecenter.zuora.com/Zuora_Payments/Payment_Methods/B1_Define_Payment_Methods/B4_Set_up_Google_Pay_on_Chase).

Please be aware that all limitations specified by Zuora are applicable to Limio's integration of Google Pay.

### 2. Google Pay API Test Cards

* Test cards are available from Google.
* Sign up and they will be accessible in any environment set to ‘TEST’ mode.
* Refer to the [Google Pay API Test Cards Allowlist](https://groups.google.com/g/googlepay-test-mode-stub-data) for more information.

### 3. General Settings for Google Pay

Settings are a mix of configurations from Zuora, Adyen, and Google. Below is a detailed explanation of each setting.

| Setting Label              | Provider | Details                                                                                                                                                                                                                                                                                                                              |
| -------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Gateway Name**           | User     | This corresponds to the gateway to be used. Currently Limio only supports 'Adyen'.                                                                                                                                                                                                                                                   |
| **Gateway Merchant Id**    | Adyen    | This is the account name from Adyen.                                                                                                                                                                                                                                                                                                 |
| **Display Name**           | User     | Displays the shop name in the payment sheet.                                                                                                                                                                                                                                                                                         |
| **Merchant Identifier**    | Google   | Find your Merchant ID in the [Google Payments Centre Help](https://support.google.com/paymentscenter).                                                                                                                                                                                                                               |
| **Mode**                   | User     | Always set to “TEST” for non-production environments. Set to “PRODUCTION” for production. [Google Pay API Mode](https://developers.google.com/pay/api).                                                                                                                                                                              |
| **Allowed Auth Methods**   | User     | Use `Cryptogram_3ds` for production. `pan_only` may require step-up challenges and Zuora only supports the cryptogram method currently.                                                                                                                                                                                              |
| **Accepted Card Networks** | User     |                                                                                                                                                                                                                                                                                                                                      |
| **Zuora Gateway**          | Zuora    | Configured in Limio as required and follows the same logic as all other gateways.                                                                                                                                                                                                                                                    |
| **Google Button Config**   | User     | Configures button color, radius, and type. Although multiple options are allowed, only option 1 is used - see here for design [choices](https://developers.google.com/pay/api/web/guides/resources/customize). If Limio does not support an option listed and it is required, please raise a request with support to add the option. |

### 4. Final Steps

1. **Add Allowed Hosts:**
   * Add the following hosts to your configuration:
     * `https://google.com/pay`
     * `https://pay.google.com`
2. **Add Google Pay to Payment Methods:**
   * Include `google_pay` in the payment methods in your template.
   * Make an offer with the payment method included.

## References:

* [Google Pay API Documentation](https://developers.google.com/pay/api)
* [Zuora Knowledge Center](https://docs.zuora.com/en)
* [Google Payments Centre Help](https://support.google.com/paymentscenter)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.limio.com/integrations/zuora-integration/configuring-payment-gateways/configuring-payment-type/how-to-configure-google-pay-for-zuora-in-limio-in-test-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
