I want to implement auto renewable subscription with different discounts offers to the user. I have one product id but I want to apply different discount on same product id. Scenario like this, If user purchased within 1 week of installed app then want to give 50% discount on first payment. If user purchased after 1 week and before 2nd week completion then want to give 25% discount on first payment. Else user go with original price of product..
To achieve this functionality I have searched over internet and found something SKPaymentDiscount. But I don’t know I can achieve with SKPaymentDiscount or not.
If anybody have implemented same things or have experience with SKPaymentDiscount then please share with me.
If anybody have other suggestions then I will try that also.
Thanks in advance and welcome the suggestions.
As far as I know you cannot change the introductory offer dynamically on an auto renewable subscription. A workaround could be to create two different subscription types with different product IDs and different introductory offers. Then you can dynamically select the desired product ID based on the specified condition.
Keep in mind that the users will only get the introductory offer if they haven't purchased the product previously.
A similar question:
Free trial implementation for auto-renewable subscription for macOS app
Some relevant links in Apple's documentation:
App Store Connect Help - Set an introductory offer for an auto-renewable subscription: https://help.apple.com/app-store-connect/#/deve1d49254f
StoreKit Documentation - Implementing Subscription Offers in Your App: https://developer.apple.com/documentation/storekit/in-app_purchase/implementing_subscription_offers_in_your_app