Transaction Status

Below is a list of transaction status codes returned by the terminal, along with their meaning and description:

CodeTokenDescription
0TX_STATUS_NONEN/A
1TX_STATUS_HAVE_DATAReceived request from the caller. Data is correct.
2TX_STATUS_SENT2HOSTThe authorization is sent to host (acquirer).
3TX_STATUS_RECVHOSTResponse from the host is received.
4TX_STATUS_NOCARDNo card was presented to the terminal and the timeout elapsed.
5TX_STATUS_RECVHOST_ERRORError receiving data from the host (acquirer).
6TX_STATUS_USERCANCELThe user has canceled the transaction.
7TX_STATUS_INTERNAL_ERRORInternal error.
8TX_STATUS_CONN_HOST_ERRORCould not connect to host (acquirer).
9TX_STATUS_SSL_HOST_ERRORCould not start SSL to host (acquirer).
10TX_STATUS_CARD_UNSUPPORTEDCard format is unknown.
11TX_STATUS_CARD_CHIP_ERRORChip has reported an error.
12TX_STATUS_CARD_EMV_DECLINECard has declined the transaction.
13TX_STATUS_CARD_EMV_APPROVEDCard has approved the transaction.
14TX_STATUS_CARD_EMV_GO_ONLINECard has requested the transaction to be online.
15TX_STATUS_CARD_EMV_APPROVED_OFFLINECard has approved the card offline.
16TX_STATUS_HAVE_PARTIAL_DATASyntax, semantic error or not full data in the request.
17APP_CONTEXT_TX_STATUS_REVERSAL_NOT_FOUNDReversal not found.
18APP_CONTEXT_TX_STATUS_REVERSAL_IS_FOUNDReversal is found (intermediate status).
19APP_CONTEXT_TX_STATUS_INVALID_REVERSAL_AMOUNTThe reversal amount is invalid (usually for partial reversal).
20APP_CONTEXT_TX_STATUS_NOT_SUPPORTEDThe command and the data are correct, but the terminal is configured to NOT support the requested functionality.
21TX_STATUS_CLEAREDThe transaction was cleared successfully.