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.
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.
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.