简体   繁体   中英

Google Play In App Purchasing Issue - Error You Already Own This Item

In app purchases on my app have worked fine for 2 years, and I think they are still working okay in Google Play with actual purchases. But recently when using promotion codes, or internal/beta testing, when I try restoring a purchase, I get the following error:

Error - you already own this item

If I try to purchase an item, it looks like the purchase flow works properly. But then once it is done, I get the same error above. And I can't restore anymore.

I've tried all the advice out there on resetting Google Play/Services Cache, and this person several years back seemed to have a similar issue that was never solved Error You Already Own This Item . Most other discussions on this topic are fairly old and outdated.

One strange temporary fix is that if I revert my Google Play store to factory settings (I'm on a slightly older 3 year old device), it will work again... until Google Play store updates, and then it stops working.

I was using this library successfully https://github.com/anjlab/android-inapp-billing-v3 , but I thought maybe since it is outdated this might be the issue. However, doing it even without this library (using official Google documentation on setting up IAB) still results in the same problem.

Does anyone know how to fix this?

Thanks!

对于 Google Play Billing Library 的问题,我建议在https://developer.android.com/google/play/billing/contact列出的公共问题跟踪器上提交错误。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM