Get started
Color

Settings overview

Find your way around Settings, know who can open each section and which settings live outside the screen.

For
OwnerAdministrator
Hosting
Any hosting
Devices
Web browser
Business
All businesses

Checked against Pop Dispatch 0.1.0

Settings is the one place where an owner or manager sets up how the business runs. You will be able to open each section, know what it holds and find the settings that are changed outside the screen.

The Settings screen in the web console for the demo business.
The Settings screen.

Before you start #

You need the owner or manager role. Anyone else who opens Settings sees "Settings are for owners and managers" and a note to ask the owner. The Backups section shows for the owner alone.

Steps #

  1. Open Settings. The page opens on the first section, Security.
  2. Use the Settings sections bar to move between sections:
  3. Select "Language and theme" at the top of the page to change your own console language and theme. These are personal and apply to your sign-in only.
  4. Change a field and select its button (Save, Add or Change password). The section shows a short confirmation when the change is stored.

Sections added for the office #

  • "Business address": the address and phone printed on documents, the public web address, and the invoice paperwork. The invoice paperwork is the business license and registration numbers, the invoice footer, the customer authorization wording and the warranty wording. All four print on invoices.
  • "Customer languages", "Compliance rules", "Booking page" and "Online payments" (owner only). Each has its own article: customer-languages, pennsylvania-rule-set, public-booking-page and stripe-payment-links.

Settings that live outside this screen #

  • Public base address. The address customers use to reach tracking and approval links. An owner or manager sets it with PATCH /settings/public and the field public_base_url. It starts with https and has no path. Plain http is accepted for this computer only. Leave it empty to clear it. Anyone signed in can read it with GET /settings/public.
  • Trusted proxies. When a proxy sits in front of the server, list its addresses or networks in the PSD_TRUSTED_PROXIES environment variable, separated by commas, spaces or semicolons. The server then reads the customer's address from X-Forwarded-For past each trusted proxy. An entry of any other kind stops the server from starting and names the entry.

Neither setting has a field in the console yet.

Technical details
  • The route is /settings/:section. A section name that does not exist opens the first section available to your role.
  • Changing the public base address writes an entry to the audit log.
  • The invoice paperwork is held in business_licence_numbers, invoice_footer, invoice_authorisation_text and invoice_warranty_text, read with GET /settings/business and saved with PATCH /settings/business. The two numbers and the footer hold up to 500 characters each; the authorization and warranty wordings hold up to 2000 each. A key left out of a PATCH stays as it is; empty text clears it.
  • Section data comes from /settings/locale, /settings/tax-rates, /settings/tax-defaults, /settings/webhooks, /settings/keys, /backup and /me.

If something goes wrong #

  • You see "Settings are for owners and managers": your role is neither owner nor manager. Ask the owner.
  • The public base address answers a validation error: it must start with https, hold a host and an optional port, and have no user name, path, query or fragment.
  • The server will not start and names a PSD_TRUSTED_PROXIES entry: correct that entry to a valid address or network.