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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

How to provide Promotional Offers on iOS?

Discussion in 'Unity IAP' started by resilio, Nov 20, 2019.

Thread Status:
Not open for further replies.
  1. resilio

    resilio

    Joined:
    Sep 7, 2017
    Posts:
    12
    Hello!

    I am using `UnityPurchasing` package for the in-app purchases, all works fine but now I'd like to look into providing Promotional Offers to subscribers or to previously subscribed users (see: https://developer.apple.com/documen.../implementing_subscription_offers_in_your_app).

    The idea is to be able to give a discount on, say, the current subscription whenever I feel the user has earned it (i.e. 50% off on the current monthly subscription fee after X events).
    The documentation says that `SKProduct` would have an array called `discounts` which can be used to show the available discounts and, if needed, use those for purchasing them.

    In my project, I am using the namespace `UnityEngine.Purchasing` and mainly going through an `IStoreController` to initiate the purchases.
    I also do some light use of `IExtensionProvider->IAppleExtensions`, which seems to have a method `ContinuePromotionalPurchases` but nothing else.

    Is there a tutorial, guide or sample project for this?

    Here is again a very simple workflow of what I'd like to achieve:

    - IF user IS subscriber or WAS subscriber
    - and IF user has completed X steps
    - THEN show user <Promotional Offer> with 50% off for the next month

    [The promotional offer would be coming from iTunes, if I am not mistaken]

    For information, I am currently on version 1.22.0.

    Thanks in advance!
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    @resilio I will mention this to the IAP team, perhaps we can include this feature in a future release.
     
    resilio likes this.
  3. resilio

    resilio

    Joined:
    Sep 7, 2017
    Posts:
    12
    @JeffDUnity3D thank you! I will be waiting for any update on this :)
     
  4. Garnette

    Garnette

    Joined:
    May 20, 2019
    Posts:
    5
    Hi - is there a way to offer an introductory price for a consumable IAP item for a limited time? I am using the Codeless IAP so, looking for a codeless solution, please. I have set up a pricing template for Google and a price tier for Apple but those don't seem to address anything other than the 'regular price', not a 'sale price'. Thank you for your help!
     
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You would need to configure this on the store, we are a pass through service only. Google offers special pricing for subscriptions.
     
  6. Garnette

    Garnette

    Joined:
    May 20, 2019
    Posts:
    5
    Hi @JeffDUnity3D , If I have set a pricing tier for the Apple Configuration in the IAP Catalog for my product is that where the 'price text' field in the IAP Button Script will pull the price from to display in my App or will it pull from the Apple App Store Connect pricing tier based on the product ID in the IAP Catalog? If pulling from the Apple App Store Connect -Great! But, then what is the point of filling it in, in the IAP Catalog? Is the IAP Catalog merely just to create an export to make populating the App Store data easier? I'm a little confused what data pulls in from where. Thank you for your help.
     
  7. resilio

    resilio

    Joined:
    Sep 7, 2017
    Posts:
    12
    Any update on this @JeffDUnity3D? Looking forward to be able to do this in Unity! :)
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Unfortunately this would not be possible if the respective store does not support it.
     
  9. Garnette

    Garnette

    Joined:
    May 20, 2019
    Posts:
    5
    @JeffDUnity3D can you clarify what the IAP catalog does? Does any data actually get pulled in from there into the App? Thanks.
     
  10. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    The Catalog is used by Codeless IAP to define your products and for exporting, as you mentioned. I don't use the catalog myself and always use scripting instead of codeless, and load my products like:

    builder.AddProduct(MYNONCONSUMABLE, ProductType.NonConsumable);

    There is a sample IAP project here that demonstrates this:

    https://forum.unity.com/threads/sample-iap-project.529555/
     
  11. resilio

    resilio

    Joined:
    Sep 7, 2017
    Posts:
    12
  12. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Yes, subscriptions offer Free Trials, etc. That is supported.
     
  13. resilio

    resilio

    Joined:
    Sep 7, 2017
    Posts:
    12
    @JeffDUnity3D Great! So how can I provide promotional offers to already subscribed users? (as described in the link above)
    Say I want to reward a user with a discount in the pricing of the next month subscription (not a free trial as the user is already subscribed), how can I do it through Unity IAP library? I really couldn't find a way to do that...

    Thanks!

    P.S. Did I miss any new version of the IAP library? I was still at the stage where you said you guys would look into it and add it in the next version :confused:
     
  14. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    It is still being discussed here.
     
  15. resilio

    resilio

    Joined:
    Sep 7, 2017
    Posts:
    12
  16. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    @JeffDUnity3D Any ETA on subscription promotional offers support for iOS?

    Thanks.
     
  17. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    No updates at this time, it's still on our radar but likely later this year.
     
  18. playholding

    playholding

    Joined:
    Sep 26, 2018
    Posts:
    8
    Hello @JeffDUnity3D any news about subscription promotional offers support for iOS yet
     
  19. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    No updates at this time.
     
  20. xLeo

    xLeo

    Joined:
    Sep 21, 2010
    Posts:
    180
    Bump.
    We are also looking forward to this feature.
     
  21. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    I just checked with the IAP product team here and we have no immediate plans to support this feature at this time. We may consider it in the future if we see sufficient interest.
     
  22. michaelkane

    michaelkane

    Joined:
    Oct 26, 2016
    Posts:
    4
    @JeffDUnity3D Is it possible with the current Unity IAP Framework to write a native extension ourselves to support the feature on iOS? Are there enough C# hooks to extend for this functionality?
     
  23. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Not that I'm aware of personally, but you are certainly welcome to try.
     
  24. tobias_unity

    tobias_unity

    Joined:
    Feb 3, 2018
    Posts:
    66
    Still looking for this feature in late November
     
  25. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Likely won't happen in November, but is on the roadmap.
     
  26. planetfactory

    planetfactory

    Joined:
    May 18, 2016
    Posts:
    55
    Hey,

    still nothing? Any news?

    Thanks.
     
  27. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    It's looking like a possible April 2021 timeframe
     
    tobias_unity, xLeo and andymads like this.
  28. planetfactory

    planetfactory

    Joined:
    May 18, 2016
    Posts:
    55
    Hi!

    We are now on April, so... Any news about this feature? I think it's important!

    Thanks.
     
  29. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    We are still on track, stay tuned! We are testing the feature now
     
    andymads and planetfactory like this.
  30. andymads

    andymads

    Joined:
    Jun 16, 2011
    Posts:
    1,614
    That's great to hear! I've been looking at a hybrid system of Unity and Stan's Assets' Native Pro but I'd rather do everything through Unity.
     
  31. planetfactory

    planetfactory

    Joined:
    May 18, 2016
    Posts:
    55
    And how is that going out? ;)
     
    andymads likes this.
  32. planetfactory

    planetfactory

    Joined:
    May 18, 2016
    Posts:
    55
    This was introduced by Apple like 2 years ago, right?
    Sometimes I don't understand Unity... how can this take so long? Is because they are working for the automobile industry (among others)?
     
  33. tobias_unity

    tobias_unity

    Joined:
    Feb 3, 2018
    Posts:
    66
    I'm switching to RevenueCat. Tired of waiting so long for a lesser product.
     
    planetfactory likes this.
  34. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Work in progress, stay tuned. That is how it's "going out" if I understand correctly.
     
  35. planetfactory

    planetfactory

    Joined:
    May 18, 2016
    Posts:
    55
    Mid June and still nothing.
     
  36. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    We have higher priorities, typical for a software company. We are resource constrained, it is not intentional that this is still under development.
     
  37. planetfactory

    planetfactory

    Joined:
    May 18, 2016
    Posts:
    55
    Well, it's intentional because you decide your own priorities, right? ;)
    Maybe you can create a project on https://www.indiegogo.com. I will add some dollars.
     
  38. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Did you have a question? We are working on this. There may be paid IAP assets that provide this functionality if it's a high priority for you. Please keep an eye on the release notes. I am locking this thread as it's beginning to go sideways.
     
Thread Status:
Not open for further replies.