You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.
I am trying to run the example app with the updated dependencies and gradle wrapper.
When I run it and try to make a payment after pressing the button "buy with Android pay" an error dialog shows:
Request failed: An unexpected error has occurred. Please try again later.
And after I press ok I see this message in the logs:
06-01 18:28:02.378 12251 12251 W WalletMerchantError: Error in loadMaskedWallet: Did you forget the set Android Pay testing environment to PROD?
What's the type of card you have in Android Pay?
Is it real card or test card with generated number / CVC ?
If it's test card - you can try to replace all: WalletConstants.ENVIRONMENT_TEST
in your code with: WalletConstants.ENVIRONMENT_SANDBOX
You will (most probably) move one step further in android pay flow. But it's deprecated feature already, and it doesn't work very consistent anymore.
The best way to make it work: use real card with ENVIRONMENT_TEST constant.
In that case you won't be charged.
@ShkurtiA Issue: test cards (even the one provided by Google) don't work anymore (at least not outside of US); Solution: you need real card to make it work. You won't be charged with ENVIRONMENT_TEST.
Hello,
I am trying to run the example app with the updated dependencies and gradle wrapper.
When I run it and try to make a payment after pressing the button "buy with Android pay" an error dialog shows:
And after I press ok I see this message in the logs:
06-01 18:28:02.378 12251 12251 W WalletMerchantError: Error in loadMaskedWallet: Did you forget the set Android Pay testing environment to PROD?
Before trying the example app I did my own example and this is the question I opened in stackoverflow with the same results and error: https://stackoverflow.com/questions/44305488/android-pay-error-in-loadmaskedwallet
Do you have any idea what the problem could be? I have tried in two different devices and 2 different cards
The text was updated successfully, but these errors were encountered: