[Solved] Amazon - You Already Own This Item

Hi,

I’m having a issue with Amazon In-App purchases.
All seems to be working fine except when a user deletes the application and re-installs
clicking on Unlock Level (Non Consumable) warns them to buy again
They click native check box etc but then presented with a screen saying
“You already own this item” but then the level does not unlock for user.

I’m not sure how to check if the user already owns item and then unlock the level.

Anyone seen or have similar issue?

Thanks

I have the same problem. And the receipt seems empty, like the guy never purchased anything at all.

Yep I tried different code but didn’t work, I dunno how to handle it as its a native popup.
For Google Play its different system, so this not a issue…

clearly a bug

@MrEsquire , @cret327

Thank you for alerting us to this issue. The IAP team is investigating issues with product restoration on Amazon. I’ll let you know what we find.

1 Like

any updates? it’s been quite some time since first reported…

1 Like

nothing? we just assume we should begin using directly the amazon package instead of unity iap for amazon?

1 Like

I know what you mean, but this is not good have extra stuff in project, makes it messy for me… Unity just need to investigate and reply to this issue, all they need to do is “test it” MANUALLY…!

yeah, that’s why i’m asking. It’s a pain to have to add another sdk just for this because it’s been over a month since first reported and nobody even got back to us. There was an update to IAP in between that did nothing to address this.

Hi guys. Restoration in Amazon IAP is a automatic action after user re-installs your app and
ProcessPurchase method will be called during restoration. Your product should be unlocked at this step.
You can output some debug log in ProcessPurchase method to check if it is called.

Okay so you have tested this in your office and got it to work all correctly, please confirm this!!,
PS. explain the test you did

Hi MrEsquire. Yes, I tested it just now via Amazon App Tester. I reinstalled my IAP demo app and cleaned all data it created. When I launched it ProcessPurchase method was called automatically.

well, i’m using latest version here and I don’t get the same result at all on the published version. My receipt comes out empty when I start the app. It works fine when I purchase my subscription (the receipt has a value) but then I turn it off the app, relaunch it and receipt = empty string

Missed your reply, I think the problem is something different.
Read my first post:

I’m having a issue with Amazon In-App purchases.
All seems to be working fine except when a user deletes the application and re-installs
clicking on Unlock Level (Non Consumable) warns them to buy again

They click native check box etc but then presented with a screen saying
“You already own this item” but then the level does not unlock for user.

I’m not sure how to check if the user already owns item and then unlock the level.

You need to recreate that scenario above with one of your apps…
The scenario you tested does not seem the same…
You need to get a native popup to appear…

What he’s saying is, you never need to be in a position for the native popup to appear in the first place, because ProcessPurchase would be called when the user re-installs the app, so you would record that the item is already purchased (and presumably hide the option to buy it again).
In my testing, non-consumable purchases are indeed restored after re-installing the app.
It seems a bit weird (if something goes wrong on that initial launch after re-installing, the situation is unsolvable without re-installing), but as far as I can tell, this is the only way to handle restores for Amazon.

I understand what your saying, but depends on the programmer and how he has created the inapp solution, especially when not using the Unity IAP plugin. I managed to produce the error popup many times, I was just annoyed that it seemed the problem was dismissed quickly. Any way I leave it to rest as they sorted it now.