Questions tagged [passkit]

Passkit is an API aimed towards businesses and developers to help them create, distribute and manage coupons, tickets, store cards, membership cards and much more for Apple Passbook. Source: Apple 2013

For usage, check the reference: https://developer.apple.com/library/ios/documentation/UserExperience/Reference/PassKit_Framework/

230 questions
1
vote
0 answers

Error when generating Apple Pass (nodejs) with @walletpass/pass-js

When trying to generate my Apple Pass using @walletpass/pass-js package, I'm getting Bag Attributes SyntaxError: Unexpected identifier. I have created the right .p12 certificate for the designated passType and converted to .pem as stated in the…
Shahryar Faraji
  • 119
  • 1
  • 2
  • 9
1
vote
0 answers

Apple Wallet / Passbook / Passkit: Register for push endpoint is called over and over

We have implemented the register for push endpoint, but sometimes the endpoint is called with exactly the same arguments over and over up to a couple of thousand times. The first call returns 201 and the rest returns 200 just like the…
user3677636
  • 331
  • 3
  • 14
1
vote
1 answer

Unable to download PKpass from server

I've been trying several links to download pkpass from server but whenever i download it it shows me the size of file "0 kb", due to this i cannot convert it to pkpass data. is there any other way for dynamic pkpass ? or some other way to download…
1
vote
0 answers

How To Use addPassesViewControllerDidFinish in SwiftUI

I'm working on an IOS app that makes use of the PK framework and uses a PKAddPassesViewController in a UIViewControllerRepresentable struct. The controller shows correctly when I run the app, but I cannot work out how to use the…
Sylith
  • 411
  • 4
  • 10
1
vote
1 answer

How do I add a PKPass to the Apple Wallet from within my iOS app?

I'd like the user to be able to add their own PKPass with their name to Apple Wallet by tapping a button in the app. I have created the CustomPass.pkpass with the "primaryFields" "label" set to the user's name. Would I update the "label" inside the…
Reiss Zurbyk
  • 103
  • 7
1
vote
2 answers

How can I confirm the Apple Pay payment with Stripe API

So after a couple of days, I was finally able to get the token created as well the payment method, and a payment intent setup this morning. Now I'm confused on how to actually confirm the payment with Apple Pay, in the non-Apple Pay checkout flow, I…
dante
  • 105
  • 11
1
vote
0 answers

Cannot convert pass created from walletpass api to data

So here is what I got: I created two certificates both a signerCertificate and a signerKey and converted them to .pem files. They work, and I am able to sign the pass in the console on my Mac terminal to create a pkpass. So the certificates work and…
1
vote
1 answer

notification for Apple wallet pass updates delivered quietly and with no notification banners

I'd like to implement solution to actively notify user upon incoming Apple wallet pass update. I have implemented all the passkit server api and most of the stuff seems to work ok. The only thing is that the incoming notifications are available only…
ciekawy
  • 2,238
  • 22
  • 35
1
vote
1 answer

iOS NFC-enabled Passes for payments solutions

Our team is developing a payment infrastructure that provides for payment via smartphone with NFC technology. For Android no problem as we used HCE; while as far as iOS is concerned we have come to the conclusion that the best solution, given the…
Vag
  • 11
  • 1
1
vote
1 answer

Data to string in UTF-8 encoding format conversion return nil in PKAddPaymentPassViewControllerDelegate's generateRequestWithCertificateChain method

I am implementing Apple Wallet, where I need to add the card to the wallet. I am trying to convert the certificates, nonce and nonceSignature that I am receiving in the…
1
vote
0 answers

Sending PKPass via email using nodejs

I'm generating the pkpass successfully server-side and now I'm trying to send the pkpass via email. I'm using nodemailer to try and do this but when I try to open the pass after downloading it from the sent email I get this error The pass…
user
  • 345
  • 2
  • 8
  • 32
1
vote
1 answer

Call to web services not working in Passkit (webServiceURL)

I have an application that generates passes for the Apple Wallet. The application is made in Ruby on Rails with the gem dubai. I can create a coupon and it works in the iPhone Simulator. The problem is that if I put the webServiceURL property with…
hazardco
  • 387
  • 1
  • 4
  • 13
1
vote
1 answer

Apple Wallet Pass local development with http url

I finished setting up the webservice routes according to Apple documentation and I am able to sign and provide passes. Unfortunately I am experiencing the following problem. When I define the webServiceUrl as "https://localhost:5000/wallet/" the…
koufa
  • 113
  • 3
  • 9
1
vote
1 answer

Generate & Sign an NFC-enabled .pkpass file without encryptionPublicKey

I am trying to enhance my .pkpass files with NFC functionality. I know that for public use a certificate is required from Apple to allow the readers to access my iPhone NFC but I have seen this setting in Developer Options: NFC Pass Key Optional and…
1
vote
1 answer

How to create .pkpass file for apple wallet on serverside and get it on iOS side

Here I have created .pkpass file following this tutorial Manually the above approach is static What I want is to generate somehow the pkpass file on the server side and then open it from my iPhone/iPad device.
Darshan
  • 2,272
  • 3
  • 31
  • 43