退款后,无法在Google Play上重新购买应用内结算项目 [英] Can't re-buy in-app billing item on Google Play after it was refunded

查看:350
本文介绍了退款后,无法在Google Play上重新购买应用内结算项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用中实施了应用内结算,现在正在测试其退款处理方式.

I implemented in-app billing into my app and am now testing its handling of refunds.

我用一个测试帐户购买了我应用的托管应用内结算项目并退款.我的应用程序按预期方式广播了退款,并且在恢复交易时看到该商品已退款,因此到那时为止一切都很好.

I bought my app's managed in-app billing item with a test account and refunded it. My app got the refund broadcast as expected and it sees that the item was refunded when restoring transactions, so everything is good up to that point.

我的问题是我无法重新购买该商品以测试其他情况. 当我尝试购买该商品时,会出现Google Play界面,并显示一条错误消息:您已经拥有此商品".有两个按钮确定"和详细信息". 如果我按详细信息,则Google Play崩溃,然后返回到我的应用.

My problem is that I can't re-buy the item to test other scenarios. When I try to purchase the item, the Google Play interface comes up and displays an error message saying "You already own this item." with 2 buttons "OK" and "Details". If I press details, Google Play crashes and I return to my app.

有人有类似的经历吗? 如果用户以前曾退款,则禁止用户购买应用内商品吗?

Did anyone have a similar experience? Is it forbidden for a user to purchase an in-app item if they previously had it refunded?

推荐答案

我看到了同样的问题. GP崩溃以及一切.

I was seeing the same issue. GP crash and everything.

除了等待几个小时之外,您可能还需要打开"Google Play"应用信息并清除缓存和清除数据.这为我解决了.看来,GP会在设备上缓存购买信息,并且很少(如果有的话)检查Google的服务器是否有退款信息.

In addition to waiting a few hours, you may want to open up 'Google Play' app info and clear cache and clear data. This solved it for me. It appears GP caches purchase information on the device and only checks Google's servers rarely, if ever, for refund information.

更新: 您可能还想终止Google Play进程,因为它似乎也将购买信息保留在内存中.

Update: You may also want to kill the Google Play process since it appears to keep purchase info in memory too.

这篇关于退款后,无法在Google Play上重新购买应用内结算项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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