我已经通过标准助手发送了测试购买意向:
String SKU = "android.test.purchased";
mHelper.launchPurchaseFlow(this, SKU, 10001, mPurchaseFinishedListener);
Run Code Online (Sandbox Code Playgroud)
购买成功,但当我尝试使用以下方式消费所购买的商品时:
mHelper.consumeAsync(inv.getPurchase(SKU), mConsumeFinishedListener);
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Error while consuming: IabResult: Error consuming sku android.test.purchased (response: 5:Developer Error)
Run Code Online (Sandbox Code Playgroud)
我错过了什么吗?