Sometimes, when I want to buy the items through Google Play Billing in my 
app, it warns that:

Error: You already own this item.

It happens after a sudden broken net sometimes.

But in my code, I try to consume the items before/after buying both.

However, after I got the error message that I already own this item, I 
can’t get the items by code:

mService.getPurchases(3, getPackageName(), "inapp", null);

So I can’t consume successfully by: mService.consumePurchase(3, 
getPackageName(), token);

However, after I clear Google Play memory, the code works.

 

 

I use the API 3 of Google Play Billing.

I want to know are there some good methods to solve this problem without 
clearing Google Play memory.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/fc4c0b88-8c22-43de-9fca-460826e8b3b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to