IAP verification API is not working properly right now (Sandbox API is working)

Hi all,


After system maintenance by Apple, "buy.itunes.apple.com/verifyReceipt" API returns abnormal contents which is supposed to be JSON but it returns html page contents.

The API result shows some message below,


<body onload="return its.detect.openItunes('https://itunes.apple.com/us/store?ign-mscache=1');">
<object classID="CLSID:D719897A-B07A-4C0C-AEA9-9B663A28DFCB" width="1" height="1" id="iTunesDetectorIE" ></object>
<div id="loadingbox-wrapper">
<div class="loadingbox">
<p class="title">Connecting to the iTunes Store.
<span id="loading-dots">...</span>
</p>
<div class="clear"></div>
<div id="itunes-client-required" style="display:block;">
<center>
<br>
<p style="color: red;">
We are unable to find iTunes on your computer.
</p>
<br>
<a onclick="its.detect.userOverrideSetItunesInstalled(); its.detect.openItunes(); return true;" href="#">
<input type="submit" value="I have iTunes" />
</a>
<a href="http://www.apple.com/itunes/download/?itunesInstalled=unknown">
<input type="submit" value="Download iTunes" />
</a>
</center>
<script type="text/javascript">
document.getElementById('itunes-client-required').style.display='none';
</script>
</div>
<p class="footer">If you don't have iTunes,
<a href="http://www.apple.com/itunes/download/">download it for free</a>. If you have iTunes and it doesn't open automatically, try opening it from your dock or Windows task bar.
</p>
</div>
</div>
</body>

Replies

We are experiencing this issue as well. It appears to be a DNS issue on Apple's side. Occasionally alternating between the proper JSON response, and this iTunes Connecting response.

Same here, we're also experiencing the same issue. Disappointing that this isn't reflected in the System Status (https://developer.apple.com/system-status/)

Our app (Dil Mil) is affected by the same issue. Confirmed it does not happen on sandbox:


>>> resp = session.post('https://buy.itunes.apple.com/verifyReceipt', data=a receipt)
>>> resp.text
u'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">\n\n<HTML>\n ...
>>> resp = session.post('https://sandbox.itunes.apple.com/verifyReceipt', data=a receipt)
>>> resp.text
u'{"status":21002}'


Good luck, Apple!

We're seeing ours beginning to recover. The number of payments erroring has declined sharply.

We're possibly seeing improvement too. Could be an artifact of the graphing system we use though. (haven't dug into the underlying data that much)


EDIT: Can still repro locally. Maybe I need to flush my DNS cache or something?


EDIT 2: No real improvement in production. Graphing problems.

I don't see any improvements... On the contrary, people pays more than an hour ago so unverified payments are stacking rapidly...

I have the same issue,
I don't know how long does it take for them to resolve this issue.

Apple changed In-App Purchases status as an issued in https://developer.apple.com/system-status/


In-App Purchases - Issue

Today, 7:15 AM - ongoing

Some users are affected

Users are experiencing a problem with this service.

Can apple provie an ETA for the fix?

Now it seems working properly. Is there anyone still experiencing the issue?

Apple updated In-App Purchases service status as a resolved issue finally!!

The issue appears to have corrected around 7:50pm CST. Hoping it stays that way.

This has happened again 😟 Currently seeing this same behavior, for the last 4 hours 😟

same here. for the last 4 hours as well

Happening to us also. Losing money every minute.