globalpayments/dotnet-sdk

Issue in NAK flow

Opened this issue · 0 comments

As per the api document, if LRC is incorrect the register will have to send a NAK to the terminal
The terminal in turn will resend the response,if this time the LRC is validated, the register has to send an ACK and wait for EOT.
This flow is missing in the PAXTCPINterface call,
further if i modify the code and send NAK, get a response and then send an ACK, i dont get EOT from the terminal, Either the message LISTEN TIMEOUT or INCORRECT MESSAGE FORMAT is displayed on the terminal..