Description
Your customer books an appointment, and the last step of Bookly’s booking form offers them
an Add to Apple Wallet and Add to Google Wallet button, right above Bookly’s own
Start over button. The pass carries the service, the customer’s name, the date and time and
the staff member, with a barcode staff can scan.
Design the pass
The Pass design tab is a visual editor with a live Apple Wallet and Google Wallet
preview, front and back, filled in with your latest booking.
- Your business name, logo and colour.
- A header line, the pass title and up to three fields on the front.
- Sections on the back: text, links, phone numbers, email addresses and addresses.
- “+ Data Field” puts each booking’s details on the pass: the customer’s name, the service,
staff member, date, start and end time, duration, number of people, price, booking
number, online meeting link, your business contact details and more. - A hero image, with a different image per service if you like.
- The barcode format, and a Wallet reminder before the appointment.
How it works
- The buttons appear inside Bookly’s own booking form, on its last step, wherever the form
is placed: the[bookly-form]shortcode, the Bookly block or the Elementor widget. - The pass is created on your server with your AddToWallet API key. The key never reaches
your visitors’ browsers. - The browser sends only the order token Bookly gives the person who just booked, and the
booking details are read from Bookly’s tables, so nobody can create a pass for someone
else’s booking or put made-up details on one. - Reloading the page or booking again with “Start over” never creates a second pass for the
same booking.
Cancellations and changes
When a booking is cancelled, rejected or deleted, by you, a staff member or the customer’s
own cancel link, the pass in their wallet is marked expired straight away. When an
appointment is rescheduled, or you change its staff member or service, the pass is updated
to match, without using another credit. All of this happens on your server, even if nobody
has the booking page open. Bookly announces none of these changes to other plugins, so this
plugin checks for them at the end of every Bookly request that can change a booking, and
every ten minutes for changes made any other way.
Requirements
- Bookly (the free Bookly from WordPress.org, or Bookly Pro)
- An AddToWallet account and API key
Coming from the 1.x zip?
AddToWallet for Bookly 1.x (folder bookly-addtowallet) was handed out as a download. This
plugin installs into a new folder, so WordPress treats it as a separate plugin. When you
activate it, it copies your 1.x settings and the record of every pass 1.x issued, and from
then on it creates, updates and expires the passes. Then deactivate and delete the 1.x
plugin. Until you do, it stays switched off and you will see a reminder.
External services
This plugin connects to the AddToWallet API at https://app.addtowallet.co to create,
update and expire Apple Wallet and Google Wallet passes. Without this service it cannot
issue passes.
- When you save an API key, the plugin checks it by reading your credit balance
(/api/payment/usage), sending only the key. The balance is read again when you open the
Settings tab. - When a customer’s booking qualifies for a pass, the plugin sends the details you put on
the pass from your server to AddToWallet (/api/card/create). With the default design
that is the service name, the date and time, the customer’s name, the staff member’s
name, the booking id, your business name, address, email and phone (from Bookly’s company
settings), and the logo, image and colors you configured. The customer’s own email
address, phone number or the price are only sent if you add them to the pass design. - When a booking is cancelled, rejected or deleted, it sends the pass id and your logo so
the pass can be expired; when a booking is rescheduled or changed, it sends the pass id
with the updated pass details (/api/card/edit). - The Help tab’s contact form sends the name, email address and message you type, plus your
site address and the plugin version, to AddToWallet support (/api/admin/contactus),
only when you press Send.
Every request to /api/card/* and /api/payment/usage carries your API key to
authenticate it. Your API key is never sent to the customer’s browser.
The service is provided by AddToWallet: Terms of Service,
Privacy Policy.
Screenshots




FAQ
Which bookings get a pass?
Approved bookings, unless you choose otherwise. You can also issue passes for pending bookings (services that need your approval) and waiting-list places (Bookly Pro), though those may never happen.
- You are out of AddToWallet credits.
- The booking has a status you do not issue passes for.
- The customer is sent to another page after booking (a WooCommerce checkout, or a service’s “Final step URL”), so Bookly never shows its last step.
The Bookings & passes tab lists every booking and whether it received a pass.
Do cart and recurring bookings get a pass?
A Bookly Pro cart or recurring series is one order with several appointments. It gets one pass, for the first appointment; the others are listed on Bookings & passes without one.
Does expiring a pass refund the credit?
No. Each pass costs one credit when it is created.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“AddToWallet for Bookly” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “AddToWallet for Bookly” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.0.0
- First release on WordPress.org. Replaces the 1.x zip: settings and issued passes are copied over on activation.
- New admin screen, with Pass design, Bookings & passes, Settings and Help tabs.
- Pass design: a visual editor with a live Apple Wallet and Google Wallet preview, front and back.
- Choose the business name, header line, pass title and up to three front fields, using “+ Data Field” to add booking details: service, staff member, date and time, price, number of people and more.
- Add sections to the back of the pass: text, links, phone numbers, email addresses and addresses.
- Hero image variations per service.
- When an appointment is rescheduled or its details change, the pass already in the wallet is updated, without using another credit.
- Cancellations, rejections and deletions made in Bookly’s screens or through the customer’s cancel link expire the pass at once, instead of up to ten minutes later.
- Passes also expire when a booking is deleted.
- Fixed: expiring a pass failed with “Image cannot be loaded … logo-placeholder.png”. The logo each pass was made with is now sent with the expiry.
- Fixed: on sites in a time zone east of UTC, cancellations were never noticed, so passes were never expired.
- Fixed: on Bookly 28.7, with two booking forms on one page, the buttons could fail to appear.
- The pass shows the price Bookly charges (the staff member’s own price for the service, times the number of people).
- The API key is checked with AddToWallet before it is saved.
- Bookings & passes shows why a pass could not be created (for example, no credits left), and when a pass was updated or failed to update or expire.
- Times on the pass follow Bookly: the site’s time zone, or the customer’s when Bookly shows customers their own.
1.1.0
- Passes report which integration created them. Requests identify the plugin and its version.
1.0.0
- First release.
