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.
information icon
Important: 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.

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 NameTypeDescription
RESULTStringTransaction outcome. Values: "AUTORIZADA" (success) or "DENEGADA" (denied).
RESPCODEintNumeric code identifying the specific reason for authorization or denial.
ERROR_MSGStringHuman-readable description of the error or denial reason. Present when transaction fails.
ORDERStringUnique order identifier assigned by Get Smart. Required for refund operations.
AUTORIZATION_NUMBERStringAuthorization code provided by the issuer. Only present for successful transactions. Note the spelling (missing 'H').
IDENTIFIER_RTSStringUnique transaction identifier assigned by the Get Smart system.
CARDBRANDStringCard 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 RangeCategoryDescription
0000 to 0099SuccessTransaction authorized successfully. Typically code 0 for approved transactions.
0100 to 0199DenialGeneric denial by the issuer (e.g., insufficient funds, limit exceeded).
0200 to 0299Card IssueIssues with the physical card or security (e.g., expired card, blocked card, invalid card number).
0900 to 0999System ErrorCommunication or configuration error between terminal and payment host.
9000+TechnicalLocal errors within the Get Smart application logic or merchant configuration.
information icon
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:
MessageContext
OPERACION CANCELADAUser pressed the cancel button on the terminal or in the payment interface.
ERROR LECTURA TARJETAThe chip or magnetic stripe could not be read by the terminal.
DENEGADAThe transaction was rejected by the banking host or issuer.
ERROR DE CONEXIÓNThe terminal cannot reach the Get Smart authorization servers. Network connectivity issue.
TARJETA NO SOPORTADAThe merchant account does not accept that specific card brand or card type.
TARJETA CADUCADACard has expired. Expiration date has passed.
SALDO INSUFICIENTEInsufficient funds or credit limit exceeded.
information icon
Tip: Always display the ERROR_MSG value to users when a transaction fails. These messages are localized and provide clear guidance on the failure reason.