在应用程序内购买显示消息"你已经拥有该项目&QUOT。在机器人 [英] In app purchase displays message "you already own this item." in android

查看:1358
本文介绍了在应用程序内购买显示消息"你已经拥有该项目&QUOT。在机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在应用程序来实现。在Android中,在应用程序正在perfectly.But,当我的删除从设备的应用程序和重新安装,那么以后如果我尝试购买时,显示此消息(产品管理和在应用程序API第2版)

I am trying to implement in-app. In android, in-app is working perfectly.But, when I remove the app from device and reinstall it, then after if I try to purchase, it displays this message (product is Managed and in-app API Version 2)

和日志,我有一个错误 RESULT_DEVELOPER_ERROR ,然后我用Google搜索,我发现了第3版有更多的一些响应codeS像 BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED

and in log, I have an error RESULT_DEVELOPER_ERROR , then I googled and I found the Version 3 has more number of response codes like BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED

所以,如果产品已经购买,响应必须像 BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED ,这是不可能的版本2

So if product is already purchased, the response must be like BILLING_RESPONSE_RESULT_ITEM_ALREADY_OWNED and this is not possible in Version 2.

那么我该怎么办?我是否需要实施第3版?

Then what should I do ? Do I need to implement Version 3 ?

推荐答案

如果你想通过强制购买的产品的每次,然后产品应该是未管理

if you want force to buy product by every time then product should be Unmanaged.

产品可以是3种

1)管理

2)非管理型

3)Subcription

3) Subcription

管理工具google一下自我保持的纪录。所以使用相同的电子邮件ID用户不必支付其费用,例如删除广告

Managed means google it self keep record. so by using same email id user not have to paid its charge e.g. remove ads

未管理意味着用户必须购买每一次,将一个收费。例如船型芯片

Unmanaged means user have to buy every time and will be a charged. e.g. Pocker chips

这2例中,我阅读的开发者网站。

This 2 example i have read on developer site..

和参照<一href="http://developer.android.com/google/play/billing/billing_admin.html">http://developer.android.com/google/play/billing/billing_admin.html

这篇关于在应用程序内购买显示消息&QUOT;你已经拥有该项目&QUOT。在机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