Test card suite

The test card suite lets Google Pay developers run integration and API tests without the need to add an actual credit card in their Google Account.

We recommend that you test your integration before you take it live. By default, when the payment sheet opens with the environment variable set to TEST , it displays a suite of test cards. Those test cards return as Funding Primary Account Number (FPAN) or Device Primary Account Number (DPAN) based on the processor configuration.

This suite helps you to complete the Integration checklist to simplify the approval process in our Google Pay & Wallet Console to request production access .

Gateway test cards

Gateway test cards

When you use the test suite with an eligible gateway, the gateway displays a list of test cards 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 the selected card value to the gateway's test environment and receive the expected response.

The test card suite supports the following gateways:

Gateway
GatewayID
Documentation links
Adyen
adyen
Braintree
braintree
Cardinal
worldpay
CCV.eu
ccv
Checkout.com
checkoutltd
Cybersource
cybersource
Fiserv
fiserv
LiqPay
liqpay
Netaxept
epaymentnets
Nuvei
  • nuveidigital
  • nuvei
Paysafe
paysafe
Stripe
  • stripev2
  • stripe
Worldline
worldlinena
Worldpay
worldpay

If your gateway isn't listed in this table, refer to the Mock test cards section of this document.

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

Disable the test card suite

To see your account's saved cards in the test environment, join the real data group and disable the test card suite for your account. You can leave this group at any time to re-enable the test card suite with that account.

Troubleshooting

Use the public issue tracker for PSP test cards to file any issues with this product feature. Make sure to refer to the existing issues before you create new ones.

Create a Mobile Website
View Site in Mobile | Classic
Share by: