Reputation: 1747
Trying to use the Google sample app for Android Pay. I got the error in logcat:
"To use this API, you must set the WalletOptions 'brand' field to ANDROID_PAY"
Anyone knows why and can help out?
The link for the sample app is : https://github.com/android-pay/androidpay-quickstart Thanks
edit: attaching the logcat:
10-16 10:32:33.564 26114-355/? E/Volley: [4806] BasicNetwork.performRequest: Unexpected response code 400 for https://wallet.google.com/payments/apis/instantbuy/android/v1/getWalletItems
10-16 10:32:33.568 26114-26667/? W/BaseAppContext: Using Auth Proxy for data requests.
10-16 10:32:33.584 21959-21959/? E/OwServiceUtils: Wallet error code: 51
10-16 10:32:33.584 21959-21959/? E/OwServiceUtils: Wallet error detail: To use this API, you must set the WalletOptions 'brand' field to ANDROID_PAY.
Upvotes: 3
Views: 1945
Reputation: 1747
For Future reference: https://github.com/android-pay/androidpay-quickstart/issues/6 The issue was a server issue and was fixed by Google.
Upvotes: 2