本文介绍了如何在印度测试Android支付应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我们正尝试使用以下教程链接将Android付费功能集成到我们的Android应用程序中:

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 pay应用安装在设备上,所以我们从给定的链接下载并安装了它:

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应用程序,但得到此时无法添加您的卡。请稍后再试消息。

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应用程序中添加卡详细信息的任何方式,因此我们可以在我们的应用程序中测试Android付费功能。

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支付转换为可测试的环境:

Perform following steps by connecting your phone, to convert Android pay into testable environment:


  1. 从apkmirror网站安装Android Pay apk。确保使用正确的apk变体。

  2. 通过从命令提示符执行以下命令打开沙盒模式:

adb shell
cd / sdcard / Download;
rm f android_pay_env_override_ *;
触摸android_pay_env_override_sandbox;


  1. 重启手机

  2. 启动Android Pay应用并添加以下测试信用卡:
    卡号:4622 9431 2999 9943
    有效期:12/17 CVV:125

  3. 输入地址和继续等其他详细信息。这样就成功添加了这张卡。

  1. Reboot the phone
  2. Launch the Android Pay app and add following test credit card:Card Number: 4622 9431 2999 9943Expiry: 12/17 CVV: 125
  3. Enter other details like address and proceed. So that card is added successfully.

你已经完成了。使用ENVIRONMENT_SANDBOX在您的应用中集成和测试Android Pay。

You're done. Use ENVIRONMENT_SANDBOX to integrate and test Android Pay in your app.

快乐测试!

PS:从沙盒恢复生产 - 开发人员说明:

PS: Revert from Sandbox to Production - Developer Instructions:


  1. 运行以下命令将Android Pay从Sandbox环境恢复到生产环境:

adb shell
cd / sdcard / Download;
rm f android_pay_env_override _ *;


  1. 重新启动手机

  1. Restart your phone

使用ENVIRONMENT_PRODUCTION或ENVIRONMENT_TEST在您的应用中集成和测试Android Pay

Use ENVIRONMENT_PRODUCTION or ENVIRONMENT_TEST to integrate and test Android Pay in your app

这篇关于如何在印度测试Android支付应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 16:02