
外掛標籤
開發者團隊
原文外掛簡介
Your customer books an appointment or an event, and Amelia’s confirmation screen offers
them an Add to Apple Wallet and Add to Google Wallet button, right below the booking
details. The pass carries the service or event, the customer’s name, the date and time, the
employee and location, 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
or event, employee, location and address, 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 or per event if you like.
The barcode format, and a Wallet reminder before the appointment.
How it works
The buttons appear inside Amelia’s own booking forms, on their confirmation screen:
step-by-step booking, catalog booking, the booking button, and the events list and
calendar.
The pass is created on your server with your AddToWallet API key. The key never reaches
your visitors’ browsers.
The browser sends only the booking id and Amelia’s own booking token, and the booking
details are read from Amelia’s tables, so nobody can create a pass for someone else’s
booking or put made-up details on one.
Reloading the confirmation screen never creates a second pass.
Cancellations and changes
When a booking is canceled, rejected or marked a no-show, by you, an employee 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 time, employee or location, the pass is
updated to match, without using another credit. All of this happens on your server, from
Amelia’s own notifications, even if nobody has the booking page open.
Requirements
Amelia (the free Amelia Lite from WordPress.org, or a paid edition)
An AddToWallet account and API key
Coming from the “AddToWallet for Amelia Bookings” zip?
That plugin (version 1.x, folder amelia-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 or event name, the date and time, the customer’s name, the employee’s
name, the location’s address, the booking id, your business name, email and phone (from
Amelia’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 canceled, rejected, marked a no-show 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.
