0

I'm returning to some code I wrote in 2012. Back then, I had created a wrapper for the StoreKit framework that also did receipt validation using the sandbox URL for iTunes.

Since it's been so long, I looked through the StoreKit docs and AFAIK, nothing's changed.

For some reason, I can't test my In App Purchases anymore because I get the above error (Cannot Connect to iTunes Store) and the sandbox servers seem to be down (http://sandbox.itunes.apple.com/).

It's been down for the past 2 days. Is this normal? Or has the process for testing changed since when I first wrote this code?

Sid
  • 9,508
  • 5
  • 39
  • 60

1 Answers1

0

In most of the cases like this, if you test it out in simulator (iOS 6/7/8) - you will get more about the error using [error localizedDescription].

The reasons can be numerous - most of the time it is caused by nonsandbox user. But it can be caused by reasons like app ID not matching that on itunes connect server too.

Nirav Bhatt
  • 6,940
  • 5
  • 45
  • 89
  • I get an error domain 0 with the message "Cannot connect to iTunes Store". Also, if you visit - http://sandbox.itunes.apple.com/ it seems to be down. I even made sure my app ID was matching the live app during testing. – Sid Jun 29 '15 at 20:12
  • You may get better options from this: http://stackoverflow.com/questions/1717700/iphone-in-app-purchase-store-kit-error-1003-cannot-connect-to-itunes-store?rq=1 – Nirav Bhatt Jun 30 '15 at 05:50
  • Thanks for the link, Nirav. Unfortunately, I can confirm that it is connecting to the sandbox servers. – Sid Jul 01 '15 at 14:51