Android在应用内结算:android.test.purchased错误消费SKU(回应:5:开发人员错误)错误、开发人员、android、Android

2023-09-06 04:30:55 作者:基佬

我已经发出了测试购买意向通过标准助手:

I have sent a test purchase intent via standard helper:

String SKU = "android.test.purchased";
mHelper.launchPurchaseFlow(this, SKU, 10001, mPurchaseFinishedListener);

本次收购成功做,但是当我尝试使用消费购买的物品:

The purchase was made successfully, but when I try to consume the purchased item using:

mHelper.consumeAsync(inv.getPurchase(SKU), mConsumeFinishedListener);

我收到以下错误:

I get the following error:

Error while consuming: IabResult: Error consuming sku android.test.purchased (response: 5:Developer Error)

在我创建了一个Play商店签署的apk,并上传到开发者控制台 我已经安装在开发控制台测试项目 在我实现onActivityResult

我缺少的东西?

推荐答案

我自2013年3月8日同样的错误直到现在。在03/08,消费android.test.purchased工作正常。我看到这个产品ID,它似乎与一段时间自动清零。

I got the same error since 2013/03/08 til now. Before 03/08, consuming android.test.purchased works fine. I observe this product id, it seems to be cleared automatically with some period.

编辑 一位不愿透露姓名的用户增加了以下内容:

EDIT An anonymous user added the following:

下面的问题: https://$c$c.google.com/p/android/issues/detail?id=53077

 
精彩推荐