YocoResponseCode

Response code for all transactions - failed and succeeded. These are bit flags and are combined depending on the range of errors present in the request. The bit values are shown in brackets below.

Values

Value

Notes

YCResponseSuccess

Transaction succeeded (1)

YCResponseFailed

Transaction failed (check receipt info for details) (2)

YCResponseMissingParameter

Payment request was missing a required parameter (4)

YCResponseParserError

Amount to be paid could not be parsed (8)

YCResponseInvalidToken

The supplied API token is invalid (16)

YCResponseInvalidSecret

The supplied app secret is invalid (32)

YCResponseInvalidCurrency

The supplied currency is not yet supported (only ZAR) (64)

YCResponseError

Generic error (please see the message field for details) (128)