Skip to content

Configuring Live Chat

All settings are on the extension's settings page in the admin area: open the list of installed extensions and edit LiveChatSupport. Changes apply from the next page load. The widget reads the pre-chat and upload settings each time it is opened.

Warning

A default only counts once it is stored. As long as a setting has no saved value, the extension uses the fallback described in the last column. For the three placement settings the fallback is No, so check them and save the form once after installing.

Widget placement

Setting Type Default What it does
Show widget on homepage Select (No / Yes) Yes Shows the widget on the paths / and /home. Without a saved value: not shown.
Show widget on all public pages Select (No / Yes) No Shows the widget on every page except the admin area (/admin and everything below it). Without a saved value: not shown.
Show widget on dashboard Select (No / Yes) No Shows the widget on /dashboard and everything below it. Without a saved value: not shown.

The three settings add up. The widget is shown on a page if at least one of them matches.

The widget is only added to HTML pages that Paymenter serves through its normal web routes and that contain a closing </body> tag.

Chat behaviour

Setting Type Default What it does
Require pre-chat form for guests Select (No / Yes) Yes When on, a visitor who is not logged in must enter a name (up to 100 characters) and a valid e-mail address (up to 200 characters) before the chat starts. Without a saved value: on.
Allow file uploads in chat Select (No / Yes) Yes When on, the widget shows an attach button. When off, the button is hidden and the server rejects uploads. Without a saved value: on. Only customers can attach files. The admin reply form has no upload.
Max upload size (KB) Number 5120 Largest allowed file in kilobytes. 5120 KB is 5 MB. Checked in the browser and again on the server. Without a saved value: 5120.
Welcome message (first reply) Text Hello! How can we help? Added as the first support message of every new conversation. Without a saved value, or when empty, no welcome message is added.
Availability note (widget subtitle) Text We reply within minutes Shown under the Live Chat title in the widget. Without a saved value, or when empty, the widget shows We reply within minutes.
Discord Webhook (optional) Text Empty A Discord webhook URL. When set, every customer message is posted to it. See Usage.

Allowed attachment types are fixed in the code and cannot be configured: jpg, jpeg, png, gif, webp, pdf, txt, doc, docx, zip.

Support hours

The support hours only control whether the widget and the admin conversation page show Online or Offline. Customers can start a chat and send messages at any time.

Setting Type Default What it does
Default support start (HH:MM, server timezone) Text 09:00 Start of the support window. Used for every day in the mode Same hours every day. Without a saved value: 09:00.
Default support end (HH:MM, server timezone) Text 17:00 End of the support window. Without a saved value: 17:00.
Support hours mode Select Same hours every day Same hours every day uses the two default times for all seven days. Custom per weekday uses the weekday fields below.
Support timezone (e.g. Europe/Berlin) Text Paymenter's application timezone The timezone in which the times are read and compared with the current time. Without a saved value: Paymenter's application timezone.
Monday start (HH:MM) to Sunday end (HH:MM) Text Empty Fourteen fields, a start and an end for each weekday. Only used in the mode Custom per weekday. A weekday without a saved value uses the default start or end.

How the status is worked out:

  • Support is Online when the current time in the support timezone lies between start and end, both included.
  • If the end is the same as or earlier than the start, the window runs overnight. 22:00 to 06:00 means online from 22:00 until midnight and from midnight until 06:00.
  • If a time or the timezone cannot be read, the status is Online.
  • There is no setting for a closed day. In the mode Custom per weekday, enter a start and an end for all seven days.

The status does not depend on whether an admin is logged in.

Access in the admin area

The extension adds no permission of its own. Every user who can open the Paymenter admin area can see Chat Conversations, reply, archive and delete.