简体   繁体   English

Android Pay开发设置

[英]Android Pay Development setup

I wasn't able to find this anywhere, especially not on Google. 我在任何地方都找不到,特别是在Google上找不到。

I am working on an Android app and I need to implement Android Pay, so users from US (or wherever Android Pay is supported) can run payments. 我正在开发一个Android应用程序,并且需要实现Android Pay,因此来自美国(或支持Android Pay的任何地方)的用户都可以进行付款。 The problem is that I am not in US, and even more so, I am from a country where even PayPal is not supported. 问题是我不在美国,更甚的是,我来自一个甚至不支持贝宝的国家。

I managed to install Android Pay on a smartphone with no sim card, but I am unable to add a credit card (not even the one from US). 我设法在没有SIM卡的智能手机上安装了Android Pay,但无法添加信用卡(甚至没有来自美国的信用卡)。

Is there any way I can make Android Pay work during development phase? 有什么方法可以使Android Pay在开发阶段正常工作吗? I don't really care for the production environment as long as I am able to test couple of payments during development, but from the looks of it, I will be unable to even add a card, let alone, develop anything related to Android Pay. 只要能够在开发过程中测试几次付款,我就不会真正在意生产环境,但是从外观上来说,我什至无法添加卡,更不用说开发与Android Pay相关的任何东西了。

Is anyone else having these issues, and in case you have them solved, how did you do it? 还有其他人遇到这些问题吗?如果您解决了这些问题,您是如何做到的?

I am mentioning following steps these may be useful for you. 我提到的是以下步骤,这些步骤可能对您有用。

Step 1:- If you are not in us and you want to use android pay then you should have a us registered email id (You can make us email id with help of gmail ) then you can download android pay . 第1步:-如果您不属于我们,并且想使用android pay,那么您应该拥有一个在美国注册的电子邮件ID(可以在gmail的帮助下为我们提供电子邮件id),然后可以下载android pay。

Step2: You can register you credit card in android pay now a days few credit cards are supported by android pay you can try with Visa, Master Card, American Express cards and other cards which support the android pay. 步骤2:您现在可以在android pay中注册您的信用卡,而android pay支持几天的信用卡,您可以尝试使用Visa,万事达卡,美国运通卡和其他支持android pay的卡。

Step 3: Implement following points https://developers.google.com/android-pay/diagrams . 第3步:实现以下几点https://developers.google.com/android-pay/diagrams

If you have some problem then comment me. 如果您有任何问题,请评论我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM