Skip to content

Deposits & No-show Protection ​

A deposit, the whole price, or a card left on file when a client books online: the time waits for it, the staff hear of the booking once it is in, a deposit is refunded or kept by the rules the client was shown, and a card pays a no-show or a late cancellation through the salon's own Stripe account.

kitloom/booking-deposits · admins: kitloom/booking-deposits-filament, kitloom/booking-deposits-nova

Video lessons ​

Recorded in the Filament admin; the Nova admin works the same way.

Deposits & No-show Protection: a deposit, the whole price, or a card left on file when a client books online. The time the client chose waits for the money or the card; once it is in, the booking is made as it would be without, and the staff member hears of it. Not in time, the time is free again. The money follows the booking by rules the client is shown: a deposit is refunded when the salon declines or cancels and when the client cancels in time, kept on a no-show; a card pays nothing until the client misses the visit or cancels too late. A deposit goes through the site's own payment methods (kitloom/payments: Stripe, PayPal, Mollie, Square and the rest), a card on file through the salon's Stripe account. The admin is kitloom/booking-deposits-filament or kitloom/booking-deposits-nova.

Before you start ​

A deposit is paid online, so the site needs a payment method that is switched on under Payments and takes the bookings' currency (Bookings → Settings → Currency). A bank transfer or cash does not count: neither says within minutes that the money is in. While no method fits, no deposit is asked and clients book as before; the Settings page says so at the top.

Choose what the services ask ​

Deposits and a card on file: settings

Deposits & No-show Protection → Settings, under What a client pays when booking:

  • Every service — what each service asks unless it has its own:
    • None — no deposit;
    • A fixed amount — the amount below (20.00), never more than the service's price;
    • A share of the price — the percent below (30) of the price the client books at, the staff member's own price included;
    • The whole price — the client pays it all when booking.
  • Amount or percent — for a fixed amount or a share.
  • Services with a deposit of their own — a row per service that asks something else: None for a quick trim when every service asks 30 %, A share of the price for colour and balayage when the rest ask nothing. A service without a row asks the default.

Only bookings made on the site pay. A booking made in the admin, or by an AI agent, asks nothing: the salon takes those itself.

What the client sees ​

  1. The booking form shows the deposit next to the price ("€25.50 now") and, on the last step, how much is paid now and how much at the visit, and the ways to pay when there are several. The button says Book and pay.
  2. The time is held and the client is sent to the payment page. Back from it, they land on their booking's page: paid, or still waiting for the payment service's word.
  3. Closed the tab? The booking's page (from the account's Appointments, Pay now) has the Pay now button until the time is let go.
  4. Paid, the booking is made: the client gets the usual "we will confirm" or "confirmed" email, with the deposit and what is left to pay at the visit.

Until it is paid, the booking says Waiting for payment. It holds its time — nobody else can book it — but nobody hears of it: no email to the staff member, no notice to the owner, no Google Calendar event, no Zoom meeting, no webhook. All of them come once the money is in, as they would when the client pressed Book.

When the money does not come ​

Minutes to pay (30) under Paying and getting it back is how long the time waits. Unpaid by then, the booking is let go — cancelled, Not paid in time — and the client gets an email with a link to book again. The scheduler does it every minute, so the site needs schedule:run in its cron (see the deployment guide).

A payment that arrives after the time was let go (the client paid at the last second, the payment service answered late) brings the booking back if its time is still free. Taken by someone else meanwhile, the money is refunded and the client told why.

When the booking ends ​

