Lahari Areti
Lahari Areti

Reputation: 637

Pay with google using stripe in android in test mode

I implemented pay with google using stripe in test mode but when iam running app it shows an error .

error is

"unrecognised app.please make sure that you trust this app before proceeding" and it also shows transaction declined : invalid payment

Upvotes: 1

Views: 899

Answers (1)

ryan linnane
ryan linnane

Reputation: 21

I know this is an old thread but see point 4, below, taken from the google pay API documentation. As long as you are in test mode this will show up.

" public static final int ENVIRONMENT_TEST Environment constant for running in the test environment with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing the Wallet SDK.

  1. Does not require the application to be uploaded to the Google Play Store.
  2. Does not require a Google Pay Developer Profile.
  3. It uses production data, but at the end of the transaction you will receive a fake and non chargeable payment credential.

    4. The user will see a warning message that the app is not recognized/verified.

Constant Value: 3 "

Google Pay TEST_ENVIORNMENT

Upvotes: 2

Related Questions