Search Unity

IAP Trial Subscription

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

  1. alexandros356

    alexandros356

    Joined:
    Dec 3, 2012
    Posts:
    105
    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:
    105
    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

    Joined:
    May 2, 2017
    Posts:
    14,446
  4. alexandros356

    alexandros356

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

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    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

    Joined:
    May 2, 2017
    Posts:
    14,446