Stay organized with collections
Save and categorize content based on your preferences.
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 FPAN test card suite
group. If you need these cards to behave as DPANs, add your email to
our DPAN test card suite
group as well.
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. Those test cards will return as FPAN or DPAN, whenever possible, depending on the
group(s) you joined.
You're free to leave or join these test card groups
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 lets you pass it to the gateway's test environment and receive the expected response. The
Test Card Suite supports the following gateways:
If your gateway isn't listed in this table, refer to the
Mock test cards section.
Mock test cards
Visa, Mastercard, Discover, and Amex card networks
The PAN_ONLY authentication method
A single billing address in the US
Shipping addresses in the US, Australia, Brazil, Canada, Hong Kong, Japan, Poland, Russia,
Singapore, United Kingdom, Austria, Switzerland, Germany, Croatia, Czech Republic, Hungary,
Romania, Slovakia, Slovenia, Serbia, and Sweden
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-17 UTC."],[[["The Google Pay test card suite enables developers to test integrations and APIs in `TEST` environments without using real credit cards."],["Developers can access the test card suite by joining the Google Pay test card suite group, which replaces real cards with test cards in the payment sheet."],["The test suite includes gateway-specific test cards for supported gateways, providing realistic testing scenarios with expected responses."],["If a gateway isn't supported, mock test cards are available to simulate basic payment sheet behavior, but they should not be used for end-to-end or production testing."],["Developers can leverage the test card suite to streamline the integration approval process for Google Pay and Wallet Console."]]],["Google Pay developers can use a test card suite in `TEST` environments to test integrations without real credit cards. Join the FPAN or DPAN test groups to see test cards instead of production cards. This helps streamline the integration approval process. The suite includes gateway-provided test cards for specific gateways listed. If your gateway is not listed you will use mock test cards. These mock test cards can only be used for testing payment sheet behavior, not end to end testing.\n"]]