14.2 IDTechSDK.IDT_KioskIII Class Reference
57
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
14.2.2.18
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_setTerminalData ( byte[ ]
tlv
)
Set Terminal Data
Sets the Terminal Data for CTLS as specified by the TLV. The first TLV must be Configuration Group Number (Tag
FFE4). The terminal global data is group 0, so the first TLV would be FFE40100. Other groups can be defined using
this method (1 or greater), and those can be retrieved with emv_getConfigurationGroup(int group), and deleted with
emv_removeConfigurationGroup(int group). You cannot delete group 0.
Parameters
tlv
TerminalData configuration data
Return values
RETURN_CODE
Return codes listed as typedef enum in IDTCommon:RETURN_CODE. Values can be
parsed with IDT_BTPay::device_getResponseCodeString:()
14.2.2.19
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_startTransaction ( double
amount,
double
amtOther,
int
exponent,
int
type,
int
timeout,
byte[ ]
tags
)
Start CTLS Transaction Request
The tags will be returned in the callback routine.
Parameters
amount
Transaction amount value (tag value 9F02)
amtOther
Other amount value, if any (tag value 9F03)
type
Transaction type (tag value 9C).
timeout
Timeout value in seconds.
tags
Any other tags to be included in the request. Passed as TLV data. Example, tag 9F02 with amount
0x000000000100 would be 0x9F0206000000000100 If tags 9F02 (amount),9F03 (other amount),
or 9C (transaction type) are included, they will take priority over these values supplied as individual
parameters to this method.
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
NOTE ON APPLEPAY VAS: To enable ApplePay VAS, first a merchant record must be defined in one of the six
available index positions (1-6) using device_setMerchantRecord, then container tag FFEE06 must be sent as part
of the additional tags parameter of ctls_startTransaction. Tag FFEE06 must contain tag 9F26 and 9F22, and can op-
tionanally contain tags 9F2B and DFO1. Example FFEE06189F220201009F2604000000009F2B050100000000
←
-
DF010101 9F22 = two bytes = ApplePay Terminal Applicaiton Version Number. Hard defined as 0100 for now.
(required) 9F26 = four bytes = ApplePay Terminal Capabilities Information (required)
• Byte 1 = RFU
• Byte 2 = Terminal Type
IDTech Windows SDK Guide for Kiosk III/IV #80136501-001