Search Unity

UnityEngine.Purchasing GooglePlay no longer has option for 'consumable' IAP

Discussion in 'Scripting' started by Mycroft, Feb 12, 2016.

  1. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    GooglePlay no longer gives the option of a Consumable/Non-Managed IAP.

    upload_2016-2-12_14-43-44.png

    This is an issue for Unity Purchasing as now something like purchasing 'gems' as an IAP will be a Consumable with Apple and a Non-Consumable with Google. Unity's Purchasing system forces you to pick one.

    The only solution I see is to have different ID's for Google vs Apple and that wastes a lot of the reason for using UnityPurchasing in the first place.

    Any one else handled this issue?
     
  2. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    No one is using Unity's Purchasing system and doing consumable IAPs?
     
  3. Mycroft

    Mycroft

    Joined:
    Aug 29, 2012
    Posts:
    160
    Finally found the answer;
    Create the item in the Android Dev Console as Managed
    Mark it as Consumable in Unity.Purchasing

    Unity.Purchasing will handle the 'spending' of the Managed item on Android correctly.