Skip to main content
Question

Previews & checkTrialOrIntroDiscountEligibility

  • October 17, 2024
  • 1 reply
  • 55 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
  • 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.