Thanks @erika_d !
Just wanted to add that we’ve been experiencing the “second” error (In-app billing error: Unable to buy item, Error response: 7:Item Already Owned) pretty consistently since we implemented IAP with Unity Services on Android. We tried the update to 1.6 and the issue remained. In our case however it only seems to happen with the use of redeem codes to purchase. Adding valid a valid credit card to test purchases doesn’t exhibit this issue.
Hi @JesseLaChapelle ,
Are these for non-consumables that you’re trying to redeem the codes? Is this just happening in a testing environment or are you seeing it happening live as well? If it’s non-consumables and in test have you tried the workaround listed here ([Closed] Bizarre IAP behaviour on Android - Unity Services - Unity Discussions) to clear it up?
If it’s not in test or you think the error is not just coming from the way Google has their test products set up, can you post or send me your full error logs?
For anyone else experiencing the same issue as @JesseLaChapelle , there is a bug with promo codes that if a promo code is redeemed while the app is running, it will not be detected until the app is restarted. The fix for this is in test and should be released shortly!
Hi Unity,
I am using UnityIAP and my editor version is Unity 5.3.6. I have only one non-consumable product for both Android and iOS. On Android things are working well, I use product.hasReceipt to check if a user has purchased the product before. However, on iOS, my app is uploaded to itunesconnect as a beta test, our tester can purchase it under the sandbox environment. When they want to purchase it again it has a prompt that " You have already purchased, do you want to purchase again?". The issue is that product.hasReceipt is false everytime when I restart the app. I wonder does it only happen to the sankbox environment? Will product.hasReceipt work when the app is live? Or can I have another solution for Apple to detect a user purchased the non consumable product before under both sandbox environment and live?
Thanks.
Hi @TimberX ,
I’ve responded to this question on this thread:
https://forum.unity3d.com/threads/unity-iap-faqs.388069/page-2#post-2832912
hola,
as i see this a really old thread but i am facing exactly the same issues one year later…
during a test order my consumable product could be purchased but due to a timeout it was not marked as consumed in the google store… since then i am getting “you already own this item” message when i try to rebuy it…
it would be great to be able to set an item as consumed manually…
best regards!
tom
Because this thread is from a while ago, it’s unlikely to be the same issue; it could just be a similar error message.
To keep things clear, could you start a new thread and provide the information requested here: