我正在用自己的手机测试应用内结算
我已经成功添加了一些账号到alha track,他们现在可以在测试模式下购买商品了。
事情是由于第一个 alpha 版本中存在一个错误,购买的商品没有被消费,现在每次我尝试购买时我都会得到 p>
ITEM_ALREADY_OWNED
int ITEM_ALREADY_OWNED
Failure to purchase since item is already owned
阅读有关测试应用内结算的谷歌指南,它说:
Cancel completed test purchases Google Play accumulates completed test purchases for each user, but does not pass them to financial processing.
In some cases, you may want to manually cancel a trial purchase to continue testing. To do so, open the app page in the Play Store. If the test purchase you want to cancel is a subscription, you can also use the cancel () method of the Purchases.subscriptions API.
我在我的应用的 googles play 页面上找不到取消测试购买的选项,在控制台中也没有在测试帐户中找到...
如何取消它以继续测试?
最佳答案
这里的问题是你需要消耗元素,而不是取消。该元素已购买,虽然未被消费,但您将无法再次购买。请查看this回答如何消费该项目。希望对您有所帮助。
关于android - Google 应用内结算取消测试购买,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51721987/