What happens to the bookingThe deposit
The salon declines itrefunded
The salon cancels itrefunded
The client cancels in time (the bookings' cancelling limit, 12 hours by default)refunded — or kept, with Refund when the client cancels in time off
A no-showkept
Donekept: it counts toward the price
Moved, by the client or the salonstays with the booking

A client cannot cancel online after the cancelling limit, so a late cancel is a call to the salon, which decides.

A refund goes back through the payment service the client paid with, from the queue, and the client gets an email. A payment service that cannot refund from the site leaves a note on the deposit: give the money back in its own dashboard, then Mark refunded.

A card on file instead of a deposit ​

Cards on file, trusted clients and asking for a card
No-show fees from a card on file

Many clients leave a booking form when it asks for money. A card on file asks for none: the client leaves a card when booking, nothing is charged, and the salon charges a fee only if they do not come or cancel too late — as Fresha's "capture card details" and Booksy's No-Show Protection do.

Before you start. The card is kept by Stripe, on the salon's own account: switch Stripe on under Payments with its secret key — the same key the till takes cards with. Without it no card is asked and clients book as before.

Choose it. Under What a client pays when booking, Card on file — for every service, or for one in Services with a rule of their own (colour and balayage, the long ones). Then what it costs, under Card on file:

  • No-show fee — a share of the visit's price (50 % by default), a fixed amount, or none;
  • Late-cancellation fee — the same choices, for a cancellation inside the bookings' cancelling limit (12 hours by default).

A service row may set its own fees. A visit of several services pays what each of its card services costs, together, never more than the visit's price; when one of its services asks for a deposit, the deposit is asked instead.

What the client sees. The booking form says "A card is needed to book. Nothing is charged now. 34.00 CAD if you miss the visit or cancel less than 12 hours before." Book holds the time and sends the client to Stripe's page to leave the card (the bank's 3-D Secure check is done there and then, so a later fee needs no client). Back from it, the booking is made. A client who left a card before from their account is offered Use Visa •••• 4242 and skips Stripe. The time waits Minutes to pay for the card, as for a deposit; a client who left it and closed the page keeps the booking — the site asks Stripe before letting a time go.

A no-show. No-show asks Charge the no-show fee, switched on, with the amount, which may be lowered. Charge the no-show fee without asking in Settings charges it whenever a no-show is marked where nobody is asked — an email's link, an AI agent.

A late cancellation. A client cannot cancel online inside the cancelling limit; they call, and the salon cancels for them. Inside the limit Cancel asks Cancelled late by the client: charge the late-cancellation fee, switched off — the salon cancels for its own reasons too. A decline, or a cancellation outside the limit, never charges.

A card that does not pay. Declined, or the bank wants the client to confirm it: the fee stays owed, the client gets an email with a page to pay it with any card, and the owner hears of it (booking.fee_failed, with kitloom/notifications). The client gets a receipt for a fee charged, and an email for a fee given back. With the till (kitloom/booking-checkouts) the fee also comes on the client's next bill as Unpaid no-show fee — Tue 3 Nov; paid there, Fees says At the till, bill 12.

A booking the salon made. Bookings made at the desk or on the phone ask for nothing. Ask for a card on such a booking (Filament: the booking's actions) emails the client a page to leave one; nothing waits on it, and once the card is left the fees apply as to a booking made on the site — a service without a card rule costs the fees under Card on file.

Trusted clients. No card or deposit needed on a client's card (Bookings → Clients) lets them book from their own account without either. A guest who types their email is asked as anyone.

Removing a card. The client removes their cards from their account, a manager from Cards on file; Stripe forgets it. A card that holds a booking still ahead stays until another card holds it.

Fees ​

Deposits & No-show Protection → Fees lists every fee charged to a card on file, newest first: the booking and the client, No-show fee or Late-cancellation fee, the amount, and where it stands — Charging, Paid, Not paid (with what the bank said), Waived, Refunded. The menu counts the fees not paid. The actions:

  • Charge again — a fee not paid, on the same card; the answer comes at once.
  • Waive — a fee not paid is let go; nothing is owed and the client is not told.
  • Refund — a paid fee goes back to the card through Stripe, and the client gets an email.

Cards on file ​

Deposits & No-show Protection → Cards on file lists the cards the clients left: the client, Visa •••• 4242, the expiry, when it was left. Only these are kept here; the card itself is Stripe's. Remove forgets one at Stripe, unless it holds a booking still ahead.

Deposits ​

Deposits & No-show Protection → Deposits lists every deposit, newest first: the booking and the client, the service and when, the amount and the price, where it stands — To pay, Paid, Not paid (let go), Refunded, Kept — the booking's own status and a note when a refund needs doing by hand. A paid deposit has three actions:

  • Refund — the money goes back through the payment service now and the client gets an email. The booking stays as it is.
  • Mark refunded — for money given back in the payment service's dashboard: the deposit says refunded and the client gets an email.
  • Keep — the deposit stays with the salon when the booking ends.

The payments themselves are on the Payments screen, with the gateway's reference.

Settings ​

Deposits & No-show Protection → Settings:

  • Every service (none), Amount or percent (0) and Services with a rule of their own — a deposit or a card, a card's own fees left empty to follow the ones below.
  • Minutes to pay (30, from 5 to 1440).
  • Ways to pay (none chosen — every online method that takes the currency).
  • Refund when the client cancels in time (on).
  • No-show fee and Late-cancellation fee of a card on file (50 % of the visit each), and Charge the no-show fee without asking (off).

Beyond the screens ​

  • AI agents (kitloom/ai), for whoever has the permission: booking_deposits_list — the deposits by booking code or status ("Did Ada pay her deposit for Tuesday?"), booking_deposits_fees — the fees charged from cards ("Which no-show fees did not go through?"), and the rules in describe_site. Refunds, fees and the rules stay in the admin.
  • A theme: the booking part gives each service's deposit (and each staff member's for their own price) and the ways to pay in rules.payMethods; a card on file is a deposit of 0.00 labelled Card on file, with later — the words to show under it. The form sends method, and the answer's payUrl is where the client goes next. Atelier draws it all.
  • The account page: the section cards (Saved cards) lists a client's cards — items with label, expires, holding, and a removeUrl to DELETE (/wp-json/booking-deposits/v1/cards/{id}) for one that holds nothing ahead. The staff's schedule gives each booking the fees a no-show or a late cancel may charge; the decision sends charge. Atelier and the mobile app draw both; the app's clients remove cards on the site.

