Skip to main content
Question

Previews & checkTrialOrIntroDiscountEligibility

  • October 17, 2024
  • 1 reply
  • 26 views

Arnaud
Forum|alt.badge.img+5

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

This post has been closed for comments

1 reply

Arnaud
Forum|alt.badge.img+5
  • Author
  • Active Member
  • 13 replies
  • October 17, 2024

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings