2

I have an Appstore autorenewing subscription with an offer attached, which I can successfully fetch with the SKProduct.discounts, but when I try to get the SKPaymentDiscount with this code:

Purchases.shared.paymentDiscount

I get the following error:

Error Domain=RCPurchasesErrorDomain Code=18 "The User is ineligible for that action." UserInfo={readable_error_code=INELIGIBLE_ERROR, NSLocalizedDescription=The User is ineligible for that action., NSUnderlyingError=0x283e77f30 {Error Domain=RCBackendErrorDomain Code=7232 "User is ineligible for promotional offer." UserInfo={NSLocalizedDescription=User is ineligible for promotional offer.}}}

Any kind of help is very appreciated!

Hiren Dhamecha
  • 658
  • 5
  • 15
Johan Albrectsen
  • 695
  • 1
  • 5
  • 14

1 Answers1

3

I found out this wasn't a problem on revenue cats side. I just didn't realise that new users weren't eligible for promotion offers, only introductory offers.

Johan Albrectsen
  • 695
  • 1
  • 5
  • 14