'How to test Google Pay flow on android app with googles test card suite

Currently I am trying to use a test creditcard from Googles Test Card Suite in the native Google Pay App.

Currently all I get is a native gpay popup, which shows a "add a payment method", after clicking the google pay button. On Web on the other hand I see multiple test creditcards after clicking on the Pay with Google button with the same account. The calling app is set up with the test flag

        val walletOptions = Wallet.WalletOptions.Builder()
                .setEnvironment(WalletOptions.ENVIRONMENT_TEST)
                .build()

Am I not able to use those card with the native gpay app?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source