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:
[[["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-02-28 UTC."],[[["The Google Pay test card suite allows developers to test integrations without using real credit cards in TEST environments."],["To access the test card suite, join the Google Pay test card suite group to use it with the environment variable set to `TEST`."],["The suite includes gateway-specific test cards for supported gateways and mock test cards for broader testing."],["Gateway test cards provide realistic responses for supported gateways while mock test cards are for basic payment sheet behavior."],["Use the provided resources and documentation links to troubleshoot issues and access relevant testing information for each gateway."]]],["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"]]