Apple Wallet
Connect an Apple Pass Type ID so customers can add tickets and subscriptions to Apple Wallet.
The Apple Wallet plugin issues signed .pkpass files for tickets and subscriptions. Customers download them on the web pages, or your application downloads them through the SDK HTTP API or the REST API v2. After a device adds a pass, it registers with Unidy and receives updates when the ticket or subscription changes.
For the differences to Google Wallet and the pass content, see Wallet passes.
Before you start
You need:
- An Apple Developer Program membership and its Team ID.
- A Pass Type ID (for example
pass.com.example.tickets) and its signing certificate, exported with its private key as a password-protected.p12file. - Apple's WWDR intermediate certificate (PEM).
- The organization name the pass should show as a last fallback.
Your brand must be reachable over public HTTPS. Apple Wallet uses the brand's host to register passes and download updates.
Create the certificate files
- In the Apple Developer portal, open Certificates, Identifiers & Profiles, create a Pass Type ID, and create its certificate.
- Install the certificate in Keychain Access and export it with its private key as a
.p12file with a password. - Convert the
.p12file into a certificate PEM and a private key file:
openssl pkcs12 -in Wallet.p12 -clcerts -nokeys -out pass.pem -passin pass:YOUR_P12_PASSWORD
openssl pkcs12 -in Wallet.p12 -nocerts -out passkey.key -passin pass:YOUR_P12_PASSWORD -passout pass:YOUR_P12_PASSWORDKeep the files and the password in your password manager. Pass Type ID certificates expire. Note the expiry date and renew the certificate before then, or passes can no longer be signed or updated.
Add the plugin
- Open Integrations → Add plugin and select Apple Wallet, or open the existing plugin. Choose the brand scope where available.
- Fill in the fields:
| Field | Value |
|---|---|
| Name | A recognizable name. |
| Pass Certificate | The content of pass.pem. |
| Pass Key | The content of passkey.key. |
| Passphrase | The .p12 password. |
| WWDC Certificate | Apple's WWDR intermediate certificate. |
| Pass Identifier | The Pass Type ID, for example pass.com.example.tickets. |
| Team Identifier | Your Apple Team ID. |
| Organization Name | Shown on the pass when neither logo_text nor the brand's display name is set. |
- Save and enable the plugin. Apple Wallet has no Test connection action. Verify the setup with a sample pass.
- Switch on Enable wallet export and configure the Wallet Pass settings on the ticket and subscription categories.
- Make sure the tickets and subscriptions have
wallet_exportdata with aqr_code. - Download a sample pass on an iPhone. Change the ticket, for example its title, and check that the pass updates within a few minutes.
What the pass shows
- Name at the top:
logo_textfromwallet_export, otherwise the brand's display name, otherwise Organization Name. - Images: the category logo as logo or thumbnail (Logo position), and the Wallet export background for the
eventTicketandstoreCardstyles. All images are converted to PNG. - Colours: the category's background, foreground and label colours.
- QR code:
qr_codefromwallet_export. - Dates and labels: in the brand's time zone and the customer's language.
Android wallet apps that import a .pkpass file show the organization name as the header and the primary field as the title. They ignore logo_text and the background images.
Updates
When a ticket or subscription changes, Unidy notifies every device that registered its pass. Apple Wallet then downloads the new version in the background. Devices that no longer have the pass are removed automatically.
Changes to the category's colours or images, and to customer profile fields, do not update saved passes. They appear the next time the ticket or subscription changes or the customer downloads the pass again. Unidy staff can republish all passes when needed.
Delete the plugin
Deleting the plugin removes its configuration. Saved passes remain on the devices but no longer receive updates. Enable wallet export stays on the categories, so a new plugin brings the export back without editing every category.
Troubleshooting
| Symptom | Next check |
|---|---|
| The download fails or the pass does not open | Check that the certificate, key, passphrase, Pass Identifier and Team Identifier belong together and that the certificate has not expired. |
| A saved pass does not update | Check that the plugin is enabled and that the brand's host is publicly reachable over HTTPS. Updates only follow changes to the ticket or subscription itself. |
| Android shows a different header than the iPhone | Expected. Android wallet apps ignore logo_text. Set the brand's display name or Organization Name. |