Google Pay test automation
Payments
Wallet buttons sit everywhere from the mini cart to checkout. DoesQA proves they show up, open and complete.
What we test on Google Pay
Google Pay buttons in mini cart, basket and checkout
Apple Pay button placement
Wallets through Adyen and Braintree
Button visibility rules per market and device
Order confirmation
How to test Google Pay
Use Google Pay's TEST environment, not PRODUCTION. Google documents that a PaymentsClient in TEST returns dummy, non-chargeable payment methods. Check that the button shows in every placement you offer (mini cart, basket, checkout), on the markets and devices where it should, and that a TEST payment reaches confirmation. If you serve Google Pay through Adyen or Braintree, test that path too.
Run those checks on every release, on every market where the wallet is offered.
In DoesQA, Checks confirm every wallet button renders in the right place. Switch Window follows the payment sheet where the browser allows it.
Google Pay test checklist
The Google Pay button appears in the mini cart, basket and checkout, on a device and market where it should.
A payment in the TEST environment completes and returns to confirmation.
The button is hidden where your rules say it should not show.
If you offer Apple Pay, check button placement (this is not an Apple Pay completion test).
If you serve the wallet through Adyen or Braintree, complete that path too.
Where Google Pay tests usually break
TEST and PRODUCTION behave differently.
A PRODUCTION client can prompt a real wallet. Use the TEST environment for automation. Source: Google Pay's integration checklist.
Buttons are missing on some placements or devices.
A journey that only covers checkout misses the mini cart or a market rule. Check each placement you show to shoppers.
The payment sheet may open in a new window.
Follow it where the browser allows, then check confirmation. In DoesQA, Switch Window follows the sheet.
What you need to get started
A checkout that initialises Google Pay with environment TEST, not PRODUCTION. Source: Integration checklist (fetched 10 November 2026).
For end-to-end gateway testing, Google's test card suite.
If you serve Google Pay through Adyen or Braintree, that provider's test environment as well.




