How to test android pay App in India

后端 未结 2 575
小蘑菇
小蘑菇 2020-12-18 08:50

We are trying to integrate android pay functionality into our android application using below tutorial link: https://developers.google.com/android-pay/android/tutorial

相关标签:
2条回答
  • 2020-12-18 09:18

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

    1. Install Android Pay apk from apkmirror website. Make sure you use correct apk variant.
    2. Turn on Sandbox Mode by executing following commands from command prompt:

    adb shell cd /sdcard/Download; rm ­f android_pay_env_override_*; touch android_pay_env_override_sandbox;

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

    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:

    1. Run following commands to revert Android Pay from Sandbox environment to Production environment:

    adb shell cd /sdcard/Download; rm ­f android_pay_env_override_*;

    1. Restart your phone

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

    0 讨论(0)
  • 2020-12-18 09:21

    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.

    0 讨论(0)
提交回复
热议问题