Introduction

The Personal Discount System — hereinafter PDS — is aimed to maintain a base of personal payment and discount cards, and manage the work with different elements of the loyalty system, such as discounts, bonuses, savings, etc.

PDS Settings

Details of PDS installation and configuration are described in the Installing and Configuring PDS article.

Before reading this article, please follow the instructions from Installing and Configuring PDS and start PDS as independent software.

Card Server Settings

The CARDSERV version should be 5.08 — version 14 protocol — or later. If the Farcards card repeater is used, its version should be at least 3.02

Standard installation and configuration of the card server is described in the Installing and Configuring PDS article.

After CARDSERV standard installation and configuration, to connect the system to r_keeper 7, do the following:

Remember that the RTCP protocol is required for the interaction between the card server and the card editor.

An example of loaded link libraries on the card server version 7.22.02:

PCards Card Editor Settings

Standard installation and configuration of the card editor are described in Installing and Configuring PDS.

The card editor — PCards.exe — and the r_keeper 7 cash server midserv.exe use configuration files with the same name — RKEEPER.INI, so they should be installed in different directories. If you need to install applications in one directory, you should use a different configuration file for the cash server and force the name of this file to be specified on the command line when you start the cash server.

After PCards standard installation and configuration, to connect the system to r_keeper 7, do the following:

Settings in r_keeper 7

Manager Station Settings

  1. Launch the manager station, open the Settings > Parameters menu and go to the Installation > Link with other systems > Personal cards > PDS Server name section
  2. In the properties of the PDS server name parameter, in the Basic section, specify the name of the card server in the String line. This name should match the value of the NetServerName parameter from CARDSERV.INI, but is not an optional condition.

    Setting the PDS server name parameter is not relevant when using several PDS interfaces on one cash server. The priority of this server name is lower than that of the name specified in the interface properties on the cash server, as in the figure below.


  3. In the Service > Stations and Devices menu, select the required cash server, and add the PDS Interface on the Drivers tab

  4. In the interface properties, specify the name of the card server — the PDS Server name parameter, the value of which should correspond to the value of the NetServerName parameter from the card server configuration file — CARDSERV.INI

  5. If necessary, fill in or configure other interface parameters:

  6. In the Service > Interfaces menu, select the PDS logical interface and check the established correspondences for cash servers and PDS interfaces, then restart the cash server.
    Properties of the PDS logical interface:

  7. In the Service > Device Signals Processing > MCR Algorithms and edit the following properties of the PDS MCR algorithm:
  8. It is allowed to use employee cards as PDS cards. In this case, there should be two MCR algorithms:

In the MCR order editor, the Employee algorithm will be ignored if the temporary registration form is not entered.

For more information about MCR algorithms, see the Setup of MCR Algorithms article.

PDS Cards Payments and Replenishment at r_keeper 7 Cash Desk

To be able to pay and replenish PDS cards at the r_keeper 7 cash desk, do the following:

  1. Launch the manager station, open the Options > Parameters menu and go to the section Station parameters > Order editing > Calc/Pay order
  2. Select the Pay by payment card parameter and select Ask for the Value property
  3. In the Money > Currencies menu, select the currency for the PDS and specify the PDS logical interface in the Interface property, also set 0 value for the Transaction Code property

    The Interface section is only available for dealers

    Currency properties for the PDS

    The Interface Required parameter is absent in r_keeper version 7.5.3.260 and late



  4. In the Money > Discounts and Markups menu, create an amount markup that will be used when replenishing the card. Set 0 value for the Transaction Code property

    The Interface section is only available for dealers


  5. In the Money > Reasons of deposit/collect money menu, create a new reason and fill in the following properties:

  6. In order for the paid amounts not to be shown in the fiscal register as a deposit, specify a different printer or select Do not print in the Main Printer Class property of the Card Deposit printing scheme
  7. To print the Card Balance and Withdrawal of money from client card layouts, make copies of these layouts, then set the TRAINING flag in the properties
  8. Read the card at the cash station in the order editing mode. A window with information on the card and its owner should appear.

    If the client has a photo in the card editor, but it is not displayed at the cash desk, it is necessary to enable the PDS Show card image parameter in Options > Parameters > [All] > [Installation] > [Link with other systems] > [Personal cards]  in the manager station.


Debugging Interaction of r_keeper 7 Cash Server via PDS Protocol

In some cases, it may be necessary to debug — by means of extended logging — the interaction of the r_keeper 7 cash server MIDSERV via the PDS protocol — Farcards, Cardserv.

Initial Conditions for Using Debugging:

To enable debugging, you need to:

Extended logging will be recorded in the pds_netk.stk file.

If necessary, send the debug results, f.ex. to the support service. In addition to the pds_netk.stk file, you will also need the logs of the cash station — cash.stk, cash server — midsrv.stk, Farcards — Farcards.LOG and/or Cardserv — Cardserv.log.