Skip to content
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

IOS: Wallet Integration Issue #14

Open
saurabh-nandan opened this issue Dec 17, 2019 · 8 comments
Open

IOS: Wallet Integration Issue #14

saurabh-nandan opened this issue Dec 17, 2019 · 8 comments

Comments

@saurabh-nandan
Copy link

I am integration Add to Wallet feature in my React native App. I have installed the package and while testing on device, getting an error

"Possible Unhandled Promise Rejection (id: 3):
Error: Failed to create pass."

Please give a proper documentation if i am missing something.
Thanks.

@thatsatul
Copy link

Replace PassKit.addPass(base64EncodedPass)
with PassKit.addPass(base64EncodedPass)
.then(res => console.log('**** Pass success ', res))
.catch(err => console.log('
Pass Error ****', err));

@saurabh-nandan
Copy link
Author

saurabh-nandan commented Jan 16, 2020

Replace PassKit.addPass(base64EncodedPass)
with PassKit.addPass(base64EncodedPass)
.then(res => console.log('**** Pass success ', res)) .catch(err => console.log(' Pass Error ****', err));

Hi Atul,
I have applied the code which you provided now it's printing
"Pass Error **** [Error: Failed to create pass.]"

@pratpandey01
Copy link

I am also getting same error

Error: Failed to create pass."

Is there any update on this?

Thanks.

@saeedtkh
Copy link

saeedtkh commented May 5, 2020

I have the same problem, is there any update on this?

@AdamLee321
Copy link

I am using wallet-py3k to create my pkpass server side, and the pkpass is working on Android but I am getting the below error on iOS.

Error: Failed to create pass."

Does anyone have any solution or is this library outdated?

@saadnaveed94
Copy link

Same Issue. Pass Error **** [Error: Failed to create pass.]. Any Update??

@AdamLee321
Copy link

After some time debugging the library I can conclude that this library is working to date and is not outdated. To see the real error for iOS and why the pass is not being created run your app on xcode and view the error shown in the log there.

My issue was to do with an invalid certificate I was using to create the pass on the backend. Once I added the correct one the library worked straight away. Hope this helps others. Any questions let me know.

@ghafartanveer
Copy link

I'm facing the same issue. Is there any solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants