-
Notifications
You must be signed in to change notification settings - Fork 678
[Prototype] Migrate cardscan module with GPCR API #11345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Diffuse output:
APK
DEX
|
f11c1a9
to
8db524b
Compare
.setEnvironment( | ||
if (isPaymentSheetExample) | ||
WalletConstants.ENVIRONMENT_TEST | ||
else | ||
WalletConstants.ENVIRONMENT_PRODUCTION | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ENVIRONMENT_TEST
is set, the app does not need to be approved by Google Pay but the return data is always mocked.
if ENVIRONMENT_PRODUCTION
is set, the app requires to be approved otherwise an exception will be thrown.
It makes more sense to alway have the real scanner for merchants integrating PaymenSheet, but we might not be able to use it for our example app.
Summary
Motivation
Testing
Screenshots
Changelog