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
5
votes
0 answers

PKPaymentAuthorizationController is not presented sometimes

We ran into a problem that the PKPaymentAuthorizationController is not presented, although everything is done, as described in the examples. A PKPaymentRequest is created in the code, passed to the PKPaymentAuthorizationController initializer, after…
TonyMit
  • 51
  • 1
5
votes
1 answer

How to properly present PKPaymentAuthorizationViewController in a SwiftUI only project?

I have visited this answer already and the present method proposed here doesn't work (anymore?). When I use a UIViewControllerRepresentable and then show it as a sheet it looks pretty awful: If I use overlay it looks exactly like I want it to looks…
Lucas van Dongen
  • 9,328
  • 7
  • 39
  • 60
5
votes
2 answers

How to create "Add to apple wallet" button using PKAddPassButton for passes with localisation

In my iOS project I have a screen which allows the user to create apple passes and add it to the wallet. Apple recommends creating "Add to apple wallet" button using PKAddPassButton. When I tried creating apple pass using following code: let…
Shailesh Chandavar
  • 1,614
  • 14
  • 20
5
votes
1 answer

How to implement PKPaymentAuthorizationViewControllerDelegate in Xcode 9 for iOS 8 backwards compatibility?

I'm trying to build an app that uses Apple Pay on Xcode 9. The deployment target is iOS 8. Up until Xcode 8.3.3 (and the iOS 10 SDK) this worked perfectly: extension MyViewController: PKPaymentAuthorizationViewControllerDelegate { func…
floriankrueger
  • 2,003
  • 2
  • 16
  • 25
5
votes
0 answers

iPhone wallet not giving back device ID and Push token

I ran into a problem while integration "Registering a Device to Receive Push Notifications for a Pass" web service on my server for Apple Passes. Link Below:…
Vineet Ravi
  • 1,457
  • 2
  • 12
  • 26
5
votes
1 answer

How to reliably determine whether Passbook is available?

Apple provides a dedicated method in Passkit to determine whether the PassLibrary is available: [PKPassLibrary isPassLibraryAvailable] This works as expected on iPhone and iPad with one exception: The iPad Air 2 returns YES but it seems that it…
DEAD10CC
  • 910
  • 1
  • 6
  • 20
4
votes
2 answers

SendEmptyPushNotification to gateway.push.apple.com no longer working

For at least the past couple of days (maybe longer), nothing seems to happen when I send an Empty Push Notification to at least 1 test device. I'm pretty much using the same SendEmptyPushNotification code as the article posted…
Dumber_Texan2
  • 840
  • 2
  • 12
  • 34
4
votes
1 answer

Is it possible to create the certificate to sign Apple Wallet Passes from a non-iOS system such as Ubuntu?

I'd like to create a certificate from Apple developer account and use it to sign Apple Wallet passes / passbook. So I can implement a server to generate the wallet passes to serve up my mobile app. The challenge to me is I'm on linux (Ubuntu to be…
4
votes
0 answers

Apple PassKit, webservice invoked hundres of times

I'm using Spring Boot 2.2, Spring Data REST, hibernate in my REST application. I'm trying to manage Apple loyalty cards. I'm using jpasskit to generate the pass (.pkpass bundle) and it works like a charm. Because I want to manage updates of the…
drenda
  • 5,846
  • 11
  • 68
  • 141
4
votes
1 answer

Flutter: how to create Apple/google wallet card

Is there any way to create passes/cards for Apple wallet and google wallet? In swift this is done with passkit. How can I do it in Flutter!? Note I want to had card like tickets, boarding pass, loyalty card. I am not looking after adding credit card…
M4trix Dev
  • 1,828
  • 3
  • 23
  • 48
4
votes
0 answers

Is it possible to use NFCVASReaderSession to read Apple Wallet passes?

I am trying to use the new NFCVASReaderSession API on iOS 13 beta using an iPhone XR. NFCVASReaderSession.readingAvailable is returning false, but when I call session.begin() it launches the scan UI. A couple of questions: Is there additional…
Scott Condron
  • 1,902
  • 16
  • 20
4
votes
1 answer

Does Twilio Notify support pushes to Apple’s PassKit?

I’m trying to send push notifications using a Pass type ID certificate via Twilio Notify. This is different than sending to an iOS App. I’m able to do this from my own server, but I’m receiving an “invalid APNS credentials” error with…
Dan
  • 4,197
  • 6
  • 34
  • 52
4
votes
2 answers

Adding a default billing contact for an Apple Pay request

I'm building an app that uses Apple Pay and as you can see below, when I display the PKPaymentAuthorizationViewController, it's not getting the current user's billing address and email. If the user has used Apple Pay before, they are likely have…
Zack Shapiro
  • 6,648
  • 17
  • 83
  • 151
4
votes
2 answers

Decrypt Apple Pay Payment Token with-in App

How can I decrypt PKPaymentToken (Apple Pay Payment Token), in iOS (using Objective-C or Swift)? It's recommended to decrypt the payment token at the server end (ideally done by the payment processor), but what if I want to decrypt the payment token…
Mustafa
  • 20,504
  • 42
  • 146
  • 209
4
votes
1 answer

Apple Pay - Payment backend server - iOS

I have been reading the Apple developer documentation website about Apple Pay and have been going through other tutorials online about how to integrate Apple Pay into your iOS apps. All of the sites I have been on indicate that you need a backend…
user4657588
1
2
3
15 16