How to use paid chats feature?

Last modification: 2016-01-01 17:35:29

What for it can be used. Let say you want to have live help chat based on some identifier and chat session would be possible only if chat is not closed and only for this identifier. Similar to chatbox functionality except it's based on live help widget not chatbox.

How to enable?

  1. Go to "System configuration" => "Paid chat configuration"
  2. Enable
  3. You can change secret hash, it's used for verification

In live help argments if it's used for standard widget, not page widget value can be generated like

LHCChatOptions.attr_paid = {phash:'payment_id_hash',pvhash:'<?php echo sha1('<secret_validation_hash>'.sha1('<secret_validation_hash>'.'payment_id_hash'))?>'};

For page embed code it can look like

LHCChatOptionsPage.attr_paid = {phash:'payment_id_hash',pvhash:'<?php echo sha1('<secret_validation_hash>'.sha1('<secret_validation_hash>'.'payment_id_hash'))?>'};

So now each live helper chat will be based on phash value. User won't be able to start new chat if chat is already started.

Support project

Developing application takes a lot of time. You can support application by donating. There is no company behind this application and it takes away my free time. Every donation matters and does not matter how small it is!


Paypal, one time donation
Monthly donation
Bitcoin
Skrill
remdex@gmail.com


comments powered by Disqus