Wallet Passes
ProSince 3.12Needs Events Manager Pro 3.12 or later, with Events Manager 7.7 or later.
Wallet passes let attendees keep their ticket on their phone. Each attendee on a booking gets their own pass for Apple Wallet and Google Wallet, carrying the same check-in QR code as their PDF ticket, so you scan it at the door with the check-in tools you already use. Attendees add a pass from a button in their booking email or a link on their My Bookings page.
Passes have to be signed by an Apple developer account and a Google Wallet issuer account. Events Manager Pro can sign them for you, with no accounts to set up and designs you make in the pass designer on eventsmanagerpro.com, or you can sign them on your own site with your own Apple and Google accounts.
With Events Manager Pro signing, your Events Manager Pro license must be active on the site. To check passes in at the door, turn on ticket scanning as described in Check-in and attendance, since the QR code on a pass opens the same check-in screen as a printed ticket.
What attendees get
Every attendee on a booking gets their own pass, so a booking for three people gives three passes, each with that person's name when your attendee form collects one, and the booker's name otherwise. The pass description is "Ticket for" followed by the event name.
A pass made with a design from the pass designer.
| Field | Apple Wallet | Google Wallet |
|---|---|---|
| Event name | Front, always shown | Always shown |
| Date and time | Front, always shown | Always shown |
| Venue | Front | Shown |
| Attendee name | Front | Shown as the ticket holder |
| Ticket type | Front | Shown |
| Booking number | Back | In the details, as the ticket number |
| Venue address | Back | With the venue |
| Event link | Back, under More Information | In the details, as a website link |
A design can hide any field except the event name and the date, and can rename the labels Apple Wallet shows. Google Wallet uses its own labels.
The pass carries the event's start time and, when the location has map coordinates, the venue's position, which Apple Wallet uses to bring the pass up on the lock screen. Passes expire a day after the event ends.
The back of the pass holds the booking number, address and event link.
Turn on wallet passes
-
Go to Events then Settings then Bookings then Wallet Passes.
-
Set Enable Wallet Passes? to Yes. More settings appear.
-
Leave Apple Wallet and Google Wallet on Yes, or set one to No to offer only the other.
-
Choose how passes are signed in Pass Signing: Events Manager Pro (no setup needed) or My own Apple and Google accounts. See Choose who signs the passes.
-
Click Save Changes.
-
With Events Manager Pro signing, the Pass Design section now has a Default Design list. Choose a design, or leave it on Plain, and save again. See Choose the default design.
Wallet passes signed by Events Manager Pro, with a default design chosen.
-
Add the wallet buttons to your booking confirmation email. See Add the buttons to booking emails.
The My Bookings page shows wallet links as soon as passes are enabled, with nothing more to set up.
| Setting | Default | What it does |
|---|---|---|
| Enable Wallet Passes? | No | Turns wallet passes on for the whole site. |
| Apple Wallet | Yes | Offers Apple Wallet passes. |
| Google Wallet | Yes | Offers Google Wallet passes. |
| Pass Signing | Events Manager Pro (no setup needed) | Who signs the passes. My own Apple and Google accounts replaces the Pass Design section with credential fields. |
| Default Design | Plain | With Events Manager Pro signing, the design passes use unless an event chooses another. The plain design is white with your site name. |
When something stops passes being issued, a status line appears under Enable Wallet Passes?, for example when Events Manager Pro signing is chosen and the site has no active Events Manager Pro license, or when an Apple certificate can't be read.
Choose who signs the passes
| Events Manager Pro signing | Your own Apple and Google accounts | |
|---|---|---|
| Setup | None | An Apple Developer account and a Google Wallet issuer account, with certificates and keys pasted into the settings |
| How passes look | Designs from the pass designer, a default for the site and a choice per event | One logo and set of colors for the whole site, from Pass Appearance |
| Ticket details sent to eventsmanagerpro.com | Yes, each time an attendee adds a pass. Attendee names and booking numbers are not stored | No |
| Needs | An active Events Manager Pro license | The PHP zip extension for Apple passes |
| Staging sites | 5 passes a week | No limit |
Events Manager Pro signing
Events Manager Pro signs passes with its own Apple and Google accounts. When an attendee taps a wallet button, your site sends that ticket's details to eventsmanagerpro.com, which signs the pass and sends it straight back. The request carries:
- the event name, start, end and link, and your site name and language;
- the venue name, address and map coordinates;
- the attendee's name, the ticket name and the booking number;
- the ticket's check-in address, which is what the QR code contains;
- your license key and site address, so the service knows which site is asking.
The ticket and attendee details are not stored. To count passes per site, eventsmanagerpro.com keeps each event's name, start and link, which are already public on your site, and tells tickets apart by a one-way hash rather than keeping the ticket itself. Logos, colors and images come from the design you choose on eventsmanagerpro.com, so your site sends none of them.
The license key must be activated for this site's address, since the service checks that the request comes from the site the key belongs to.
Your own Apple and Google accounts
With My own Apple and Google accounts, passes are signed on your own server and nothing is sent to eventsmanagerpro.com. Apple passes are built and signed as a file your site sends to the attendee. Google passes are a signed link to Google Wallet, so the pass details go to Google when the attendee saves it, as they do with Events Manager Pro signing. You need your own Apple Developer account for Apple Wallet and a Google Wallet issuer account for Google Wallet, and the pass designer is not used. See Set up your own Apple and Google accounts.
You can offer one platform with your own account and turn the other off: set Apple Wallet or Google Wallet to No and fill in only the credentials you have.
Design passes in the pass designer
The pass designer is on eventsmanagerpro.com, at eventsmanagerpro.com/account/wallet/. Sign in with the account that holds your Events Manager Pro license and click Wallet Pass Designs on your account page. Designs belong to your account, and you choose which of your sites can use each one. Designing passes needs an active Events Manager Pro license.
Until you make a design, passes use a plain white design with your site name.
Your designs, with their Offered or Off state and the sites they go to.
-
Click New design (or Create your first design when you have none). The editor opens on an Untitled design, with a preview on the right.
-
Type a name for the design in the box at the top. Only you and the people who manage your sites see it, in the Default Design list and the event editor.
-
Under Where it is offered, leave Offer this design to my sites ticked. Leave All my sites ticked to offer it on every site where your license is activated, including sites you activate later, or untick it and tick the sites you want. Staging sites are marked Staging.
Offer a design to all your sites, or only the ones you tick.
-
Under Name and colors, set the Organizer name shown at the top of the pass and as the issuer on Google Wallet. Leave it blank to use each site's name. Choose the Background, Text and Labels colors. Google Wallet uses the background color and picks black or white text itself.
-
Under Images, upload the images you want. See the table below for what each one does.
-
Under Fields, untick any field you don't want on the pass, and type a new label for any field whose Apple Wallet label you want to change.
-
Under Back of the pass, add up to four headings with text, such as terms, entry rules or how to contact you. Apple Wallet shows them on the back of the pass and Google Wallet in the pass details.
-
Check the preview with the Apple Wallet and Google Wallet tabs, then click Save design.
The preview uses sample ticket details. Each wallet app lays passes out in its own way.
Your sites pick up new and changed designs within a few hours, or straight away when you click Refresh designs in the site's settings. Passes added after you save a change use the new design. Passes already in a wallet keep the design they had when they were added.
Images can be PNG, JPEG, GIF or WebP up to 5 MB, and each one is resized for Apple Wallet and Google Wallet when you upload it.
| Image | Where it shows | Size to upload |
|---|---|---|
| Icon | Square. Apple shows it on the lock screen and in notifications, and Google Wallet shows it as the round logo at the top of the pass. | At least 660 by 660 pixels |
| Logo | A wide logo for the top of the pass. Google Wallet shows it in place of the round icon and name. A transparent PNG works best. | At least 640 by 200 pixels |
| Banner | Behind the event name on Apple Wallet, and along the bottom of the pass on Google Wallet. The middle is kept when it is cropped. | At least 1125 by 366 pixels |
| Background (Apple Wallet only) | Blurred behind the whole pass. Not used when there is a banner. | |
| Thumbnail (Apple Wallet only) | Beside the event name, with a background image. Not used when there is a banner. |
If your logo already includes your name, untick Show the name beside the logo on Apple Wallet.
Each design in the list has Edit, Duplicate and Delete buttons. To stop offering a design without deleting it, untick Offer this design to my sites and save. Either way, passes that would have used it get the plain design.
Choose the default design
The plain design, used when no other design is chosen.
With Events Manager Pro signing, Default Design in Events then Settings then Bookings then Wallet Passes lists Plain and every design offered to this site. Every event uses the default unless it has its own choice.
The list is refreshed every few hours. After you make or change a design, click Refresh designs to see it straight away. If the list could not be fetched, a line under the button starts with The designs could not be loaded: followed by the reason, and the last list that loaded stays in use.
If you have just switched Pass Signing to Events Manager Pro, the section says Save your settings to choose a design. until you click Save Changes.
Use a different design for one event
With Events Manager Pro signing, the event editor has a Wallet Pass Design box in the sidebar.
One event can use its own design.
| Choice | Passes for this event use |
|---|---|
| Default design (name) | The site's default design, named in brackets. |
| Plain | The plain design, whatever the default is. |
| A design's name | That design. |
The box has a link to the pass designer. On a recurring event, choose the design on the recurring event, and every date in the series uses it.
If a design you chose stops being offered to the site, because it was deleted, turned off or the site was unticked, passes for that event use the plain design and the list shows A design no longer offered to this site (passes use the plain design). Choose another design to replace it.
Where attendees find their passes
Add the buttons to booking emails
The wallet buttons are the official Add to Apple Wallet and Add to Google Wallet badges, in your site's language. They aren't added to any email on their own, so add a placeholder to the email attendees get when their booking is confirmed.
-
Go to Events then Settings then Emails then Booking Email Templates.
-
Under Booked User Emails, find Confirmed booking email.
-
Add
#_BOOKING_WALLETto Booking confirmed email where you want the buttons, for example after the booking summary. -
Click Save Changes.
On a booking with more than one attendee, each pair of buttons has the attendee's name above it, so everyone gets their own pass.
One pair of buttons per attendee.
Buttons only appear for bookings that can have a pass (see Which bookings get passes), so a placeholder in the pending booking email prints nothing. If you use custom booking email templates for some events or gateways, add the placeholder to those too.
| Placeholder | What it prints |
|---|---|
#_BOOKING_WALLET | The Apple Wallet and Google Wallet buttons for every attendee on the booking. Works anywhere booking placeholders work, including booking emails. |
#_TICKETBOOKING_WALLET | The buttons for one attendee, in templates and code that loop over a booking's attendees, such as the PDF ticket templates. |
#_TICKETBOOKING_APPLE_WALLET_URL | The address of one attendee's Apple Wallet pass, for building your own button. Empty when the booking can't have a pass. |
#_TICKETBOOKING_GOOGLE_WALLET_URL | The address of one attendee's Google Wallet pass. Empty when the booking can't have a pass. |
Each link carries a signature made from your site's security keys, so pass addresses can't be guessed from a ticket number.
On the My Bookings page
Each booking that can have a pass gets Add to Apple Wallet and Add to Google Wallet links on the My Bookings page, alongside the booking's other links such as the cancel link. When the booking has more than one ticket, the attendee's name follows in brackets, such as Add to Apple Wallet (Jordan Lee).
Attendees can add their passes from My Bookings at any time before the event.
What happens when an attendee taps a button
For Apple Wallet, your site sends the pass file, which an iPhone opens in Wallet. For Google Wallet, the attendee is taken to Google Wallet to save the pass. The pass is made at that moment, so it shows the event, venue and design as they are when it is added.
Which bookings get passes
Passes are issued for Approved bookings of events that have not ended yet. A pending, rejected or cancelled booking has no buttons. Once the event ends, the links leave the My Bookings page, and a button in an earlier email shows a message instead of a pass.
A pass already in a wallet is not removed if the booking is cancelled later, so check the booking's status when you scan it at the door. Developers can change which bookings get passes with the filters below.
Set up your own Apple and Google accounts
Set Pass Signing to My own Apple and Google accounts and click Save Changes. The box then shows Apple Wallet Credentials, Google Wallet Credentials and Pass Appearance.
With your own accounts, credentials replace the pass designer.
The private key, its password and the Google service account key are secrets. After you save them they are never shown again: the field reads Saved. Leave blank to keep it, or enter - to remove it. Leave it blank when you save other settings, enter a single - to remove the saved value, or paste a new one to replace it.
Apple Wallet credentials
You need a membership of the Apple Developer Program. These steps export the certificate with Keychain Access on a Mac, as the settings box describes.
-
In your Apple Developer account, under Certificates, Identifiers and Profiles, create a Pass Type ID, then create a certificate for it and install it in Keychain on your Mac.
-
In Keychain Access, export the certificate together with its private key as a
.p12file, for examplepass.p12. -
Convert it to PEM with these two commands in Terminal. The second asks for a password to protect the key.
openssl pkcs12 -legacy -in pass.p12 -clcerts -nokeys -out pass.pemopenssl pkcs12 -legacy -in pass.p12 -nocerts -out pass.key -
Paste the contents of
pass.peminto Pass Certificate (PEM). It starts with-----BEGIN CERTIFICATE-----. -
Paste the contents of
pass.keyinto Private Key (PEM), and the password you chose into Private Key Password. The password is only needed if the key is encrypted. -
From the Apple PKI page, download the Apple Worldwide Developer Relations intermediate certificate that issued your pass certificate (currently G4). Apple offers it as a
.cerfile, so convert it to PEM and paste the result into Apple WWDR Certificate (PEM).openssl x509 -inform der -in AppleWWDRCAG4.cer -out wwdr.pem -
Click Save Changes.
The pass type and team are read from the certificate. When everything is in order, the status line under Enable Wallet Passes? reads Apple Wallet: signing as followed by your pass type ID, team and the date the certificate expires. Renew the certificate in your Apple Developer account before that date and paste the new one in.
Google Wallet credentials
-
Create an issuer account in the Google Pay & Wallet Console.
-
In Google Cloud, enable the Google Wallet API for a project, create a service account in it, and create a JSON key for the service account. The key downloads as a
.jsonfile. -
Back in the Google Pay & Wallet Console, add the service account's email address as a user of your issuer account.
-
Enter the number shown at the top of the Google Pay & Wallet Console in Issuer ID.
-
Open the JSON key file in a text editor and paste its whole contents into Service Account Key (JSON).
-
Click Save Changes.
If the issuer ID isn't a number, the status line says Google Wallet: the issuer ID should be the number shown in the Google Pay & Wallet Console.
Pass appearance
With your own accounts, every pass on the site uses these settings.
| Setting | Default | What it does |
|---|---|---|
| Logo URL | Empty, which uses your site icon | An image from your media library to brand passes with, ideally square. Google Wallet only shows logos served over https. |
| Background Color | #ffffff | The pass background, as a hex color. |
| Text Color | #1d1d1f | The values on Apple Wallet passes. |
| Label Color | #6e6e73 | The field labels on Apple Wallet passes. |
If the site has no logo or icon, Apple passes use the Events Manager logo.
Limits
- With Events Manager Pro signing, a staging or development site activated on your license can issue 5 different passes in any 7 days. Adding the same ticket again doesn't count twice. Live sites have no limit, and neither do your own accounts.
- Passes aren't updated once they are in a wallet. A pass shows the details at the time it was added. If you change the event's date, time or venue afterwards, passes already in a wallet keep the old details, so tell attendees about the change another way.
Troubleshooting
An attendee sees "This wallet pass link is not valid."
The link was changed on the way, for example cut short by an email program, or your site's security keys in wp-config.php have changed since the email was sent, which makes every earlier wallet link stop working. Ask the attendee to add the pass from the My Bookings page, or resend their confirmation email.
An attendee sees "Wallet passes are not available on this site."
Passes for that platform are turned off, the Events Manager Pro license is not active (with Events Manager Pro signing), or a credential is missing (with your own accounts). Check the status line in the Wallet Passes settings.
An attendee sees "There is no wallet pass available for this ticket."
The full message goes on to say that passes are only issued for confirmed bookings of upcoming events. The booking is pending, rejected or cancelled, or the event has ended.
An attendee sees "Your wallet pass could not be created right now, please try again later."
Open the same link while logged in as an administrator: the message then ends with the reason. The usual ones are:
- The wallet service could not be reached: your server could not connect to eventsmanagerpro.com. Ask your host whether outgoing connections are blocked.
- The wallet service declined the request: Staging sites can issue 5 wallet passes a week, and this site has reached that limit. See Limits.
- The wallet service declined the request: followed by a message that the license key is not activated for this site, or that wallet passes need an active license. This happens after a site moves to a new address, or when the license has expired. Activate Events Manager Pro on the site again, or renew the license.
- With your own accounts, a certificate or key problem such as The private key does not belong to the pass certificate., or The PHP zip extension is required to create Apple Wallet passes., which your host can turn on.
A design I made isn't in the Default Design list
In the pass designer, check that Offer this design to my sites is ticked and that the design is offered to this site, either with All my sites or with the site ticked. Save the design, then click Refresh designs in the site's settings.
Passes use the plain design instead of the one I chose
The design is no longer offered to this site. The event's Wallet Pass Design box, or the Default Design list, shows A design no longer offered to this site (passes use the plain design). Offer the design to the site again in the pass designer, or choose another one.
The status line says the Apple pass certificate could not be read
The message is Apple Wallet: The pass certificate could not be read. followed by advice. Check the private key password, and if the .p12 file was exported from Keychain, convert it with the -legacy commands shown above and paste the certificate and key as PEM. The Apple WWDR intermediate certificate is missing or invalid. means the Apple WWDR Certificate (PEM) field needs the PEM version of the G4 certificate.
For developers
| Hook | Type | What it does |
|---|---|---|
em_wallet_booking_statuses | Filter | The booking statuses that get passes. Default array( 1 ), approved bookings only. |
em_wallet_is_booking_eligible | Filter | ( $eligible, $EM_Booking ). The final say on whether a booking gets passes, after the status and event end checks. |
em_wallet_is_available | Filter | ( $available, $platform ). Whether apple or google passes are offered on the site. |
em_wallet_event_template | Filter | ( $uuid, $EM_Event ). The design an event's passes use with Events Manager Pro signing, as a design ID, or an empty string for the plain design. |
em_wallet_pass_data | Filter | ( $data, $EM_Ticket_Booking ). The ticket details a pass is built from, and with Events Manager Pro signing what is sent to eventsmanagerpro.com. |
em_wallet_apple_pass | Filter | ( $pass, $EM_Ticket_Booking ). The Apple pass.json contents before signing, with your own accounts only. |
em_wallet_badge | Filter | ( $badge, $platform ). The badge image as an array of url, width and height, or null for a text link. |
em_wallet_buttons | Filter | ( $html, $EM_Ticket_Booking, $buttons ). The button HTML for one attendee. |
em_wallet_error | Action | ( $exception, $platform, $EM_Ticket_Booking ). Runs when a pass can't be created, for logging. |
For example, to give pending bookings passes as well as approved ones:
add_filter( 'em_wallet_booking_statuses', function ( $statuses ) {
$statuses[] = 0; // pending
return $statuses;
} );