PayXpert - User documentation

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

First of all, in V2, there is only one supported communication method which is USB/RS232. In this version, all the data are structured following a specific order. The structure is different between the query of the cash register and the reply of the POS.

Following tables will detail the structure of data <message> including STX, ETX and LRC.

There is no field for ticket, it is up to the cash register to build it on its own

Data structure of the cash register query

Field

Length

Description

STX

1

Start of the frame

ECR#

2

Cash register number

MNT

8

amount

IND

1

Response field indicator (0 = NO REP, 1 = REP but only PAN, 2 = TLV)

EMETTEUR

1

Payment method

TYPE

1

Transaction type

DEV

3

Currency

PRIV

10

Private data (if none, it is blank, so 10 0x20 SPACE)

DELAI

1

POS response delay

AUTO

1

Authorization request

ETX

1

End of the frame

LRC

1

Checksum (computed using bytes from ECR# to AUTO + ETX)

Data structure of the POS reply

Field

Length

Description

STX

1

Start of the frame

ECR#

2

Cash register number

STAT

1

Transaction status

MNT

8

amount

IND

1

Response field indicator (0 = NO REP, 1 = REP but only PAN, 2 = TLV)

EMETTEUR

1

Payment method

TYPE

1

Transaction type

DEV

3

Currency

PRIV

10

Private data (if none, it is blank, so 10 0x20 SPACE)

DELAI

1

POS response delay

AUTO

1

Authorization request

ETX

1

End of the frame

LRC

1

Checksum (computed using bytes from ECR# to AUTO + ETX)

A POS message could look like this (STX + <message> + ETX + lrc):

example_msg.png
  • No labels