Google Pay
Accept Google Pay payments
Google Pay enables fast, secure checkout using cards stored in a customer's Google account.
Configuration
| Setting | Value |
|---|---|
payment_method | "google-pay" |
| Tokenization gateway | "ginger" |
| Supported networks | Amex, Mastercard, Maestro, Visa, V Pay |
Authentication Methods
| Method | Description |
|---|---|
PAN_ONLY | Uses the card number stored in Google. Requires 3D Secure authentication. |
CRYPTOGRAM_3DS | Uses a device token with a 3DS cryptogram. No additional authentication needed. |
Creating an Order
{
"merchant_order_id": "order-123",
"currency": "EUR",
"amount": 2500,
"return_url": "https://www.example.com",
"webhook_url": "https://www.example.com/webhook",
"transactions": [
{
"payment_method": "google-pay"
}
]
}Redirect the customer to the payment_url in the response to complete the Google Pay flow.
[!WARNING] You must follow Google Pay's brand guidelines and acceptable use policies when integrating Google Pay.