"cannot connect to itunes store" in sandbox since this morning

The product can be fetched but the transaction can not be made.

Error code: 0

Accepted Reply

Our app's IAP started working again last night and has no issues since 🙂

Replies

where did you find the Apple API Doc? I couldn't find any document specific to iOS12. where do you set requestData? thanks!

Hi, Can you share any link how to set requestData. I am still having this issue as I have just started in-app purchase and trying to call Product Request method and every time "Fail with error" is called.

requestData is not supposed to be used. Ignore it.

https://developer.apple.com/documentation/storekit/skmutablepayment/1505974-requestdata?language=objc

Still getting this error "Error Domain=SSErrorDomain Code=109 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store, SSErrorHTTPStatusCodeKey=400}"
In app purchase was working 2 days ago, now it's not working anymore. Any help would be highly appriciated.

When things that were working start failing, it's time for a bug report. For sandbox issue, follow these instructions


Here are the instructions to install the StoreKit profile

Install StoreKit profile to an iOS 11+ device

Please login to the Apple Developer Bug Report - Profiles and Logs website

<https://developer.apple.com/bug-reporting/profiles-and-logs/> using Safari on the device you will use to replicate the problem with.

Click the “Profile” URL associated with the “App Store/iTunes Store for iOS” item. You will download the “itmsdebugging.mobileconfig” file.

IMPORTANT - PLEASE RESTART THE DEVICE


CAPTURE THE DEVICE CONSOLE LOG - connect the device to a macOS X Sierra system (macOS X 10.12.x or newer)

1. Launch the Console app on the macOS system, and select the device in the left side of the Console window

2. Before starting the iOS app, click “Clear”.

3. Start the application and perform the steps to replicate the problem.

4. When the issue occurs, save the contents of the Console log

Check the contents of the console log for the string “fetchSoftwareAddOns”. If this string is not present in the log, the profile was not active. Please re-install the StoreKit profile and make sure to restart the device.


If the string is found, save the entire contents of the console log to a text file.


To submit a bug report, please use the Apple Developer Bug Report web page - http://bugreport.apple.com. After logging in, select the “Other” Product.


In the bug report description, please add the following information

1. the application ID of the app

2. the In-App Purchase identifier(s) if applicable

3. whether this issue is occurring in the sandbox or production environments

4. instructions for finding the "Buy" button to purchase the In-App Purchase item.

(if the app is not in English, please provide screenshots)


Save the bug report and keep track of the bug report number

Prepare a TestFlight build - when ready submit an invitation to “apps_test@icloud.com”. In the invitation, please include the bug report number to associate the invitation with. The QA team will need to have a means to replicate the issue with - for this reason, a TestFlight invitation is required.


rich kubota - rkubota@apple.com


developer technical support CoreOS/Hardware/MFI