How to provide Promotional Offers on iOS?

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: Implementing promotional offers in your app | Apple Developer Documentation).

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 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!

@resilio I will mention this to the IAP team, perhaps we can include this feature in a future release.

1 Like

@JeffDUnity3D thank you! I will be waiting for any update on this :slight_smile:

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!

You would need to configure this on the store, we are a pass through service only. Google offers special pricing for subscriptions.

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.

Any update on this @JeffDUnity3D ? Looking forward to be able to do this in Unity! :slight_smile:

Unfortunately this would not be possible if the respective store does not support it.

@JeffDUnity3D can you clarify what the IAP catalog does? Does any data actually get pulled in from there into the App? Thanks.

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://discussions.unity.com/t/700293

What do you mean?
I think it is possible, since Apple had this documentation available for a while: https://developer.apple.com/documentation/storekit/in-app_purchase/implementing_subscription_offers_in_your_app

Yes, subscriptions offer Free Trials, etc. That is supported.

@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 :face_with_spiral_eyes:

It is still being discussed here.

Alright, keep me updated! @JeffDUnity3D

@JeffDUnity3D Any ETA on subscription promotional offers support for iOS?

Thanks.

No updates at this time, it’s still on our radar but likely later this year.

Hello @JeffDUnity3D any news about subscription promotional offers support for iOS yet

No updates at this time.

Bump.
We are also looking forward to this feature.