Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

SubscriptionInfo.IsFreeTrial is always false

Discussion in 'Unity IAP' started by hippo_san, Jan 18, 2021.

  1. hippo_san

    hippo_san

    Joined:
    Oct 29, 2014
    Posts:
    23
    I made several Android sandbox subscriptions with fresh new accounts, and notice that SubscriptionInfo.IsFreeTrial always gives me false. The trial info shows from the native purchase prompt, so I'm sure it's subscribing with trials. It worked in Unity IAP v1.23, but doesn't work anymore after updated it to v2.2.5. Do you have any insight? Thank you.

    Here is my setup info:
    Unity 2019.4.14f1
    In-App Purchase (UPM) 2.1.1 & 2.2.1
    Unity IAP 2.2.5
    Android 11, Pixel 4
     
    Last edited: Jan 18, 2021
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Have you set up your subscriptions with a free trial? Please show a screenshot of your Google dashboard of this product free trial settings.
     
  3. hippo_san

    hippo_san

    Joined:
    Oct 29, 2014
    Posts:
    23
    This is the free trial setting screenshot. It's been there for ages and previously IAP v1.23 was also using it.
     

    Attached Files:

  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Got it, I will check
     
  5. hippo_san

    hippo_san

    Joined:
    Oct 29, 2014
    Posts:
    23
    Hi Jeff, is there any follow-ups for this?
     
  6. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I am looking into this issue this week. Have you tested with 2.2.6?
     
  7. hippo_san

    hippo_san

    Joined:
    Oct 29, 2014
    Posts:
    23
    Not yet since all my accounts consumed the free trial already. But please let me know if you find anything there. Thanks!
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You would want to create another subscription for testing, or another test account.
     
  9. hippo_san

    hippo_san

    Joined:
    Oct 29, 2014
    Posts:
    23
    It doesn't work for 2.2.6 either.
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    We are looking into this, thanks for checking.
     
  11. GaletKutya

    GaletKutya

    Joined:
    Mar 13, 2017
    Posts:
    1
    Still not working in 3.2.3...
    It is possibly because the developerPayload is not supported on google play billing anymore...
     
  12. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Correct. So far we have not found a work around. There are several scenarios: 1) The product is available for a free trial 2) the user is currently in a free trial and 3) the user already used the free trial
     
  13. James15478

    James15478

    Joined:
    Apr 2, 2013
    Posts:
    91
    @JeffDUnity3D Is there an update on this? I'm also only getting false for isFreeTrial and isIntroductoryOffer - for iOS though. Tried different sandbox users, setup on App Store connect is done too.
    EDIT: Got it now, my fault. Apologies
     
    Last edited: Aug 9, 2021