The new test card suite empowers Google Pay developers to run integration and API tests without the need to add a real credit card in their Google Account.
We recommend that you test your integration before you take it live. To do so, add your email to our test card suite group. This sets up your account so that when you open the payment sheet with the environment variable set to `TEST`, you see a suite of test cards instead of the cards associated with your account in production.
This suite is intended to help you complete the integration checklist to streamline the approval process in our Google Pay and Wallet Console so that you can request production access.
You're free to leave or join our test card suite group as needed. To leave, select My membership settings and click Leave group.
Gateway test cards
When you use the test suite with an eligible gateway, you see a list of test cards supplied by
the gateway instead of our mock test card suite. When the payment sheet flow generates the
PaymentData object, the selected card value is encrypted into the provided token.
This allows you to pass it to the gateway's test environment and receive the expected response. We
currently support the following gateways:
If your gateway isn't listed above, refer to the Mock test cards section.
Mock test cards
- Visa, Mastercard, Discover, and Amex card networks
- A single billing address in the US
- Shipping addresses in the US, Australia, Brazil, Canada, Hong Kong, Japan, Poland, Russia, and Singapore