Repository navigation
Apple Wallet
The ESN Membership Manager allows members and guests to save their ESNcard, Free Pass, or Guest Pass directly to Apple Wallet on iOS devices, with support for automatic live pass updates via APNs push notifications.
- An Apple Developer account (Apple Developer Program).
- Access to the Certificates, Identifiers & Profiles section in the Apple Developer portal.
- Omnia Apple Configuration: Enable Apple Integration and configure your Apple Team ID in Omnia Settings before enabling Apple Wallet here.
A Pass Type ID identifies a category of passes issued by your organisation.
- Go to Certificates, Identifiers & Profiles.
- Select Identifiers from the sidebar, then click the plus button (+).
- Select Pass Type IDs and click Continue.
- Enter a Description (e.g.,
ESN Membership Manager Passes) and a Pass Type ID (e.g.,pass.org.esncy.membership). - Click Register.
This certificate is used by the server to sign .pkpass archives and authenticate APNs push updates.
- Go to Certificates.
- Click the plus button (+).
- Under Services, select Pass Type ID Certificate and click Continue.
- Select the Pass Type ID you created in Step 1.
- Follow the instructions to create a Certificate Signing Request (CSR) using Keychain Access on your Mac.
- Upload the
.certSigningRequestfile and click Continue. - Download the resulting certificate (
.cerfile).
The module requires the certificate and private key in .p12 format.
- Open the downloaded
.cerfile in Keychain Access. - Find the certificate under the My Certificates tab.
- Right-click the certificate and its private key and select Export "...".
- Choose Personal Information Exchange (.p12) as the file format.
- Set a password for the file. Important: Remember this password for Step 4.
Note
On servers running OpenSSL 3+, legacy PKCS#12 certificates are automatically handled by the module's OpenSSL -legacy
fallback when converting the .p12 to PEM for APNs push notifications.
- First, ensure Apple Integration is enabled and your Apple Team ID is saved in Omnia Settings.
- Navigate to the module settings:
/admin/config/system/esn-membership-manager. - Under Enable / Disable Features > Digital Wallets, check Enable Apple Wallet Integration.
- In the Apple Wallet Settings section:
-
Upload Pass Certificate: Upload the
.p12file exported in Step 3. - Pass Certificate Password: Enter the password set in Step 3.
-
Pass Type ID: Enter the ID created in Step 1 (e.g.,
pass.org.esncy.membership).
-
Upload Pass Certificate: Upload the
- Click Save configuration.
Once configured, the module automatically includes Apple Wallet download links in approval/assignment emails and on the Member Dashboard:
| Pass Type | Barcode Format | Color | Live Push Updates | Notes |
|---|---|---|---|---|
| ESNcard | Code 128 |
Dark Blue | Yes | Includes member's face photo thumbnail (PNG). |
| Free Pass | QR Code |
Cyan | Yes | Available immediately upon application approval. |
| Guest Pass | Aztec |
Magenta | No | Valid for 7 days from approval; requires ID at door. |
The download URL follows this pattern:
https://your-domain.com/memberships/apple-wallet/{identifier}
Where {identifier} is an ESNcard Number, Free Pass Token, or Guest Pass Token.
For ESNcards and Free Passes, the module implements Apple's Wallet Web Service Protocol under
/api/apple-wallet/v1/.... When a member adds a pass to Apple Wallet, their device registers with your site
(esn_membership_manager_apple_wallet_registrations). If an officer later edits the member's details or crops their
photo, the module automatically sends an APNs push notification so the pass updates on the member's iPhone.