HelpCenter

Explore
LightSpeed - TechFriends AutoCredits Config Files and Guide
Updated

Purpose

The purpose of this article is to externally store config files and guides for the TechFriends related clients using LightSpeed services. Please see the attached .zip file in the Table of Contents.

The step-by-step instructions are also laid out under the Process section below.
 

Overview

AutoCredits is an extra paid module. After picking has been completed, this Feature allows LightSpeed to send Credits back to TechFriends for out of stock items on inmate orders. 

Please note: If the Client hasn't already settled payment with Sales, they will need to do so before configuration of the tool can begin.
 

Process

Requirement: LightSpeed version 3.4.10.9 or later.
 

Create the Directories

Run the batch file to create the directories and copy the file.
 

Configure the LsProvider Config File

  1. Navigate to LsProvider.
     
  2. Right-click LsProviderControl.exe and select Edit.
     
  3. Verify in 2 locations that the Config file has LightSpeed Resources embedded. If not, the configs will need to be added.
    1. Please see the screenshot below for the first location. 
      LightSpeed - LsProvider - first location - config text.png If the config is missing, copy and paste the following into the highlighted area.

      <!--resources.lightspeedautomation.com binding uses security - not standard-->
      <binding name="BasicHttpBinding_ILsServices" closeTimeout="00:20:00" openTimeout="01:20:00" receiveTimeout="23:59:59" sendTimeout="01:20:00" textEncoding="utf-8" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" messageEncoding="Text">
        <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="8192" maxNameTableCharCount="167772160" />
        <security mode="TransportWithMessageCredential" />
      </binding>
    2. Please see the screenshot below for the second location.
      LightSpeed - LsProvider - 2nd location - config text.png If the config is missing, copy and paste the following into the highlighted area.

      <!--Client for LsResources-->
      <endpoint address="https://resources.lightspeedautomation.com/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ILsServices" contract="LsResources.ILsServices" name="BasicHttpBinding_ILsServices" />

Set Up the Script

  1. Navigate to C:\Program Files\LightSpeed\Scripts.
    LightSpeed - techfriends script file.png
  2. Right-click copy_techfriends_credit_files.ps1 and select Edit.
     
  3. Update the TechFriends server IP address and login credentials.
    LightSpeed - powershell - techfriends server IP and login creds.png
  4. Save and close out.
     
  5. Run the script as an administrator.
     

Import the Task

  1. Select Start and search for Task Scheduler.
    Task Scheduler icon.png
  2. Right-click Task Scheduler Library and select Import Task.
    Task Scheduler library - Import Task.png
  3. In the file picker, open Downloads > TechFriends Automated > Task Scheduler and select LightSpeed - Send Files to TechFriends.xml.
    LightSpeed - Send Files to TechFriends.xml file.png
  4. Select OK in the task creation dialog.
    LightSpeed - Create Task - Send Files to TechFriends.png
  5. Confirm that the task has been added.
    LightSpeed - Send Files to TechFriends - task added.png

Set Up Configure the Provider Source

  1. Log in to the Admin Portal.
     
  2. Select Configure Provider Source.
     
  3. Enter C:\TechFriends_Credit_Files in the Credits File Directory field.
    LightSpeed - Admin Portal - Configure Provider Source.png
  4. Select Save.