R.I.P. Apple Order Status?

R.I.P. Apple Order Status?

If you’re one of the many people wondering why my Apple Order Status widget is no longer working, things are not looking so good. Apple made a change to their store recently that broke the widget. Normally it’s a pretty quick fix, but this time I’m unable to get it working again. It’s awfully strange, because what’s happening really doesn’t make sense.

I’ve verified that I’m sending all the correct form fields. If I access the same URL in a browser I can see all the form fields filled in exactly how I sent them, and all I have to do is click the button to bring up the order.

I thought perhaps they’re using a cookie or some JavaScript now, but I tried disabling both of those in my browser and still I’m able to check the status with no problems.

Then I thought perhaps they’re checking the referrer, but I’ve tried forging the referrer using curl without success.

Interesting enough, if I check the order status with my browser and then try to access the same URL with curl, I have no problems at all. The session ID is right in the URL, and I don’t even have to tell it what order I’m looking for! Of course forcing people to open the page in their browser first totally defeats the purpose of a widget, so it’s not a solution.

If anyone has any thoughts, I’d love to hear them. I haven’t given up yet, but if I don’t find a solution soon I think I’ll throw in the towel. It’s too bad that Apple doesn’t offer a reliable way to get this data from their server.

Comments

This entry has 5 comments.

Aaron

Aaron

I just keep getting "couldn’t connect" when I put my order number and info in.

Bummer! :(

Transeau

Transeau

Maybe the useragent?
What’s the URL you are trying to access?

jr

jr

A lot of stuff has changed.

First of all the URL to get a session seems to be now:

http://store.apple.com/1…Objects/OrderStatus.woa

Furthermore the form fields have different names.

The following GET Request works for me:

http://store.apple.com/1…ode&0.15.19.15.27=2

where ’/6014001/wo/AkYpzyOq1J0eKYRQaKfJA0/0.0.15.19.15’ is the action URL out of quickLookForm.

The form attributes are quoted now (name="quickLookForm"). You have to adjust your regexps to reflect this.

I suggest using Firefox with NoScript and CookieSafe for testing.

hth

jr

 

Mike Piontek

Mike Piontek

Thanks for the suggestions! I had adjusted for most of the changes, but it turns out the 0.15.19.15.27 value (which is actually the image to submit the form) was the one I was missing. Which is strange because I tried submitting that in various ways, but I must have been doing something wrong! In any case I took another shot this morning and got it to work right away. The updated widget will be available soon.

Transeau

Transeau

Sweet! :)
Good work

View more

Mac OS X

App Santa: award-winning apps, up to 80% off for Christmas Junecloud has once again joined with several other independent developers for App Santa,…

Compatibility with OS X Yosemite OS X Yosemite will be available in the fall, and I'm sure many of you already have a…

A sale, some updates, and future updates Our apps are updated and on sale Delivery Status for iOS, Notefile for iOS, and…

Compatibility with OS X Mavericks OS X Mavericks is now available so you might be wondering if our software will work…

Notefile: on the Mac App Store, iCloud, and more Now available on the Mac App Store Dashboard is great for simple widgets like Notefile…