=== AddToWallet for Simply Schedule Appointments === Contributors: lakshayaddtowallet Tags: appointments, booking, wallet, apple wallet, google wallet Requires at least: 5.8 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Turn every Simply Schedule Appointments booking into an Apple or Google Wallet pass, so your customers keep their appointment on their phone. == Description == Your customer books an appointment, and SSA's confirmation screen offers them an **Add to Apple Wallet** and **Add to Google Wallet** button, right below *Save to calendar*. The pass carries the appointment type, the customer's name, and the date and time, with a barcode staff can scan. = How it works = * The buttons appear inside SSA's own booking form, on its confirmation screen. * The pass is created on your server with your AddToWallet API key. The key never reaches your visitors' browsers. * The browser sends only the appointment id and SSA's own appointment token, and the appointment details are read from SSA's tables, so nobody can create a pass for someone else's appointment or put made-up details on one. * Reloading the confirmation screen never creates a second pass. = Works with = * The `[ssa_booking]` shortcode * The SSA Gutenberg block * Any page builder that embeds SSA's booking form = Cancellations = When an appointment is canceled, by you or through the customer's own cancel link, the pass in their wallet is marked expired straight away. = Requirements = * Simply Schedule Appointments (free or paid editions) * An AddToWallet account and API key == Frequently Asked Questions == = Which appointments get a pass? = Booked appointments, unless you choose otherwise. You can also issue passes for appointments waiting on payment, though that payment may still fail. = No buttons appear. What should I check? = * You are out of AddToWallet credits. * The appointment has a status you do not issue passes for. * Your booking form redirects to another page after booking, so SSA never shows its confirmation screen. The *Bookings & passes* tab lists every appointment and whether it received a pass. = Does expiring a pass refund the credit? = No. Each pass costs one credit when it is created. == External services == This plugin connects to the AddToWallet API at https://app.addtowallet.co to create and expire Apple Wallet and Google Wallet passes. Without this service it cannot issue passes. When a customer's appointment qualifies for a pass, the plugin sends these details from your server to AddToWallet: the service name, appointment date and time, staff member, customer name, customer email and phone number, the appointment id, and the logo and colors you configured. It also sends your API key to authenticate the request. When an appointment is cancelled, it sends the pass id so the pass can be expired. Your API key is never sent to the customer's browser. The service is provided by AddToWallet: [Terms of Service](https://addtowallet.co/terms/), [Privacy Policy](https://addtowallet.co/privacy-policy/). == Screenshots == 1. The customer's confirmation screen in Simply Schedule Appointments, with Add to Apple Wallet and Add to Google Wallet buttons below Save to calendar. 2. Settings: connect your AddToWallet account and design the pass, with a live preview. 3. Bookings & passes: every booking, with whether its wallet pass was issued or expired. == Changelog == = 1.0.0 = * First release. Verified against Simply Schedule Appointments 1.6.12.