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)
Am I missing something?
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:
Here is the issue: https://code.google.com/p/android/issues/detail?id=53077
Firstly publish the app on alpha or beta version of you google play store.
if you publish the app and the apk is only in "alpha testing" section then it is NOT availible to general public, only for activated testers in the alpha section.
EDIT: One additional note: "normal" uses will not find your app on Google Play, but also the activated tester can not find the application by using the search box.
Only the direct link to the application package will work. (only for the activated testers). https://play.google.com/apps/testing/yourpackagename
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With