Use the following checklist to ensure you've completed all of the required steps in your Android integration.
About the test environment
Our test environment doesn't return live chargeable tokens in the PaymentData
response, but the test environment allows us to test elements of your purchase:
- Confirmation pages
- Receipts
- Billing address (optional)
- Billing phone number (optional)
- Shipping address (optional)
- Email address (optional)
An Unrecognized App
error appears on the Google Pay payment sheet until your app has
production access.
The value of the environment parameter from WalletOptions indicates whether the server runs in a production or in a test environment. The environment value can be one of the following:
-
WalletConstants.ENVIRONMENT_PRODUCTION
-
WalletConstants.ENVIRONMENT_TEST
For testing and development, use WalletConstants.ENVIRONMENT_TEST
.
Test your integration
Before you submit your integration to Google for validation in ENVIRONMENT_TEST
,
ensure that you've fulfilled the exit criteria for each of the following functional and brand
checks.
1. Basics
PAN_ONLY
transactions.DIRECT
tokenizationSpecification
type
integration, you must annually
rotate your public encryption key and provide PCI Attestation to Google via the Google Pay & Wallet Console
. PCI Attestation can be submitted by
a third-party or Qualified Security Assessor certified by the PCI Security Standards Council
, and
approved by an Approved Vendor
or Qualified Assessor
.2. Branding tests
isReadyToPay()
function.3. Functional tests
When you request a CARD
payment method type with PAN_ONLY
card authentication,
complete the cards on file test:
- If applicable, remove all cards from the Google Wallet application .
- If applicable, remove all cards on file from
pay.google.com
. - Return to your integration.
- Click Google Pay .
- Validate that you see the option to add a card.
- Add a card from a supported network, as defined in
allowedCardNetworks
. - Validate that you see the added card with a network logo in the selector.
When you request a CARD
payment method type with CRYPTOGRAM_3DS
card authentication,
complete the Android device token test:
- Check that your card issuer is supported , and add an eligible card in the Google Wallet application .
- Return to your integration.
- Click Google Pay .
- Validate that you see the added card with card art in the chooser.
If you've confirmed that your processor supports CRYPTOGRAM_3DS
card authentication,
you might proceed, even if CRYPTOGRAM_3DS
card authentication isn't available to you as
an Android user or cardholder.
If you require a shipping address, test processing of the shipping address in varied states of completion. Try the following methods:
- Test variances on a full name to be parsed into structured fields, such as John, John Doe, and Jane Doe Smith.
- Accurately parse all address lines returned by the Google Pay API, which might exceed the total number of address lines typically collected in your standard checkout flow.
- Verify that the returned country component of the address matches your site's supported shipping destinations . If you specified shipping restrictions, enter an unsupported shipping address and verify it's not allowed in the Google Pay payment sheet.