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. |
RESULT_OK only means the Get Smart application completed its workflow. You must check the RESULT Intent extra to determine if the payment was actually authorized.
Reading the Outcome
RESULT_OK tells you the Get Smart app finished its flow. The outcome itself travels in
two extras of the returned Intent:
| Field Name | Type | Description |
|---|---|---|
RESULT | String | Transaction outcome. Values: "AUTORIZADA" or "DENEGADA". |
ERROR_MSG | String | Description of the error. |
Read RESULT first, and show ERROR_MSG when it is present. On a declined operation,
RESPCODE carries the denial code.
For the full set of extras returned by the app, see Response Parameters.
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