> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pcibooking.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Pay Setup

> Configure Google Pay with PCI Booking. Merchant ID setup and integration options.

Google Pay lets customers pay using cards stored in their Google account. When a customer clicks the Google Pay button on your checkout page, they select a stored card from their Google account, authenticate if required, and the payment is processed without the customer manually entering card details.

Through PCI Booking's [Payments Library](/payments-library/overview), Google Pay is offered alongside card payments, Apple Pay, PayPal, and other methods on the same checkout page.

## How Google Pay Works with PCI Booking

When a customer selects Google Pay at checkout, the Payments Library displays the native Google Pay payment sheet. The customer chooses a payment method from their Google account and authorizes the transaction. PCI Booking receives encrypted payment data from Google and processes it securely. No card data passes through your servers.

Google Pay supports all operations: **CHARGE**, **TOKENIZE**, **CHARGE\_AND\_TOKENIZE**, **PREAUTH\_AND\_TOKENIZE**, and **GATEWAY\_TOKENIZE**. 3D Secure is handled natively by Google Pay.

**Browser support:** Chrome on Android and desktop Chrome with a linked Google account.

## Prerequisites

* A Google account with access to the [Google Pay & Wallet Console](https://pay.google.com/business/console/)
* A PCI Booking merchant account

## 1. Create a Business Profile

1. Go to the [Google Pay & Wallet Console](https://pay.google.com/business/console/).
2. Sign in with your Google account.
3. Complete the business profile setup, including your business name, address, and website.

## 2. Register Your Website

1. Add your website URL in the console.
2. Select your integration type (gateway integration is used with PCI Booking).
3. Submit for approval. Google reviews your website and integration before granting production access.

## 3. Get Your Merchant ID

After Google approves your integration, you receive a **Merchant ID**. This is required for production.

<Info>
  You can test without a Merchant ID using Google's test environment. The Merchant ID is only required for production.
</Info>

## 4. Store in PCI Booking

Create an eWallet account in PCI Booking with:

| Field                     | Description                                                      | Required |
| ------------------------- | ---------------------------------------------------------------- | -------- |
| **eWallet Type**          | GooglePay                                                        | Yes      |
| **Merchant Identifier**   | Your Google Pay Merchant ID from the Google Pay Business Console | Yes      |
| **Merchant Display Name** | Business name shown in the Google Pay payment sheet              | Yes      |

You can store credentials through the [PCI Booking portal](https://users.pcibooking.net) or programmatically via the [Store Credentials API](/api-reference/payments-library-accounts/store-credentials).

## Testing

You can test Google Pay without a production Merchant ID. In test mode, the Google Pay payment sheet shows test cards that do not process real payments. Once your integration is approved and you have a Merchant ID, switch to production mode to accept real payments.

<Warning>
  Google Pay buttons only appear when the Payments Library detects a compatible browser and a Google account with saved payment methods. Use `checkAvailability()` in the Payments Library to verify support before rendering the button.
</Warning>

## Next Steps

<CardGroup cols={2}>
  <Card title="Payments Library Credentials" icon="book" href="/account-setup/payments-library-credentials">
    Overview of all payment method credentials
  </Card>

  <Card title="Payments Library Overview" icon="book" href="/payments-library/overview">
    Integrate the library in your checkout page
  </Card>
</CardGroup>
