Search Unity

Question restoring purchases on test account

Discussion in 'Unity IAP' started by asger60, Mar 17, 2023.

  1. asger60

    asger60

    Joined:
    Mar 27, 2013
    Posts:
    45
    Hey,
    I'm integrating the Unity IAP stuff in my game. The whole purchase flow seems to be working, and I can purchase the consumables I've set up in App Store Connect (im testing on iOS).

    But I need to re-buy the stuff every time I play the game. Is that to be expected when in test mode? or do I have some issues with restoring the purchases?
     
  2. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,965
    Restoring purchases is only valid for "Non-Consumable" products alone. Consumable product purchases are not maintained in the purchase history.

    Once you make a purchase (assuming consumable), add the details about it to your player profile, lets say that a certain amount of coins are purchased.
     
    Last edited: Mar 17, 2023
  3. asger60

    asger60

    Joined:
    Mar 27, 2013
    Posts:
    45
    aha, it seems like I have messed up with the consumable settings..

    thanks for you reply!