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

# Google Pay

> Let buyers pay with a card saved in their Google account on Ionic's hosted payment pages.

Google Pay lets buyers pay with a card saved in their Google account. It
appears on Ionic's hosted payment pages for one-time payments.

| Where buyers pay | Setup |
| - | - |
| [Hosted checkout](/guides/checkout) | None |
| [Payment links](/guides/payment-links) | None |
| [Hosted invoices](/guides/invoices) | None |

[Embedded checkout](/guides/embedded-checkout) and subscription sign-ups show
the card form.

## Turn on Google Pay

There is nothing to register or host. Google Pay depends on your payment
processing, so ask Ionic support to confirm it is available for your account.

## What buyers see

The Google Pay button appears above the card form for one-time payments with a
total above zero. The buyer picks a card in Google's payment sheet, which asks
for the same details your checkout collects, such as email, phone, and shipping
address. Google Pay payments are not saved for future use.

## After the buyer pays

A Google Pay payment completes like a card payment, so there is no extra code to
write. Hosted checkout and payment links send
[`checkout.session.completed`](/webhooks/events), and a paid hosted invoice
sends [`invoice.paid`](/webhooks/events). The [Charge](/api-reference/charges)
shows `google_pay` in `payment_context.wallet`.

## Test Google Pay

Google does not offer test cards for Google Pay, so test with a Google account
that has a real card saved. In
[test mode](/concepts/key-concepts#test-mode-and-live-mode), no money moves.
Open a test-mode payment link or checkout session to see the button.

## What's next

<CardGroup cols={2}>
  <Card title="Accept a payment with Hosted Checkout" icon="shopping-cart" href="/guides/checkout">
    Send buyers to a hosted page that shows Google Pay.
  </Card>

  <Card title="Create a payment link" icon="link" href="/guides/payment-links">
    Share a reusable URL that shows Google Pay.
  </Card>

  <Card title="Send an invoice" icon="file-invoice" href="/guides/invoices">
    Let buyers pay hosted invoices with Google Pay or a card.
  </Card>

  <Card title="Offer Apple Pay" icon="apple" href="/guides/apple-pay">
    Add Apple Pay on hosted pages and embedded checkout.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.