Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

IAP Trial Subscription

Discussion in 'Unity IAP' started by alexandros356, May 15, 2019.

  1. alexandros356

    alexandros356

    Joined:
    Dec 3, 2012
    Posts:
    97
    Hi,

    I have aset up a subscription that has a trial in google.
    When I buy the subscription, for the first time, the trial is activated.
    But, when I cancel the subscription I and I buy it again the trial is no more activated.

    My question is if there is a way to know if a subscription was bought before to show a trial message in the UI or not.

    Thanks in advance
     
  2. alexandros356

    alexandros356

    Joined:
    Dec 3, 2012
    Posts:
    97
    Hi, please, anyone knows how to do it?
    I need to know, before purchase the subscription, if a subscription has trial enabled. If I didn't use it before.

    Thanks in advance
     
  3. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,138
  4. alexandros356

    alexandros356

    Joined:
    Dec 3, 2012
    Posts:
    97
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,138
    You said you already purchased a subscription, the trial expired, and you're trying to purchase it again. You should be able to tell from the first purchase receipt what the status is. We don't provide inventory management at this time yet, but you could persist purchases in PlayerPrefs.
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    4,138