简体   繁体   English

如何在Android中的应用程序付款中实现?

[英]How to implement in app payment in android?

I am looking for best practices while developing in-app payment apps on android? 在Android上开发应用内付款应用时,我正在寻找最佳做法吗?

How do you you store the data on android so that the information is not wiped off by an upgrade nor is it easily visibly to prying eyes? 您如何将数据存储在android上,以使信息不会被升级抹掉,也不容易被窥视? The data essentially says that this user has already paid for the app. 数据实际上表明该用户已经为该应用程序付费。

I have worked with many apps that does in-app billing, across other mobile platforms like Java ME, BlackBerry, BREW etc. The one sure way of doing this is to keep information on server. 我曾经在Java ME,BlackBerry,BREW等其他移动平台上处理过许多应用程序内计费应用程序。一种可靠的方法是将信息保留在服务器上。 The app can do the processing, and/or any other kind of billing transactions, but the final authority for this should be server side. 该应用程序可以执行处理和/或任何其他类型的计费交易,但是最终的授权应该是服务器端。 That way, app upgrades, uninstall etc, will not have an impact on billing (assuming we tie the user to a unique identifier like SubNo, client ID, Phone number, MEID etc). 这样,应用程序的升级,卸载等将不会对计费产生影响(假设我们将用户绑定到唯一的标识符,例如SubNo,客户ID,电话号码,MEID等)。

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

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