Post

Replies

Boosts

Views

Activity

Can't run Example Code "Implementing a store in your app using the StoreKit API"
Hi all, I'm trying to run the sample code - it gives these errors and empty lists of available subscriptions and purchases 2022-07-22 17:32:51.978942+0300 SKDemo[11045:586088] [Default] Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x283f8a7c0 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?REDACTED, AMSStatusCode=404, AMSServerPayload={     errorCode = 4040003;     errorMessage = "App not found.";     okButtonString = OK; }, NSLocalizedFailureReason=The response has an invalid status code}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception} 2022-07-22 17:32:52.426875+0300 SKDemo[11045:586088] [Default] Error enumerating all current transactions: Error Domain=ASDErrorDomain Code=500 "Unhandled exception" UserInfo={NSUnderlyingError=0x283f8a790 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?REDACTED, AMSStatusCode=404, AMSServerPayload={     errorCode = 4040003;     errorMessage = "App not found.";     okButtonString = OK; }, NSLocalizedFailureReason=The response has an invalid status code}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception} How do I fix it? Thank you in advance.
1
0
2k
Jul ’22