Getnet DocsGetnet Docs

Result Codes and Errors

This reference lists the status codes and error fields returned by the Get Mini 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 ActivityResult callback. This indicates whether the Get Mini activity finished its workflow.

Code ConstantValueDescription
RESULT_OK-1The Get Mini app completed the flow. This does not imply transaction authorization. Check the STATE 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 Mini application completed its workflow. You must check the STATE Intent extra to determine if the transaction was actually successful.

Reading the Outcome

RESULT_OK tells you the Get Mini app finished its flow, not that the payment went through. The outcome itself travels in two extras of the returned Intent:

Field NameTypeDescription
STATEStringResult code of the operation. On a declined operation it carries the denial code.
ERROR_MSGStringDescription of the error.

Read STATE first, and show ERROR_MSG when it is present — it explains the failure in terms the cardholder can act on.

For the full set of extras returned by each operation, see Response Parameters.