-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passes not adding to Passbook #12
Comments
This happens when the Pass is invalidated by Passbook. Have you followed all the steps in README.md; added the correct certificates, You can check your iPhone log (in Xcode) or use the PHP PKValidate class. PS. Did you solve the issue with this commit? DS. |
I have the same problem. The pass is loaded fine but not saved in passbook. Your example online has the same problem. |
I may be able to help if you answer my questions above. |
Solved, problem was in $pass->setWWDRcertPath('AppleWWDRCA.pem'); The version of PKPass.php that I had downloaded didn't have this property. Thanks |
Great & good job! The method @tschoffelen closing this one? |
I'm referring to the starbucks_example and still facing the same problem. i given the reference to AppleWWDRCA.pem and generated the pass. when im trying to open it in my iphone, its not showing as pass. can you help me? |
Hi newtoios, The Starbucks sample lacks error output. Try edit
with
|
i have the same problem, too. I use the newest version of php-pkpass and did every step from the readme, but i can't add passes to passbook. In the console i see this warning: "Invalid data error reading card passTypeIdentifier / serialNumber. Manifest signature did not verify successfully" |
@SimonWaldherr Are you referring to Are you sure the |
I have this warning on all examples For test purposes, i deleted the |
Got a same problem here. Certificated and WWDR verified. and changed the passTypeIdentifier as well as teamIdentifier, but still not fix. Using PKValidate checking json file but it show no error. { |
Try the example at http://apps.tomttb.com/pkpass/example.php. Does that one work on your iPhone? |
Hand-written JSON can be hard, I see several errors;
Please get the latest version of the example file. Using the PHP data format that then encodes into JSON is more fail-safe. |
i got downloaded file but the file is not opened in IOS .....it display error (The pass “pass.pkpass” could not be opened.) |
@kaurharpreet What do the logs tell you? |
openssl_x509_read() [function.openssl-x509-read]: supplied parameter cannot be coerced into an X509 certificate! this error is displayed in .pass file |
@kaurharpreet Looks like a problem with the cert. Have it worked before? |
no it didn't work.. |
@kaurharpreet Then please double check your certificate. Follow the instructions here: https://github.com/tschoffelen/PHP-PKPass#requesting-the-pass-certificate |
i create the certificate again ..it works now...thank u for your help |
used example.php and Pkpass.php from https://github.com/tschoffelen/PHP-PKPass and getting an error openssl_pkcs7_sign(): error opening the file, WWDR.pem in C:/xampp/htdocs/PkPass.php on line *** |
Hi! Sounds like that file is missing, have you downloaded it? See the instructions in the README of this repo, specifically concerning the WWDR intermediate certificate. |
Sir i am sure that i have the file in there............downloaded the certificate from apple developer site and then extracted it from the keychain |
moreover , an invalid pkpass file is also |
unable to add |
Hi i am getting this error: please how to remove above error. |
@rajud521 Did you overwrite the Also, please open a new issue of this problem persists without your code customisation, since it's not related to this already-closed issue. |
@tschoffelen, it is working fine in Android phone, but it is showing in Apple IPhone that "unable to add |
@rajud521 That is because Android doesn’t check if the pass certificate is valid. See the Debugging section in the Readme to figure out what’s going wrong exactly. |
again created the certificate, it is working fine now. Thank you! |
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. |
Whenever I generate a pass and I tap add, it disappears instead of showing the adding animation. I checked my book and it doesn't show. I even tried your example online and that doesn't work either.
The text was updated successfully, but these errors were encountered: