Google Pay™ Integration
Accept Google Pay™ payments through Plexo using either Plexo Hosted Checkout or your own Google Pay SDK integration.
Choose Your Flow
You want Plexo to render checkout and handle Google Pay inside the hosted experience
Create a checkout session and use the hosted checkout URL returned in the session actions
You want full control over the checkout UI and render the Google Pay button yourself
Fetch runtime configuration, initialize the Google Pay SDK, send the encrypted token to your server, then forward it to Plexo via the Payments API
Shared Prerequisites
Google Pay Merchant Account - Register at Google Pay & Wallet Console
Plexo Merchant Account - Use an active merchant in Plexo
Google Pay Enablement - Ask
[email protected]to enable Google Pay for the merchant before starting either flowIntegration Choice - Decide whether you will use Hosted Checkout, API integration, or both
Google Resources
If you render the Google Pay™ button yourself, follow Google's official branding and go-live checklists:
Hosted Checkout merchants do not build or brand the button themselves because Plexo renders Google Pay inside the hosted experience.
Google Pay Quick Reference
Runtime configuration endpoint
GET /v1/merchants/{merchantId}/google-pay/configuration
tokenizationSpecification.parameters.gateway
plexouy
tokenizationSpecification.parameters.gatewayMerchantId
Your Plexo merchantId rendered as a string
Supported allowedAuthMethods
PAN_ONLY, CRYPTOGRAM_3DS
PAN_ONLY and 3DS
Plexo triggers 3DS only when the merchant's standard 3DS configuration is enabled and the payment matches the merchant's 3DS rules. Otherwise Plexo returns google-pay-pan-only-cvc-required and you retry with CVC.
If you are building the API flow, refer to the Google Pay API documentation for client-side SDK setup.
By using Google Pay, you agree to the Google Pay and Wallet API's Acceptable Use Policy and the Google Pay API Terms of Service.
Enable Google Pay
Before using either flow, make sure Google Pay is enabled for your merchant. If you manage merchant configuration through the API, use PUT /v1/merchants/{merchantId}/wallet-integrations/google-pay. Otherwise contact [email protected] with your merchant details and the integration mode you need: hosted, api, or both.
Integration Modes
hosted
Google Pay is available inside Plexo Hosted Checkout
api
You render Google Pay and send the resulting token to Plexo
both
The merchant can use both hosted and API integrations
For API mode with profileMode = plexo, we recommend providing the following configuration parameters to ensure a smooth integration:
googleMerchantNameas the display name for Google PaygoogleMerchantOriginas a hostname without protocolallowedAuthMethodswith one or both ofPAN_ONLYandCRYPTOGRAM_3DSallowedOriginsas a list of allowed origins for Google Pay API calls (e.g.["https://yourdomain.com"])
If you want PAN_ONLY available in PRODUCTION, include it explicitly in allowedAuthMethods.
After Plexo confirms enablement, continue with the integration guide that matches your flow.
Implementation Guides
Web - Hosted checkout using Plexo Checkout
API - Send the resulting Google Pay token to Plexo via the Payments API
Direct Tokenization
If you only need to tokenize a Google Pay token without creating a payment, use POST /v1/tokenizations with source google-pay-token. The response includes card metadata (cardType, cardOrigin, issuer.country) that you can use for installment UX decisions. See the Tokenization Guide for details and examples.
Next Steps
Last updated