Android Product Purchase Refunded but receiving error "you already own this item"
See original GitHub issueVersion of react-native-iap
4.5.3
Version of react-native
0.61.5 Android
Expected behavior
- User has attempted to purchase a product.
- Some issue has prevented the acknowledge
- They are refunded
- They attempt to repurchase
Expected to be able to repurchase. Or to receive a refunded status
Particularly looking at the case where the user purchases and there is an issue with acknowledge.
Actual behavior
- User has attempted to purchase a product.
- Some issue has prevented the acknowledge
- They are refunded
- They are unable to purchase and Receiving the below error message after calling
RNIap.requestPurchase(sku, false);
purchaseErrorListener {"code": "E_ALREADY_OWNED", "debugMessage": "Item is already owned.", "message": "You already own this item.", "responseCode": 7}
WARN E_ALREADY_OWNED You already own this item.
Tested environment (Emulator? Real Device?)
Tested on a device with an android billing test account
Does this just go away with some cool off period or there something else going on?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
"You already own this item" Google play inapp error
You refund the purchase from Google Play Console. But there's a catch. When you refund it you will have to remove the entitlement...
Read more >Problems with in-app purchases - Google Play Help
Troubleshoot the issue on your own. Contact the developer for support. Request a refund. If you're trying to make an in-app purchase but...
Read more >Android in app purchase issue: You already own this item
Sometimes this happens when there is an error while completing the transaction. Can you do the following: Settings->Apps->All->Google Play Store ...
Read more >How to Fix In-App Purchases Not Working on Android
To apply for an in-app purchase refund, open the app page on the Play Store, scroll down to the bottom, and tap on...
Read more >Integrate the Google Play Billing Library into your app
To receive updates on purchases, you must also call setListener() ... an item for sale, check that the user does not already own...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was experiencing the same issue and solved it by consuming the Android item
In order to avoid this issue make sure that when refunding non-consumable items you check the
Remove entitlement
checkbox as in the following image:Closing as solved