Transaction Status
Below is a list of transaction status codes returned by the terminal, along with their meaning and description:
| Code | Token | Description |
|---|---|---|
| 0 | TX_STATUS_NONE | N/A |
| 1 | TX_STATUS_HAVE_DATA | Received request from the caller. Data is correct. |
| 2 | TX_STATUS_SENT2HOST | The authorization is sent to host (acquirer). |
| 3 | TX_STATUS_RECVHOST | Response from the host is received. |
| 4 | TX_STATUS_NOCARD | No card was presented to the terminal and the timeout elapsed. |
| 5 | TX_STATUS_RECVHOST_ERROR | Error receiving data from the host (acquirer). |
| 6 | TX_STATUS_USERCANCEL | The user has canceled the transaction. |
| 7 | TX_STATUS_INTERNAL_ERROR | Internal error. |
| 8 | TX_STATUS_CONN_HOST_ERROR | Could not connect to host (acquirer). |
| 9 | TX_STATUS_SSL_HOST_ERROR | Could not start SSL to host (acquirer). |
| 10 | TX_STATUS_CARD_UNSUPPORTED | Card format is unknown. |
| 11 | TX_STATUS_CARD_CHIP_ERROR | Chip has reported an error. |
| 12 | TX_STATUS_CARD_EMV_DECLINE | Card has declined the transaction. |
| 13 | TX_STATUS_CARD_EMV_APPROVED | Card has approved the transaction. |
| 14 | TX_STATUS_CARD_EMV_GO_ONLINE | Card has requested the transaction to be online. |
| 15 | TX_STATUS_CARD_EMV_APPROVED_OFFLINE | Card has approved the card offline. |
| 16 | TX_STATUS_HAVE_PARTIAL_DATA | Syntax, semantic error or not full data in the request. |
| 17 | APP_CONTEXT_TX_STATUS_REVERSAL_NOT_FOUND | Reversal not found. |
| 18 | APP_CONTEXT_TX_STATUS_REVERSAL_IS_FOUND | Reversal is found (intermediate status). |
| 19 | APP_CONTEXT_TX_STATUS_INVALID_REVERSAL_AMOUNT | The reversal amount is invalid (usually for partial reversal). |
| 20 | APP_CONTEXT_TX_STATUS_NOT_SUPPORTED | The command and the data are correct, but the terminal is configured to NOT support the requested functionality. |
| 21 | TX_STATUS_CLEARED | The transaction was cleared successfully. |