Skip to content

Installing Live Chat

Upload the files

The extension must end up in this folder of your Paymenter installation. The folder name must be exactly LiveChatSupport.

extensions/Others/LiveChatSupport/

You can get it there in two ways.

Upload the ZIP in the admin area

  1. In the admin area, open Extensions, then Available Extensions.
  2. Switch to the Ready to Install / Upload tab.
  3. Click Upload Extension, choose the ZIP file and confirm.

Copy the folder by hand

  1. Unpack the ZIP and copy the LiveChatSupport folder to extensions/Others/LiveChatSupport/.
  2. If the extension does not show up in the next step, run these commands in the Paymenter root directory:

    composer dump-autoload
    php artisan optimize:clear
    

Install and enable

  1. Open Extensions, then Available Extensions, tab Ready to Install / Upload.
  2. Find LiveChatSupport in the list and click Install. Paymenter opens the extension's settings page.
  3. Switch on Enabled and save.

Installing and enabling both run the extension's migrations. They create two tables: ext_livechat_conversations and ext_livechat_messages. If one of the tables is missing while the extension is enabled, the extension runs the migrations again on the next request.

Once the extension is enabled, the admin area has a new entry Chat Conversations in the Support navigation group.

First-time setup

The widget does not appear anywhere until a placement setting is saved with Yes.

  1. On the extension's settings page, set Show widget on homepage, Show widget on all public pages or Show widget on dashboard to Yes.
  2. Go through the other settings, in particular Welcome message (first reply), the support hours and Support timezone. See Configuration.
  3. Save.
  4. Open your homepage in a private browser window and check that the chat button appears in the bottom right corner.

Updating

  1. Upload the new ZIP with Upload Extension as described above. Paymenter replaces the extensions/Others/LiveChatSupport folder.
  2. Disable the extension, save, enable it again and save. The extension has no upgrade step of its own, and enabling is what runs new migrations.

If you replace the folder by hand, do step 2 as well. Existing conversations and settings are kept.

Uninstalling

  1. Open the extension's settings page in the admin area.
  2. Click Uninstall Extension and confirm.

Warning

Uninstalling drops the tables ext_livechat_conversations and ext_livechat_messages. All conversations, messages and ratings are deleted.

Uploaded attachments are files in storage/app/livechat-attachments/. Uninstalling does not remove them. Delete that folder yourself if you no longer need the files.

Disabling the extension keeps the tables, the settings and the files. The widget disappears and the chat addresses under /livechat/ stop working until you enable it again.