atrik
atrik

Reputation: 659

How can I test in app purchases if http://sandbox.itunes.apple.com/ is not working?

I am developing an app with IAP but I can not test those IAP in sandbox because the servers are down this is what I think. So is there anyway I can check if I am doing it correctly ?

Upvotes: 1

Views: 397

Answers (1)

AnrosApps
AnrosApps

Reputation: 131

Check this Stack Overflow post. Also, this Apple document on Validating Receipts lists testing and production URLs for sending requests and status codes returned by the URLs.

For example, try opening this Apple test URL in a browser. For me, it returned a status code of 21000. According to the Apple documentation, that means "The App Store could not read the JSON object you provided.", indicating that at least the server is alive and well.

Upvotes: 1

Related Questions