I’m trying to do a purchase with my tester sandbox account and I’m receiving the following response from the iTunes Store:
transaction.state = “failed”
transaction.receipt = nil
transaction.isError = nil
transaction.errorType = “unknown”
transaction.errorString = “Cannot Connect to iTunes Store”
transaction.date = nil
transaction.originalIdentifier = nil
transaction.originalReceipt = nil
transaction.errorType = “unknown”
I’m using the Corona SDK 2018.3268 version
The app has this problem with development mode with the adhoc provisioning profile and the app in TestFlight has the same problem to and I don’t know why I’m receiving this state.
This is the log that i received:
default 16:35:04.805886 -0500 SpringBoard immediate edge swipe: failed
default 16:35:04.871365 -0500 backboardd [HID] [MT] MTSimpleHIDManager::handleInputDetectionState Dispatching proximity event [0x0]
default 16:35:05.064839 -0500 Epic [I][Packs] Unzipped epic.projectiles.iceProjectile1 V1.03
default 16:35:05.191950 -0500 itunesstored ISDevice: Taking power assertion: com.apple.itunesstored.purchase
default 16:35:05.211522 -0500 accountsd “<private> (<private>) received”
default 16:35:05.282062 -0500 itunesstored identities: 0x0((null))
default 16:35:05.284107 -0500 itunesstored identities: -> <private>
default 16:35:05.284508 -0500 itunesstored “The connection to ACDAccountStore was invalidated.”
default 16:35:05.289458 -0500 biometrickitd identities:withClient: -> <private>
default 16:35:05.297622 -0500 itunesstored ISStoreURLOperation: [EDF1A686] Attempting to determine the account identifier for (null).
default 16:35:05.297920 -0500 itunesstored ISStoreURLOperation: [EDF1A686] authenticatedAccountDSID = 287252845
default 16:35:05.308410 -0500 itunesstored ISStoreURLOperation: Started request at [545780105.30] for <private>
default 16:35:05.308621 -0500 itunesstored ISStoreURLOperation: [EAE457ED] Attempting to determine the account identifier for https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy.
default 16:35:05.308867 -0500 itunesstored ISStoreURLOperation: [EAE457ED] authenticatedAccountDSID = 287252845
default 16:35:05.311232 -0500 itunesstored ISStoreURLOperation: [66484147] Attempting to determine the account identifier for https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy.
default 16:35:05.311507 -0500 itunesstored ISStoreURLOperation: [66484147] authenticatedAccountDSID = 287252845
default 16:35:05.312667 -0500 itunesstored ISStoreURLOperation: [224DDFAF] Attempting to determine the account identifier for https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy.
default 16:35:05.312917 -0500 itunesstored ISStoreURLOperation: [224DDFAF] authenticatedAccountDSID = 287252845
default 16:35:05.314602 -0500 itunesstored ISStoreURLOperation: [A7C679E7] Determining the storefront for account@yahoo.com.mx.
default 16:35:05.314800 -0500 itunesstored ISStoreURLOperation: [A7C679E7] The account has a storefront. We’ll use it. storefront = 143468-28,29 ab:UTWn2HQ3
default 16:35:05.343046 -0500 itunesstored SSAccount: Found secure token
default 16:35:05.344818 -0500 itunesstored ISStoreURLOperation: [634737A7] Attempting to determine the account identifier for https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy.
default 16:35:05.345675 -0500 itunesstored ISStoreURLOperation: [634737A7] authenticatedAccountDSID = 287252845
default 16:35:05.368062 -0500 itunesstored ISStoreURLOperation: [81AC6047] Attempting to determine the account identifier for https://sandbox.itunes.apple.com/WebObjects/MZFinance.woa/wa/inAppBuy.
default 16:35:05.368510 -0500 itunesstored ISStoreURLOperation: [81AC6047] authenticatedAccountDSID = 287252845
default 16:35:05.375061 -0500 biometrickitd identities:withClient: -> <private>
default 16:35:05.375335 -0500 itunesstored identities: 0x0((null))
default 16:35:05.375469 -0500 itunesstored identities: -> <private>
default 16:35:05.375622 -0500 itunesstored ISBiometricStore: Attached biometric state to request: U
default 16:35:05.376006 -0500 itunesstored ISStoreURLOperation: Sending headers for <private>:
<private>
default 16:35:05.376955 -0500 itunesstored TIC Enabling TLS [258:0x106569f80]
default 16:35:05.377110 -0500 itunesstored TIC TCP Conn Start [258:0x106569f80]
default 16:35:05.377792 -0500 itunesstored Task <DA1787AE-CE09-4190-B33B-2CD993378608>.<5> setting up Connection 258
default 16:35:05.377963 -0500 itunesstored [303 <private> <private>] start
default 16:35:05.430185 -0500 CommCenter QMI: Svc=0xe2(BSP) Req MsgId=0xe002 Bin=[<private>]
default 16:35:05.463214 -0500 CommCenter QMI: Svc=0xe2(BSP) Resp MsgId=0xe002 Bin=[<private>]
default 16:35:05.541454 -0500 CommCenter QMI: Svc=0xe2(BSP) Ind MsgId=0xe013 Bin=[<private>]
default 16:35:05.541816 -0500 CommCenter #I CDRX Indication: LTE with CDRX is true
default 16:35:05.608592 -0500 itunesstored TIC TLS Event [258:0x106569f80]: 1, Pending(0)
default 16:35:05.696658 -0500 itunesstored TIC TLS Event [258:0x106569f80]: 2, Pending(0)
default 16:35:05.706465 -0500 itunesstored TIC TLS Event [258:0x106569f80]: 20, Pending(0)
default 16:35:05.706681 -0500 itunesstored TIC TCP Conn Connected [258:0x106569f80]: Err(16)
default 16:35:05.707949 -0500 itunesstored TIC TCP Conn Event [258:0x106569f80]: 1
default 16:35:05.708115 -0500 itunesstored TIC TCP Conn Event [258:0x106569f80]: 8
default 16:35:05.708272 -0500 itunesstored TIC TLS Handshake Complete [258:0x106569f80]
default 16:35:05.710524 -0500 itunesstored Task <DA1787AE-CE09-4190-B33B-2CD993378608>.<5> now using Connection 258
default 16:35:05.711290 -0500 itunesstored Task <DA1787AE-CE09-4190-B33B-2CD993378608>.<5> sent request, body S