testEnv property

bool get testEnv
inherited

Set to true to run in a test environment with relaxed application / merchant requirements. This environment is suggested for early development and for easily testing SDK.

  • Does not require the application to be uploaded to the Google Play Store.
  • Does not require a Google Pay Developer Profile.
  • It uses production data, but at the end of the transaction you will receive a fake and non chargeable payment credential.
  • The user will see a warning message that the app is not recognized/verified.

Implementation

bool get testEnv => throw _privateConstructorUsedError;