Hi!
I have set up an APNS API that sends push notifications to update my Apple Wallet pass. I am using the APN library and a .p8 key for APNS push notifications. I keep getting 200 responses and "sent successfully" logs, but Apple Wallet is not receiving the notification.
Which configuration or payload should I check to make it work?
Thanks
Hi @nobodybert,
You wrote:
I have set up an APNS API that sends push notifications to update my Apple Wallet pass. I am using the APN library and a .p8 key for APNS push notifications. I keep getting 200 responses and "sent successfully" logs, but Apple Wallet is not receiving the notification.[...] Which configuration or payload should I check to make it work?
To send a pass update push notification, perform the following steps:
- Find the registered devices for the updated pass.
- Create and send a push notification for each registered device.
- Verify your notification matches the following criteria:
- uses the same certificate and private key that the creator of the original pass used for signing
- the push token registered by the device
- contains an empty JSON dictionary for the notification payload.
Note: A push notification for a pass update works only in the production environment. The sandbox environment will not deliver notifications of this type.
For invalid push token errors, delete the associated device from APNs.
If the above steps don't resolve your issue, please review the post below so I can begin my investigation:
Gathering Required Information for Troubleshooting Wallet Issues https://developer.apple.com/forums/thread/766778
If you do need me to investigate this issue, once you submit your Feedback report, reply here with its Feedback ID.
Cheers,
Paris X Pinkney | WWDR | DTS Engineer