Issue implementing Amazon IAP

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.

I’ve read that Amazon would hold the purchase in queue on there server if such a thing happed. When the app is started it is suppose to check if there is anything purchased. I take it that this is not the case for the unity API. Does this only happen with consumables? Do the entitlements and subscription work ok?

Hi Mervill,

Can you please help me to integrate Amazon IAB . I have amazon unity sdk but still unable to integrate it. If have added desired things to my code but nothing is happening there. Any help will be appreciated. Thanks in advance.