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

# Google Pay on web with Embed

Google Pay is the faster, more secure way to pay online using cards saved
in your customer's Google Account.

Google Pay is supported out of the box in Embed with minimal configuration.

## About this integration

Embed requires minimal configuration to get set up to process Google Pay. Unlike
some other integrations it does not require you to sign up for a Google Developer account.

## Enable Google Pay

To enable Google Pay, head over to your dashboard and then go to
**Connections** -> **Catalog** -> **Google Pay**.

Next, fill in your merchant name and the one or more domain names where you want to
use Google Pay.

<img src="https://mintcdn.com/gr4vy/jCFeFdffXM43huI0/assets/images/google-pay/dashboard.png?fit=max&auto=format&n=jCFeFdffXM43huI0&q=85&s=8475f0a1a835e7a28442e21311c6c285" alt="Google Pay connector setup" width="3232" height="2254" data-path="assets/images/google-pay/dashboard.png" />

## Test Google Pay

To test Google Pay visit the site that has Embed loaded on it. Google Pay should
automatically be displayed. Please follow the Google Pay documentation with further guides on how
to add [test cards](https://developers.google.com/pay/api/android/guides/resources/test-card-suite) for use in
a sandbox environment.

## Common issues

<AccordionGroup>
  <Accordion title="Apple Pay option is not shown">
    There could be many reasons why this doesn't show.

    * Make sure you are using an [Apple Pay compatible browser and device](https://support.apple.com/en-gb/102896)
    * Make sure an Apple account is set up on the device and cards are added to it
    * Make sure the system is set up to handle Apple Pay
      * Check the Apple Pay connection is enabled
      * Check the Apple Pay connection is set up to handle transactions on the domain you're testing on
      * Check a card connector is enabled for the selected country/currency
      * Check that a Flow rule doesn't hide Apple Pay
  </Accordion>

  <Accordion title="Apple Pay payment failed">
    There could be a few reasons why this doesn't show but most likely
    this means the card was sent to a connector that either doesn't understand
    Apple Pay cards, or did not recognize the test card.
  </Accordion>

  <Accordion title="Error when adding test card to wallet">
    This seems to happen at times with the test cards provided by Apple. Try a
    different card, or try again later.
  </Accordion>

  <Accordion title="Apple Pay sheet opens and immediately closes">
    When using a real card in a sandbox environment, Apple Pay fails to initialize. This results
    in the Apple Pay UI quickly appearing and then disappearing.

    The reason for this happening is that the validation URL generated by Apple Pay is rejected by
    the [`POST /digital-wallets/apple/session`](/reference/digital-wallets/get-apple-pay-session) endpoint. Please only use [test cards](./testing) in the sandbox
    environment.
  </Accordion>
</AccordionGroup>
