tschoffelen / php-pkpass

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

IOS error #101

Closed hernasenjohn closed 4 years ago

hernasenjohn commented 4 years ago

Good. When generating a pass with the app on android it works perfectly for me both when I download it and when I open it. But in ios it fails me, in the download safari it gives me an error and if I do it in android and I send it by email to ios it doesn't open either. but in android it is perfect, I don't know why.

http://pk-pass.herokuapp.com/rentingpass/

tschoffelen commented 4 years ago

Console on Mac gives me the following error when opening a pass created via your web app:

image

Have a look at the README for instructions on how to debug issues on Mac.

hernasenjohn commented 4 years ago

Repair the error but on iphone it still doesn't work well.

tschoffelen commented 4 years ago

There might be another error in your JSON, or there might be something wrong with your signing certificate. The Console app on your Mac will show you the exact error message (instructions are in the README).

hernasenjohn commented 4 years ago

I have a doubt. Do I need to replace the .pem file?

tschoffelen commented 4 years ago

What error is the console showing you?

Shinichi-Marumoto commented 4 years ago

Perhaps p12 certificate has not expired?

hernasenjohn commented 4 years ago

Everything is correct. The problem was in the pass, which was wrongly created by those who keep the apple account and named it. Now it works perfect. Thank you very much and sorry for the inconvenience.

tschoffelen commented 4 years ago

Great to hear! Thanks for using this library 👍