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

PKBarcodeFormatQR for dark mode (iOS 13)

I have an implementation of PassKit for my application's loyalty card. After introducing dark mode I have managed to change the background colors but the QR code's background color is still white. https://i.stack.imgur.com/wWoCH.png Is there a type…
0
votes
1 answer

Wallet pass push notifications APNs

So I have completed all the signing and compressing process for Apple passes and have been able to connect the pass to my server for updating. The only problem I have left to solve is implementing push notifications. I have been trying for a couple…
0
votes
1 answer

ApplePay `paymentAuthorizationViewController:didAuthorizePayment:handler:` not called in Xcode Simulator 10.3

ApplePay's PKPaymentAuthorizationViewControllerDelegate method paymentAuthorizationViewController:didAuthorizePayment:handler: is not being called when run on an Xcode 10.3 simulator. This method is called as expected when built to a device with…
Justin Vallely
  • 5,932
  • 3
  • 30
  • 44
0
votes
1 answer

How to add pkpass file to wallet without Preview from App?

I have been adding pkpass file to the wallet by using PKAddPassesViewController since it presents the pass for preview and we have to add manually. But what i need is to add the pass to the wallet without preview.
Vinoth
  • 125
  • 1
  • 13
0
votes
1 answer

Invalid data error reading pass **********. Manifest signature did not verify successfully. Could you please tell what this error could mean?

Invalid data error reading pass **********. Manifest signature did not verify successfully. Could you please tell what this error could mean?
0
votes
1 answer

"The file “pass.json” couldn’t be opened because there is no such file."

Failed to add pass: 'file:///Users/Faisal.Dilawar/Downloads/idcard.pkpass' Error Domain=PKPassKitErrorDomain Code=1 "Failed to read data" UserInfo={NSLocalizedDescription=Failed to read data, NSUnderlyingError=0x6000039b5110 {Error…
0
votes
2 answers

Handle credit card added to the Wallet Apple Pay

I am trying to implement the SetUp Apple Pay button on my iOS Xamarin application. I have added button and click handler for it. Then I Use PKPassLibrary.OpenPaymentSetup() to open Wallet. Then if user has successfully added Card into Wallet I need…
Oleg Kosuakiv
  • 174
  • 2
  • 15
0
votes
1 answer

Custom action when iBeacon is in reach with Apple Wallet

I would like to create a pass for Apple Wallet, where I could update the pass when it is near a beacon. As I found here, it is possible to show a pass from the wallet, when you are near the beacon. That's how you create the beacon, but you can't…
Fabio ha
  • 553
  • 1
  • 8
  • 29
0
votes
1 answer

Auto enrollment process in Apple Wallet

I am generating Loyalty card for Apple Wallet using Apple Pay API. Flow as below : Customer receive SMS contains a hyperlink. Customer taps on the link in SMS. User will be redirected to a page and download empty wallet loyalty card. Upon download…
0
votes
0 answers

How to determine the current iPhone/device model? while writing unit testcase

I have a method which returns Bool based on the PassKit. refer the below code:- class func isHardwareSuportedForApplePay() -> Bool { return PKPaymentAuthorizationViewController.canMakePayments() } I need to write test case of above…
Mohit Mangla
  • 337
  • 1
  • 15
0
votes
1 answer

Swift / iOS launch Apple Pay to a particular payment pass

Searching Apple Pay / Passkit / Wallet documentation, I've found very few code examples and pretty poor documentation. We're attempting to present a payment pass we've provisioned rather than just launch the wallet with openPaymentSetup(). According…
0
votes
0 answers

Push Notification for Apple wallet (pkpass) is not working on .net Server

I have to send push notifications for pkPasses on iOS devices. I have found a code on git hub. Using SendEmptyPushNotification method for sending push notification. I am sending PushToken for deviceIdentifier But its not working. Sometimes this…
0
votes
0 answers

PHP to coldfusion Apple Signing and Zipping a Pass (Wallet Passkit)

how to do Apple Signing and Zipping a Pass coupon (Wallet Passkit) in coldfusion. i was googling but did not find any helpful source. i only found this link but this guy also stuck looking for help.. Link if some one know JAVA jar file which can use…
M.A
  • 448
  • 6
  • 21
0
votes
0 answers

Dummy Request from Postman to my passkit Wallet API

Im working on passkit response back API (IOS Wallet). When my targeted clients downloads my coupon apple wallet will hit my API with some data for example: /v1/devices/{deviceLibraryIdentifier}/registrations/{passTypeIdentifier}/{serialNumber} That…
M.A
  • 448
  • 6
  • 21
0
votes
0 answers

How much data can be stored in the QR code on a pass in Apple Wallet?

I know that the data storage capacity of a QR code is related to pixel size and physical dimensions. The problem is, I don't know if the "sub squares" of QR codes in Apple Wallet are dynamic (e.g you add more data, Apple shrinks the squares to store…
Dan
  • 4,197
  • 6
  • 34
  • 52