Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The DLL associated with the Moniepoint Communication Library is named moniepoint.dll

You need the DLL file to enable communication

Constructor 

public MoniepointCommunicationService(string portName, int baudRate, int timeoutMilliseconds)

...

96 - System malfunction

98 - Exceeds cash limit

Sample Response

<?xml version="1.0"?>
<Response>
<MaskedPan>506124*********9386</MaskedPan>
<ResponseCode>00</ResponseCode>
<AuthorizeCode></AuthorizeCode>
<Amount>10070</Amount>
<RetrievalRefNo>000000000035</RetrievalRefNo>
<TerminalID>2057FMOC</TerminalID>
<TransTime>2024-01-23T10:25:59.000000000</TransTime>
</Response>

Error codes

Code Block
languagec#
 public const int SuccessStatus = 0;
 public const int PortNotOpenStatus = -1;
 public const int SendErrorStatus = -2;
 public const int ReceiveErrorStatus = -3;
 public const int ReceiveTimeoutStatus = -4;
        public const int InvalidResponseLengthStatus = -5;
        public const int InvalidAcknowledgeResponseStatus = -6;
        public const int InvalidConnectionStatusResponse = -7;
        public const int  ReceiveConnectionErrorStatus = -8;
        public const int ReceiveTimeoutStatusWithPartialResponse = -9;