Critical issue in Amazon flow when using the Unity3d Plugin.
Hi! This issue is simmilar to the one discussed in this thread:
https://forums.developer.amazon.com/forums/thread.jspa?threadID=538&tstart=0 Except that I am using the Unity3d plugin provided in the Amazon SDK to integrate in-app purchasing. 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. Thanks! Specific steps to reproduce: - Initiate a purchase for a consumable item though the Amazon IAP plugin. - Follow the Amazon IAP flow until 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.
Hi, In the case of Entitled and Subscription content your app should retrieve the receipt data through the PurchaseUpdateRequest call next time it starts. For Consumable content, the purchase responses are queued up on the Amazon servers for retrieval by the Amazon Apps client. When the Amazon Apps client is capable, it will automatically retrieve the response and send it to the app. Purchase responses are implemented in an asynchronous manner, and your app must be designed to handle them as such or you may run into issues with error use cases.