What is inside ​

WhatWhere
Depositstable booking_deposits (the site's prefix in front), one row per booking, model Kitloom\BookingDeposits\Models\Deposit — what kitloom/payments charges
Services' own rulestable booking_deposit_rules, model Kitloom\BookingDeposits\Models\DepositRule, written whole by RuleWriter
Cards on filetable booking_cards (the Stripe customer and card, the brand, the last four digits, never the number), model Models\Card; removed by Cards\CardWriter
Bookings held by a cardtable booking_guarantees, one row per booking, model Models\Guarantee — the card, the fees worked out when booking, the words the client agreed to, when and from which address
Feestable booking_fees, model Models\CardFee, charged by Cards\FeeCharger (a row of kitloom/payments too)
Settingsoptions booking_deposits_*: the default rule, the minutes to pay, the ways to pay, the refund on a cancel in time, the fees of a card and whether a no-show is charged without asking
Permissionmanage_booking_deposits, given to the roles that manage bookings
Schedulerbooking-deposits:release, every minute — deposits and cards
Client pagesbooking/card/{guarantee} (the cards a client left before), booking/fee/{fee} (a fee to pay), signed
Configurationconfig/kitloom-booking-deposits.php

The module binds kitloom/bookings' Prepayment contract: the bookings ask it what a service costs up front, keep a booking Waiting for payment while it holds the deposit, and print its lines on the booking's pages and emails. It hears of the payment through kitloom/payments (Payable::paid()) and of the booking's end through the bookings' events. For a card on file it answers Prepayment::fee() — what a no-show or a late cancellation may cost — and the bookings' decisions hand the amount chosen back in BookingStatusChanged::$charge. Stripe is asked over Laravel's Http (Stripe\CardsClient), on the API version the till uses.

What the application overrides ​

  • The models: ModelRegistry::use(Deposit::KEY, App\Models\Deposit::class) and the same for DepositRule::KEY, Card::KEY, Guarantee::KEY and CardFee::KEY.
  • The queue of the refunds, the admin sections and the agent tools: php artisan vendor:publish --tag=kitloom-booking-deposits-config.

Tests ​

From the application that installs the package: php vendor/bin/phpunit --testsuite BookingDeposits. The tests pay through kitloom/payments' fake gateway (Kitloom\Payments\Testing\FakePayments); the cards' tests make Stripe up in memory with Kitloom\BookingDeposits\Testing\FakesStripeCards, which an admin's tests use too.

Read more ​

kitloom — sites on Laravel, built for you and run with AI.
Contact · Services · License · Refunds · Privacy · Community · YouTube · [email protected]