Learn how to accept Google Pay through Safepay's hosted checkout.
Safepay supports Google Pay™ on its hosted checkout pages, enabling customers to complete payments using any credit or debit card saved to their Google Account. Merchants using Safepay’s hosted gateway do not need to make any integration changes — Google Pay is automatically enabled on the hosted page for eligible customers.
This document outlines Safepay’s current integration in Phase 1, which includes only the hosted checkout experience. API-based merchant integrations are planned for future phases.
Safepay has implemented a direct integration with Google Pay using the Google Pay JavaScript API. The Google Pay button is rendered on Safepay’s hosted checkout page. When a customer clicks the button, the payment sheet is presented, and a secure token is received, decrypted, and processed via Safepay.
In Phase 1:
For PCI DSS-certified merchants integrating directly with Google Pay in the future, the following parameters should be used:
{
"gateway": "safepay",
"gatewayMerchantId": "<your_merchant_id>"
}
Safepay supports two secure methods for handling Google Pay payment tokens:
Safepay supports:
PAN_ONLY
CRYPTOGRAM_3DS
Safepay recommends using
CRYPTOGRAM_3DS
to reduce fraud and increase issuer authorization rates.
billingAddressRequired: true
in the Google Pay request object.Merchants receiving a PAN_ONLY token can:
payment_method
from the tokenized dataFeature | Supported |
---|---|
Card Brands | Visa, MasterCard |
Methods | Authorize, Capture, Refund |
Browsers | Chrome, Firefox, Safari, Edge, Opera, UCWeb |
Platforms | Web (hosted checkout), Android (via browser) |
By integrating Google Pay, you agree to comply with Google’s Terms of Service.
Safepay will introduce full API-based Google Pay support for merchants in a future release. This will include:
This document will be updated accordingly at that time.