13.7 IDT_NEO2 Class Reference
99
By default, auto authorize is ENABLED. If auto authorize is DISABLED, this function must be called after a result
EMV_RESULT_CODE_START_TRANSACTION_SUCCESS returned to emvTransactionData delegate protocol is
received after a startTransaction call. If auto authorize is ENABLED (default), this method will automatically be exe-
cuted after receiving the result EMV_RESULT_CODE_START_TRANSACTION_SUCCESS after startTransaction.
The auto authorize can be enabled/disabled with IDT_DEVICE::disableAutoAuthenticateTransaction:()
The purpose of this step is to allow the merchant the chance to evaluate the data captured from the matching Ap-
plication (if found) before the kernel authenticates the transaction data. This would allow, for instance, the merchant
to be told what card is being used, and if it is a specific type (like a store card), perform an action like reducing the
amount before proceeding (as a promotion in using that card).
Parameters
tags
Any tags to modify original tags submitted with startTransaction. Passed as NSData. Example, tag
9F0C with amount 0x000000000100 would be 0x9F0C06000000000100 Tag DFEE1A can be used to
specify tags to be returned in response, in addition to the default tags. Example DFEE1A049F029F03
will return tags 9F02 and 9F03 with the response
Returns
RETURN_CODE:
• 0x0000: Success: no error - RETURN_CODE_DO_SUCCESS
• 0x0001: Disconnect: no response from reader - RETURN_CODE_ERR_DISCONNECT
• 0x0002: Invalid Response: invalid response data - RETURN_CODE_ERR_CMD_RESPONSE
• 0x0003: Timeout: time out for task or CMD - RETURN_CODE_ERR_TIMEDOUT
• 0x0004: Invalid Parameter: wrong parameter - RETURN_CODE_ERR_INVALID_PARAMETER
• 0x0005: MSR Busy: SDK is doing MSR or ICC task - RETURN_CODE_SDK_BUSY_MSR
• 0x0006: PINPad Busy: SDK is doing PINPad task - RETURN_CODE_SDK_BUSY_PINPAD
• 0x0007: Unknown: Unknown error - RETURN_CODE_ERR_OTHER
• 0x0100 through 0xFFFF refer to IDT_Device::getResponseCodeString:()
13.7.2.40
- (RETURN_CODE) emv_callbackResponseLCD: (int)
mode
selection:(unsigned char)
selection
Callback Response LCD Display
Provides menu selection responses to the kernel after a callback was received lcdDisplay delegate.
Parameters
mode
The choices are as follows
• 0x00 Cancel
• 0x01 Menu Display
• 0x02 Normal Display get Function Key supply either 0x43 ('C') for Cancel, or 0x45 ('E') for
Enter/accept
• 0x08 Language Menu Display
selection
Line number in hex (0x01, 0x02), or 'C'/'E' of function key
IDTech iOS SDK Guide for NEO2 #80152802-001