Kartris User Guide

19.4.4. Windows 8 app - watch orders

Busy stores may want to have a real-time overview of orders in progress in order to monitor processing times, pending queues or spot any site or payment gateway issues such as a backlog of orders which have been registered but remain unpaid.

The Kartris Notifications app for Windows 8 includes a 'watch orders' feature. This is configurable, and polls a web service on your web site directly to retrieve information on pending orders, creating an almost real-time overview of order progress.
The app has a number of configuration settings which can control the frequency at which your site is polled, and the duration in minutes that orders in various stages are visible for.
This feature relies on a web service; in order for this to be active, you need to ensure you have the following in your web config:
<appSettings>
    <!-- other settings here -->
    <add key="com.kartris.livetile.Service1" value="http://livetile.kartris.com/KartrisNotificationServer.svc" />
    <add key="KartrisWebAPISecretKey" value="dxuIyFt992As" />
    <add key="KartrisWebAPIIPLock" value="" />
</appSettings>
You will also need this one in there too:
<system.serviceModel>
    <services>
      <service behaviorConfiguration="DefaultBehavior" name="KartrisWebAPI">
        <endpoint address="" binding="basicHttpBinding" bindingConfiguration="DefaultHttpBinding" contract="IKartrisWebAPI"></endpoint>
        <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"></endpoint>
        <host>
          <baseAddresses>
            <add baseAddress="https://www.kartris.com/protected/KartrisWebAPI.svc"></add>
          </baseAddresses>
        </host>
      </service>
    </services>
</system.serviceModel>

The 'baseAddress' should of course contain the path to your own site's web API.

You can test if the web API is working by calling it as follows (obviously with your own domain rather than ours):

https://www.kartris.com/Protected/KartrisWebApi.svc?wsdl

 
powered by tomehost