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 & 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 lets you pass it to the gateway's test environment and receive the expected response. The
Test Card Suite supports the following gateways:
Gateway | GatewayId | Documentation Links |
---|---|---|
ACI Worldwide | aciworldwide | 3DS Test Cards |
Adyen | adyen | Test Card Numbers |
Braintree | braintree | Testing and Go Live |
Cardinal | worldpay | Test Cases |
CCV.eu | ccv | CCV.eu Test Cards |
Checkout.com | checkoutltd | Default Cards and Responses |
Cybersource | cybersource | Cybersource Testing Guide |
Fondy | fondyeu | Fondy Test payment details |
LiqPay | liqpay | LiqPay Test Data |
Nuvei |
|
Nuvei Testing Cards |
Paysafe | paysafe | Paysafe testing cards |
Stripe |
|
Cards by Brand |
Worldline | worldlinena | Worldline Test Cases |
Worldpay | worldpay | Card Payment Testing |
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, and Singapore
![Test cards and shipping UI](https://developers-dot-devsite-v2-prod.appspot.com/static/pay/api/images/test_cards_and_shipping.png?authuser=6)