Skip to content

Apple Wallet

Andreas Michael edited this page Nov 30, 2026 · 1 revision

Apple Wallet Integration

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.

Prerequisites

  1. An Apple Developer account (Apple Developer Program).
  2. Access to the Certificates, Identifiers & Profiles section in the Apple Developer portal.
  3. Omnia Apple Configuration: Enable Apple Integration and configure your Apple Team ID in Omnia Settings before enabling Apple Wallet here.

1. Create a Pass Type ID

A Pass Type ID identifies a category of passes issued by your organisation.

  1. Go to Certificates, Identifiers & Profiles.
  2. Select Identifiers from the sidebar, then click the plus button (+).
  3. Select Pass Type IDs and click Continue.
  4. Enter a Description (e.g., ESN Membership Manager Passes) and a Pass Type ID (e.g., pass.org.esncy.membership).
  5. Click Register.

2. Generate a Pass Signing Certificate

This certificate is used by the server to sign .pkpass archives and authenticate APNs push updates.

  1. Go to Certificates.
  2. Click the plus button (+).
  3. Under Services, select Pass Type ID Certificate and click Continue.
  4. Select the Pass Type ID you created in Step 1.
  5. Follow the instructions to create a Certificate Signing Request (CSR) using Keychain Access on your Mac.
  6. Upload the .certSigningRequest file and click Continue.
  7. Download the resulting certificate (.cer file).

3. Export Certificate as .p12

The module requires the certificate and private key in .p12 format.

  1. Open the downloaded .cer file in Keychain Access.
  2. Find the certificate under the My Certificates tab.
  3. Right-click the certificate and its private key and select Export "...".
  4. Choose Personal Information Exchange (.p12) as the file format.
  5. 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.

4. Module Configuration

  1. First, ensure Apple Integration is enabled and your Apple Team ID is saved in Omnia Settings.
  2. Navigate to the module settings: /admin/config/system/esn-membership-manager.
  3. Under Enable / Disable Features > Digital Wallets, check Enable Apple Wallet Integration.
  4. In the Apple Wallet Settings section:
    • Upload Pass Certificate: Upload the .p12 file 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).
  5. Click Save configuration.

5. Supported Pass Types & Live Updates

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.

Live Pass Updates

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.

Clone this wiki locally