title: Invalid token when using Apple Push Notifications (APN) for Passbook
body: <p>I am trying to create a server-side implementation for passbook APN, but the server does not like the push token that the device is giving me.  If I send the token to Apple's sandbox server, it sends me an "invalid token" response.  If I send the token to Apple's production server, it returns the token in the feedback service as one that I should remove from my list.  At least I know that the APN certificates and connection to the server work fine.</p>
  
  <p>My iPhone 4s has been enabled for development.  The APP ID is enabled for both development and production and the device is enabled in the provisioning profiles.  I have verified that the 32 byte binary token data is correct with respect to the string token that is sent from the device.</p>
  
  <p>One question that I have is, how does passbook in the device determine which token to use (development vs production)?  I would prefer to be using the sandbox environment right now, but I'm not sure how to "select" it.</p>
  
  <p>I have seen similar topics for this but none seem to have the answer for this issue.  It is really frustrating as I feel that I'm so close to making this work!  Thanks in advance for any advice!</p>