Getnet DocsGetnet Docs

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 ConstantValueDescription
RESULT_OK-1The Get Smart app completed the flow. This does not imply payment authorization. Check the RESULT extra to determine transaction outcome.
RESULT_CANCELED0The 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 NameTypeDescription
RESULTStringTransaction outcome. Values: "AUTORIZADA" or "DENEGADA".
ERROR_MSGStringDescription 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.