We are trying to integrate android pay functionality into our android application using below tutorial link: https://developers.google.com/android-pay/android/tutorial
To test this, we need "Android pay" app installed on device,so we have downloaded and installed it from given link: http://www.apkmirror.com/apk/google-inc/android-pay/android-pay-1-2-111627672-release/#downloads
After that we have tried to add card details to "Android Pay" app but got "Your card can't added at this time.Please try again later" message.
Let we know any way to add card details on Android Pay application outside US user,so we can test the Android pay functionality in our application.
Perform following steps by connecting your phone, to convert Android pay into testable environment:
adb shell cd /sdcard/Download; rm f android_pay_env_override_*; touch android_pay_env_override_sandbox;
Card Number: 4622 9431 2999 9943
Expiry: 12/17
CVV: 125
You're done. Use ENVIRONMENT_SANDBOX to integrate and test Android Pay in your app.
Happy Testing !
PS: Revert from Sandbox to Production - Developer Instructions:
adb shell cd /sdcard/Download; rm f android_pay_env_override_*;
Restart your phone
Use ENVIRONMENT_PRODUCTION or ENVIRONMENT_TEST to integrate and test Android Pay in your app
There is test environment in Android Pay "API"
But no test environment for Android Pay "APP"
You must add a "real" credit card which issued by banks in US to Android Pay APP. And Android Pay not support all US banks, you can find supported banks list here: https://support.google.com/androidpay/answer/6314169?hl=en
You can start test after add a real card in Android Pay APP even outside US.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.