Hi!
I am using the Unity3d plugin provided in the Amazon IAP SDK to integrate in-app purchasing into my project. Everything works great except for one bug:
During the Amazon menu flow, just after you purchase an item, Amazon displays a “Thank you for purchasing X” screen, with an close button that returns the user to the Unity environment.
If the application process is interrupted before the user closes this Thank-you screen (Ex: Killing the process or shutting off the device). Unity never receives a message about the successful transaction, essentially charging the user but failing to give them items correctly.
This is an especially critical bug with consumables, since a record of consumable purchases cannot be retrieved from the Amazon server.
Is there a fix for this? Google seems to have failed me in trying to track down a solution.
Also: After doing some more investigating, it seems regular (non-unity) Android applications using the Amazon SDK do not suffer from this problem, leading me to believe that the issue is in the Unity plugin. Any ideas?
Thanks!
Specific steps to reproduce:
- Initiate a purchase for a consumable item though the Amazon IAP plugin.
- Follow the Amazon IAP flow untill you are presented with the Thank-you screen: “Thank you for purchasing X”
- Kill the application process or restart the device.
- Restart the application.
Result: The app does not recognize that a successful transaction has taken place.