We are trying to integrate android pay functionality into our android application using below tutorial link: https://developers.google.com/android-pay/android/tutorial
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: 125You'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