Payment Method Details
| Customer locations | Worldwide |
| Supported currencies | All currencies |
| Recurrent payments | ✓ |
| Manual capture support | ✓ |
| Refunds | ✓ |
| Supported processors | Stripe Braintree Unlimit Worldpay |
Overview
PayNext exposes Google Pay wherever your checkout runs as soon as a connected processor supports it. Stripe, Braintree, and Unlimit all provide Google Pay capabilities; PayNext handles token encryption and stores the resulting payment methods for reuse. PayNext supports two approaches for processing Google Pay tokens — Standard and Native Decryption. Both run in parallel, and you choose which one to use per checkout configuration from the Dashboard.Prerequisites
- A processor connection (Stripe, Braintree, or Unlimit) with Google Pay enabled
- A Google Pay–capable browser or Android device for testing
Enable Google Pay with your processor
- Stripe: Activate Google Pay under Payments → Payment methods in the Stripe Dashboard. Stripe automatically provisions the Google Pay merchant ID.
- Braintree: Follow Braintree’s Google Pay onboarding (including registering your domain if prompted) and enable the method for the merchant account that PayNext uses.
- Unlimit: Ask your Unlimit account manager to turn on Google Pay for the wallet connected to PayNext.
Decryption Approaches
PayNext offers two approaches for handling Google Pay payment tokens. Both coexist and you can switch between them at any time from the Dashboard.- Standard (Evervault Relay)
- Native Decryption
The default approach. The SDK sends the Google Pay token through Evervault’s relay proxy, which encrypts sensitive card data before it reaches PayNext servers. The encrypted token is then forwarded to the processor.How it works:
- Customer authorizes payment via Google Pay
- SDK sends the token through the Evervault relay
- Evervault encrypts sensitive fields in transit
- PayNext receives the encrypted token and routes it to the processor
This is the default behavior when Native Google Pay decryption is turned off in the Dashboard. No additional server-side configuration is required.
Compare Approaches
| Standard (Relay) | Native Decryption | |
|---|---|---|
| Token handling | Encrypted in transit by Evervault relay | Decrypted and re-encrypted server-side in a secure environment |
| Dashboard toggle | Default (off) | Enable Native Google Pay decryption |
| 3DS support | Full (PAN_ONLY + CRYPTOGRAM_3DS) | Full (PAN_ONLY + CRYPTOGRAM_3DS) |
Configure Decryption Approach
Switch between Standard and Native decryption from the Dashboard. The SDK reads this setting automatically — no code changes are required on the client side.Open Checkout settings
Go to Dashboard → Checkout and select Google Pay from the payment methods list.
Toggle native decryption
Enable or disable Native Google Pay decryption. When enabled, PayNext decrypts Google Pay tokens server-side instead of routing them through the relay.
How the Flag Works
Theuse_native_decryption flag in the checkout configuration is a client-side signal. It tells the SDK which Google Pay token format to send — the server does not check the flag itself.
SDK reads the checkout configuration
On initialization, the SDK fetches the checkout config from PayNext. Each payment method entry includes
use_native_decryption (for Google Pay).SDK chooses the token format
If
use_native_decryption is true, the SDK sends the raw ECv2 token in the google_pay_direct field. If false (default), the SDK routes the token through the relay and sends it in the google_pay field.This design means the flag and the payload are always in sync — the SDK is the single source of truth for which format to use, and the server simply reacts to what it receives.
Checkout Implementation
- Checkout SDK: Google Pay buttons render automatically when PayNext detects support from at least one connected processor and the customer’s device meets Google Pay requirements. The SDK reads
use_native_decryptionfrom the checkout configuration and chooses the appropriate token format. - Server-led API: Submit the Google Pay token to the PayNext Payments API using
google_pay_direct(for native decryption) orgoogle_pay(for standard relay). The server routes based on which field is present.
Testing
- Add a test card to Google Pay and use Chrome (Desktop) or an Android device to complete flows.
- Stripe and Braintree both provide Google Pay test cards—refer to Stripe’s test cards and Braintree’s Google Pay guide for sample payloads. Confirm the currency matches your merchant account configuration.
- Verify that PayNext records the Google Pay wallet in the payment timeline and that Workflows execute as expected (including 3DS, where applicable).
- When testing Native Decryption, confirm the payment completes successfully end-to-end.
3DS Behavior
Google Pay behavior depends on how the card is tokenized:- Device-tokenized cards (on Android): Embed 3DS natively with biometric authentication. The first charge includes a wallet-generated 3DS cryptogram, and all subsequent payments use exemptions. is not supported, as these flows rely on MIT exemptions
- Raw card data: PayNext can run interactive 3DS on the card payment.