JustFlows

Bookings / Payments and credits

Payments with Shop

Bookings never prices a booking or takes money. With Shop active, a bookable service is a Shop product of the type *Service*, so its price, tax, discounts, member prices (a Shop price rule per customer role), and payment terms all come from Shop.

  1. The visitor books. When Shop says the service must be paid, the booking waits in pending_payment and its time is kept for Wait for a deposit or prepayment (30 minutes).
  2. The booking goes into a Shop cart and the visitor pays at Shop's checkout, in full, with a deposit (Shop's *Partly paid* orders), or on site.
  3. Shop reports the outcome and Bookings applies it once: paid confirms the booking, a deposit marks it partly paid, a refund marks it refunded.
  4. When the window passes unpaid, the time is released and Shop's unpaid order is cancelled. A payment arriving later confirms the booking if the time is still free, and otherwise shows *paid after release* so staff refund it through Shop.

A booking links to its Shop order, and the order links back to the booking. A paid service can only be booked online while Shop answers; if Shop is off or failing, visitors see that the service cannot be booked right now and nothing is reserved. Staff with *Settle payments by hand* can still confirm it as paid or arranged another way.

A disputed Shop order marks its bookings' payment state *disputed*; the booking itself stays as it is for you to decide. Booking lines in Shop are never shipped or sent to a carrier.