tschoffelen / php-pkpass

💳 PHP class for creating passes for Wallet on iOS.
https://includable.com
MIT License
908 stars 187 forks source link

Adding the pass #3

Closed redwarp closed 12 years ago

redwarp commented 12 years ago

For test purposes, I created a pass, and downloaded it from internet. The iphone then displays a UI to add the pass to PassBook. But then, once I hit "add", nothing happens : the pass is not added. Do you also have this issue ?

tschoffelen commented 12 years ago

This mostly indicates an certificate error. Make sure you supply the right certificate as a .p12 file and change the passTypeIndentifier and teamIndentifier to the right values, as described in the readme.md file.

To find the exact error, connect your iPhone to your Mac and take a look at the console in the Xcode Organizer window. The error should pop up here under the process name 'passd'.

redwarp commented 12 years ago

Thanks a lot, you're indeed right. I assumed it was a certificate problem, but wasn't sure, and didn't think to check the log. The problem I had was that I didn't use the PKCS7_DETACHED and the certificate was therefor invalid.

128keaton commented 11 years ago

What is PKCS7. I am having the same problem. I cannot fix and I have tried everything.

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.