Search Unity

Unity IAP - Restore Purchase

Discussion in 'Getting Started' started by Robiwan, Jan 29, 2017.

  1. Robiwan

    Robiwan

    Joined:
    Dec 29, 2013
    Posts:
    92
    Hi
    I have made a game using Playmaker, and only thing missing from releasing it is In-App Purchases (IAP). I found the Codeless IAP very useful and simple.

    However Apple require you to have an Restore Purchasing button.

    I have two global arrays to manage my non-consumable shop inventory, one for productID called CarIAPProductID_Array. And one Array for the respective bool for unlocked called CarLockedBool_Array.

    I want to have a script for a restore button that gets the ProductID, check if the ProductID exists in the CarIAPProductID_Array and at what position. And then set the bool true at the same array position for the CarLockedBool_Array.


    I would be extremely grateful if someone can help me out on this. as it's the only thing missing to getting my game out and released.
     
  2. Robiwan

    Robiwan

    Joined:
    Dec 29, 2013
    Posts:
    92
  3. Kurius

    Kurius

    Joined:
    Sep 29, 2013
    Posts:
    412