Wallet pass not registering for updates

I'm able to download and add passes to my ipod successfully, but the device never hits the web service afterwards. Here is an excerpt of the pass.json:


{ 
   "formatVersion":1,
   "passTypeIdentifier":"...",
   "teamIdentifier":"...",
   "authenticationToken":"...",
   "webServiceUrl":"https://.../wallet",
   ...
}


I can confirm the device never hits my server. It doesn't even go through the log web service endpoint. How would I troubleshoot this?


Things of note:

  • Does the webServiceUrl need to have the slashes escaped? I've tried both ways with no success.
  • Will the communication work with a self-signed SSL certificate? Currently, all of this resides on our staging server with a self-signed certificate.
  • Is there a log on the actual device that would give me more information?

Did you have any luck with this, I have exactly the same issue using an iPhone 4S. I've even bought a real SSL certificate, but still no luck


Thanks,

Fran

I got to the bottom of my problem, I was expecting the pass to hit my Web Service url with Querystring parameters and json. But a lot of the data is acually passed in REST style in the url path it's self


See here - https://developer.apple.com/library/ios/documentation/PassKit/Reference/PassKit_WebService/WebService.html

[Extract]

POST request to webServiceURL

/
version
/devices/
deviceLibraryIdentifier
/registrations/
passTypeIdentifier
/
serialNumber

Parameters

webServiceURL

The URL to your web service, as specified in the pass.

version

The protocol version—currently, v1.

deviceLibraryIdentifier

A unique identifier that is used to identify and authenticate this device in future requests.

passTypeIdentifier

The pass’s type, as specified in the pass.

serialNumber

The pass’s serial number, as specified in the pass.

Wallet pass not registering for updates
 
 
Q