A long time ago we implemented in app purchases in our application through RevenueCat and it was working fine until we got this two issues from users.
1)First -
errorCode: PurchasesErrorCode.storeProblemError,
details: {code: 2, message: There was a problem with the App Store., readable_error_code: STORE_PROBLEM, userCancelled: false, underlyingErrorMessage: An unknown error occurred, readableErrorCode: STORE_PROBLEM},
It appears in logs when users are trying to press "subscription buy button".
We didn’t touch any implementation of this and configuration in App Store Connect or RevenueCat so it’s just happening for some reasons of App Store?
Also, maybe this information will be helpful - previous build was rejected in first attempt because of ‘cannot locate iAP’ after build was approved but in this build appeared this issue.
2)Second -
errorCode: PurchasesErrorCode.ineligibleError,
details: {code: 18, message: The User is ineligible for that action., underlyingErrorMessage: User is ineligible for promotional offer., readable_error_code: INELIGIBLE_ERROR, readableErrorCode: INELIGIBLE_ERROR},
Also a few users are getting this issue in the logs, we have condition for checking Eligibility Status and it was working fine, but in build after rejetion we see issue in the logs in production. It can be related to the first issue of AppStore or why this can appears?
if (isEligible.values.first.status == IntroEligibilityStatus.introEligibilityStatusEligible)
{
purchaserInfo = await Purchases.purchaseDiscountedPackage(familyPackage, paymentDiscount);
}
else
{
purchaserInfo = await Purchases.purchasePackage(familyPackage);
}
Looking forward for your reply!
Thank you,
Andrew