Android 订阅及支付
在我的应用程序中,我想实现订阅服务。订阅大部分是每年一次。订阅到期后,申请者应要求续订订阅并进行付款和结帐流程。
我检查了 Android 许可和应用内计费,但我找不到任何可以在我的案例中使用的帮助完整的东西,因为我发现“目前,Android Market 不支持订阅计费。请注意,通过收取付款Android 市场开发者分发协议不允许您的应用程序。”在此链接上http://www. google.com/support/androidmarket/developer/bin/answer.py?hl=zh-CN&answer=140504。
如何在我的应用程序中实施订阅和付款流程?
请帮帮我。
谢谢。
In my application i want to implement Subscription service. Subscription will be mostly yearly. After subscription expiration application should ask for subscription renewal and go for payment and checkout process.
I checked for Android Licensing and in-app billing but i couldn't found any thing help full that i can use in my case as there i found that "Currently, Android Market doesn't support subscription billing. Please note that collecting payments through your application is not allowed under the Android Market Developer Distribution Agreement." on this link http://www.google.com/support/androidmarket/developer/bin/answer.py?hl=en&answer=140504.
How can i implement subscription and payment process in my application?
Please help me out.
Thank You.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会执行以下操作:
这样做的缺点是,用户很容易不支付下一年的费用,但无论如何,谁愿意作恶呢。
另一种方法是通过 PayPal 使用订阅 (http://techcrunch.com/2010/05/19/paypal-launches-in-app- payment-library-for-android/),但我有从未使用过他们的服务,也不知道其关于 Android Market 条款的状态。 (请参阅:https://stackoverflow.com/questions/2787738/paypal -as-in-app- payment-model-in-android)
I would do the following:
This has the disadvantage of making it very easy for the user to not pay the next year's fee, but who want's to be evil anyway.
An alternative would be to use the subscription through PayPal (http://techcrunch.com/2010/05/19/paypal-launches-in-app-payment-library-for-android/), but I have never used their service, and do not know its status w.r.t. Android Market's Terms. (see: https://stackoverflow.com/questions/2787738/paypal-as-in-app-payment-model-in-android)
是的。我有几个实现应用内购买的应用程序。 Google 这里有一个很好的教程:http://developer.android。 com/guide/market/billing/billing_integrate.html#billing-download 其中包含示例代码,您可以将其下载到您的计算机上、修改和分发。
阅读他们的安全部分,因为最佳实践也需要混淆,以及对其示例代码进行一些常规修改,以帮助摆脱尝试从 APK 中剥离应用内购买代码的自动机器人。
另外 - 我始终将所有与购买相关的状态保留在 ObfuscatedPreferences 中(请参阅:http://code.google.com/p/marketlicensing/source/browse/library/src/com/android/vending/licensing/PreferenceObfuscator.java?r=9cd599d6902d8b9b8311e4ef8dd20dcccb5e7aba)破解应用程序有点困难。
Yes. I have several applications that implement in-app-purchase. Google has a good tutorial here: http://developer.android.com/guide/market/billing/billing_integrate.html#billing-download which includes sample code which you can download to your machine, modify and distribute.
Read their security section, as best practices also require obfuscation, and some general mangling of their sample code to help throw off automatic bots that try and strip off in-app-purchase code from the APK.
Also - I always keep all of the purchase related state in ObfuscatedPreferences (see: http://code.google.com/p/marketlicensing/source/browse/library/src/com/android/vending/licensing/PreferenceObfuscator.java?r=9cd599d6902d8b9b8311e4ef8dd20dcccb5e7aba) to make it a bit more difficult on cracking the app.