Skip to main content

I’m using TestStoreProduct to create Packages for my Previews, but I’d like to filter the packages based on the intro discount eligibility.
 

These TestStoreProduct have their introductoryDiscount set to a TestStoreProductDiscount, but when using Purchases.shared.checkTrialOrIntroDiscountEligibility I get .unknown.

 

What does it take to get it to return .eligible in my Previews?

Thanks

Answer seems to be: I needed to setup the offers in ASC. Having Test data wasn’t enough, they to match actual ASC identifiers.


Reply