[英]How to test android pay App in India
We are trying to integrate android pay functionality into our android application using below tutorial link: https://developers.google.com/android-pay/android/tutorial 我们正尝试使用以下教程链接将android付费功能集成到我们的Android应用程序中: 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 为了测试这一点,我们需要在设备上安装“Android pay”应用程序,因此我们从给定链接下载并安装它: http : //www.apkmirror.com/apk/google-inc/android-pay/android-pay- 1-2-111627672释放/#下载
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. 之后,我们尝试将卡详细信息添加到“Android Pay”应用程序,但得到“此时无法添加您的卡。请稍后再试”消息。
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. 让我们知道在美国用户以外的Android Pay应用程序中添加卡详细信息的任何方式,因此我们可以在我们的应用程序中测试Android付费功能。
Perform following steps by connecting your phone, to convert Android pay into testable environment: 通过连接手机执行以下步骤,将Android付费转换为可测试环境:
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
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.
使用ENVIRONMENT_SANDBOX在您的应用中集成和测试Android Pay。
Happy Testing ! 快乐测试!
PS: Revert from Sandbox to Production - Developer Instructions: PS:从沙盒恢复到生产 - 开发者说明:
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 使用ENVIRONMENT_PRODUCTION或ENVIRONMENT_TEST在您的应用中集成和测试Android Pay
There is test environment in Android Pay "API" Android Pay“API”中有测试环境
But no test environment for Android Pay "APP" 但Android Pay“APP”没有测试环境
You must add a "real" credit card which issued by banks in US to Android Pay APP. 您必须将美国银行发行的“真实”信用卡添加到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
Android Pay不支持所有美国银行,您可以在此处找到支持的银行列表: https : //support.google.com/androidpay/answer/6314169?hl = zh- CN
You can start test after add a real card in Android Pay APP even outside US. 即使在美国境外,您也可以在Android Pay APP中添加真实卡后开始测试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.