Result Codes and Errors
This reference lists the status codes and error fields returned by the Get Smart application. Use these values to determine the outcome of a transaction and diagnose processing errors.
Activity Result Codes
The Android system returns a standard
resultCode in the onActivityResult callback. This indicates whether the Get Smart activity finished its workflow.| Code Constant | Value | Description |
|---|---|---|
RESULT_OK | -1 | The Get Smart app completed the flow. This does not imply payment authorization. Check the RESULT extra to determine transaction outcome. |
RESULT_CANCELED | 0 | The user aborted the process or the app encountered a critical startup error. |
Important:RESULT_OKonly means the Get Smart application completed its workflow. You must check theRESULTIntent extra to determine if the payment was actually authorized.
Intent Response Fields
When the
resultCode is RESULT_OK, the following extras are available in the returned Intent. All field names are case-sensitive.| Field Name | Type | Description |
|---|---|---|
RESULT | String | Transaction outcome. Values: "AUTORIZADA" (success) or "DENEGADA" (denied). |
RESPCODE | int | Numeric code identifying the specific reason for authorization or denial. |
ERROR_MSG | String | Human-readable description of the error or denial reason. Present when transaction fails. |
ORDER | String | Unique order identifier assigned by Get Smart. Required for refund operations. |
AUTORIZATION_NUMBER | String | Authorization code provided by the issuer. Only present for successful transactions. Note the spelling (missing 'H'). |
IDENTIFIER_RTS | String | Unique transaction identifier assigned by the Get Smart system. |
CARDBRAND | String | Card network used for payment (e.g., VISA, MASTERCARD, AMEX). Present for successful transactions. |
For complete details on all response parameters, see Response Parameters.
RESPCODE Categories
The
RESPCODE integer provides the specific result from the payment gateway. While hundreds of codes exist, they are grouped into the following functional categories.| Code Range | Category | Description |
|---|---|---|
| 0000 to 0099 | Success | Transaction authorized successfully. Typically code 0 for approved transactions. |
| 0100 to 0199 | Denial | Generic denial by the issuer (e.g., insufficient funds, limit exceeded). |
| 0200 to 0299 | Card Issue | Issues with the physical card or security (e.g., expired card, blocked card, invalid card number). |
| 0900 to 0999 | System Error | Communication or configuration error between terminal and payment host. |
| 9000+ | Technical | Local errors within the Get Smart application logic or merchant configuration. |
Note: Specific RESPCODE values are defined by the payment gateway and may vary by acquirer and merchant configuration. Contact Get Smart support for detailed code mappings relevant to your implementation.
Common Error Messages
The
ERROR_MSG field provides context for denied or failed transactions. Common values include:| Message | Context |
|---|---|
| OPERACION CANCELADA | User pressed the cancel button on the terminal or in the payment interface. |
| ERROR LECTURA TARJETA | The chip or magnetic stripe could not be read by the terminal. |
| DENEGADA | The transaction was rejected by the banking host or issuer. |
| ERROR DE CONEXIÓN | The terminal cannot reach the Get Smart authorization servers. Network connectivity issue. |
| TARJETA NO SOPORTADA | The merchant account does not accept that specific card brand or card type. |
| TARJETA CADUCADA | Card has expired. Expiration date has passed. |
| SALDO INSUFICIENTE | Insufficient funds or credit limit exceeded. |
Tip: Always display theERROR_MSGvalue to users when a transaction fails. These messages are localized and provide clear guidance on the failure reason.
Related Resources
- Response Parameters Reference - Complete reference for all response fields
- Handle Transaction Results - Step-by-step guide for implementing response logic
- Request Parameters - Input parameters for transaction Intents
On this page
Result Codes and Errors