Actually i am trying to do In-App Purchase in android and i have downloaded the trivial drive from android sdk. I can do the purchase sucessfully by calling launchPurchaseFlow method but the problem is when i try to consume the product by calling consumeAsync method im getting the response code as 5 (Developer Errror). this is the code i am executing after the purchase was sucessfull
mHelper.consumeAsync(inventory.getPurchase(SKU_GAS), mConsumeFinishedListener);
anyone please provide me the solution ASAP.
There are existing questions on this. It is a temporary (we hope) but introduced around 3/8/13. Please star and comment on this bug report: https://code.google.com/p/android/issues/detail?id=53077.