Overview
Google Pay allows customers to pay using cards stored in their Google account. With billions of Google accounts worldwide, Google Pay provides a massive reach for one-tap checkout experiences. Through Yuno, you can accept Google Pay on Chrome (web), Android apps, and other supported browsers.Prerequisites
Google Merchant Account
Register for a Google Pay merchant account through the Google Pay Business Console. Obtain your Google Merchant ID.
HTTPS Required
Your checkout page must be served over HTTPS. Google Pay will not load on insecure pages.
Integration with Full Checkout SDK
Yuno’s Full Checkout SDK automatically renders the Google Pay button when the customer’s browser supports it.Direct API Integration
For Direct API integrations, use the Google Pay JavaScript library to obtain a payment token, then pass it to Yuno.Supported Countries and Networks
| Network | Countries |
|---|---|
| Visa | US, BR, MX, CO, CL, AR, and 40+ more |
| Mastercard | US, BR, MX, CO, CL, AR, and 40+ more |
Google Pay supports both credit and debit cards. Card eligibility depends on the issuing bank’s participation in Google Pay.
Testing in Sandbox
- Use
environment: "TEST"in the Google Pay client initialization. - Google provides test card numbers that work in the TEST environment.
- Pair with your Yuno sandbox credentials for end-to-end testing.
In TEST mode, Google Pay returns a test token that will not process real charges. Switch to
"PRODUCTION" and your live Yuno keys before going live.Google Pay with PIX
In Brazil, Google Pay can be used as a payment interface for PIX transactions. This combines Google Pay’s wallet convenience with PIX’s instant settlement capabilities.Google Pay PIX is available in Brazil only with BRL currency exclusively.
How It Works
Google Pay PIX uses Open Finance infrastructure to facilitate PIX payments through the Google Wallet. Instead of navigating to a banking app, customers authorize transfers directly within Google Pay.- Customer selects Google Pay at checkout.
- Google Pay presents PIX as an available option.
- Customer authorizes payment through their bank credential.
- Yuno creates a
PENDINGpayment and returns PIX artifacts. - Customer completes the transfer via their banking app.
- Bank confirms the transaction to the provider.
- Provider notifies Yuno. Webhook fires and status updates to
SUCCEEDED.
Supported Providers
- Adyen
- Santander
- Itau
Payment Creation
Setpayment_method.type to GOOGLE_PAY_PIX (distinct from card-based GOOGLE_PAY):
Key Differences from Card-Based Google Pay
| Factor | Google Pay (Cards) | Google Pay PIX |
|---|---|---|
| Processing | Typically synchronous | Asynchronous |
| Settlement | Provider-dependent | Instant (PIX network) |
| Geography | Global | Brazil only |
| Recurring support | Yes (via tokens) | No |
| Post-checkout action | None | Customer completes bank transfer |
Requirements
- Customer must have a PIX-enabled bank account configured in their Google Wallet.
- Transactions must be denominated in BRL.
- Active Yuno account with a supported provider connection.
Troubleshooting
| Issue | Cause | Resolution |
|---|---|---|
| Button not showing | Browser not supported | Google Pay requires Chrome 61+ or compatible browser |
DEVELOPER_ERROR | Invalid merchant ID | Verify Google Merchant ID in Dashboard settings |
| Token rejected | Wrong environment | Ensure Google Pay and Yuno environments match (test/prod) |
| No cards available | User has no cards | Customer must add cards to their Google account |