Live Chat Messenger

Chat Messenger Configuration >= V-2.1

If you want to enable realtime communication feature between your customers and vendors, zCart have all you need to do start with. By default, we preconfigured Pusher Web Sockets for your convenience but you can configure other services as well.

Info: If you enable live chat module, vendors will get the option to on/off the live chat window on their product page and also on the store page.

 

To enable live chat, please navigate to settings configuration basic settings

Warning: If you enable the live chat module without configuring the pusher API. The system may cause errors.

 

Configure Pusher

To have a truly realtime performance you’ll require to configure a third-party service called Pusher.
Pusher is the category leader in realtime communication features that will help to make the communication flowless. The user will not require to reload the page to get new messages on both ends.

Warning: Unfortunately, the pusher is a premium service but they have a free plan for a certain limit. If you want to configure your own socket I/O please contact us. We can help as a custom job.

 

Signup and get to the Pusher dashboard and click Get started from the Channels section.

zCart Pusher Config Dashboard

Pusher Dashboard

On the next page, click the Create app button and create an app for your marketplace.

zCart Pusher config

Create an app

 

Get the app_id, key, secret and cluster to configure API.

zCart Pusher config

Pusher keys

Now you have all the values in hand, open the .env file and update the PUSHER_APP_ID, PUSHER_APP_KEY, PUSHER_APP_SECRET and PUSHER_APP_CLUSTER with the values, you got from Pusher.

.
.
.
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=
.
.
.

 

You’ve configured the Pusher API. Now change the BROADCAST_DRIVER to the pusher, so that the system will use pusher API to deliver real-time chat messages.

.
.
.
BROADCAST_DRIVER=pusher
.
.
.

 

Was this helpful to you?

Leave Comment