My app is in "Pending Developer Release" status, and I have created Promo codes for app download and for auto-renewable subscriptions. When I recently redeemed one of the subscription codes I did not receive an app store server notification to my server.
Does anyone know whether promo code redemption triggers an app store server notification or not? What are the conditions that must be met for an app store server notification to happen for promo code redemption?
Thanks
Post
Replies
Boosts
Views
Activity
I'm testing IAPs with Appstore sandbox and just started to get this error log:
2023-09-01 17:31:25.928247+1000 App Name[551:22768] [Default] Error finishing transaction 2000000402881245: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “mzstorekit-sb.itunes.apple.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, NSErrorPeerCertificateChainKey=(
"<cert(0x10382e600) s: mzstorekit.itunes.apple.com i: Apple Public EV Server RSA CA 2 - G1>",
"<cert(0x10382f200) s: Apple Public EV Server RSA CA 2 - G1 i: DigiCert High Assurance EV Root CA>",
"<cert(0x10382fa00) s: DigiCert High Assurance EV Root CA i: DigiCert High Assurance EV Root CA>"
), NSErrorFailingURLKey=https://mzstorekit-sb.itunes.apple.com/inApps/queueCheck/markTransactionDone?transactionId=2000000402881245, NSErrorFailingURLStringKey=https://mzstorekit-sb.itunes.apple.com/inApps/queueCheck/markTransactionDone?transactionId=2000000402881245, NSErrorClientCertificateStateKey=0, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <D68A1174-22ED-49B9-B2F7-811D96E1018E>.<1>"
), NSUnderlyingError=0x281234510 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust_desc=<SecTrustRef: 0x102d2f460>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=(
"<cert(0x10382e600) s: mzstorekit.itunes.apple.com i: Apple Public EV Server RSA CA 2 - G1>",
"<cert(0x10382f200) s: Apple Public EV Server RSA CA 2 - G1 i: DigiCert High Assurance EV Root CA>",
"<cert(0x10382fa00) s: DigiCert High Assurance EV Root CA i: DigiCert High Assurance EV Root CA>"
)}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <D68A1174-22ED-49B9-B2F7-811D96E1018E>.<1>, NSURLErrorFailingURLPeerTrustErrorKey_desc=<SecTrustRef: 0x102d2f460>, client-environment-type=Sandbox, storefront-country-code=AUS, AMSStatusCode=0, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “mzstorekit-sb.itunes.apple.com” which could put your confidential information at risk.}
Rebooting the phone, macbook, or restarting XCode doesn't help. This has been working reliably until just now.
When connecting to https://mzstorekit-sb.itunes.apple.com using Firefox I'm told that
An error occurred during a connection to mzstorekit-sb.itunes.apple.com. Peer’s Certificate has been revoked.
Error code: SEC_ERROR_REVOKED_CERTIFICATE
Does anyone know what's going on? Is this an Apple issue and they are just about to fix it?
Thanks