Open saurabh-nandan opened 4 years ago
Replace PassKit.addPass(base64EncodedPass) with PassKit.addPass(base64EncodedPass) .then(res => console.log(' Pass success ', res)) .catch(err => console.log(' Pass Error ', err));
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.]"
I am also getting same error
Error: Failed to create pass."
Is there any update on this?
Thanks.
I have the same problem, is there any update on this?
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?
Same Issue. Pass Error **** [Error: Failed to create pass.]. Any Update??
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.
I'm facing the same issue. Is there any solutions?
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.