![]() |
IDTech iOS SDK Guide
1.1.166.045
API reference for VP3300
|
#import <IDTechEMV.h>
Instance Methods | |
(void) | - confirmApplicationSelection:retry: |
(void) | - languagePreference: |
(void) | - emvTransactionData:errorCode:performReversal: |
(void) | - emvTransactionMessage: |
(void) | - swipeMSRDataEMV:emv: |
Receives card data from MSR swipe. | |
Protocol methods established for IDTechEMV class
|
optional |
Receives available applications to select from during and EMV transactions when terminal is set for cardholder confirmation or a decision must be made between multiple applications available for selection. Array index of selected app must be passed back to confirmApplication: (IDTechEMV) to continue the EMV transaction flow.
labelArray | Array of available application labels. Use this array item index to pass back to confirmApplication: (IDTechEMV) |
tryAgain | Flag to indicate requirement to display "Try Again" along with application selection. |
|
optional |
EMV Transaction Data
This protocol will receive results from IDT_Device::startEMVTransaction:otherAmount:timeout:cashback:additionalTags:()
emvData | EMV Results Data. Result code, card type, encryption type, masked tags, encrypted tags, unencrypted tags and KSN |
error | The error code as defined in the errors.h file |
reversal | If this flag is TRUE, this means the transaction was APPROVED online, but a TC was not returned by the kernel and the transaction was declined. In most cases, the online host needs to be contacted to reverse the approval. |
|
optional |
EMV Messages
During an EMV Transaction flow , this delegate with pass messages that to request further interaction, or post information
message | EMV Message Type- typedef enum{ MESSAGE_INSERT_CARD = 0, MESSAGE_REMOVE_CARD }EMV_MESSAGE_Types; |
|
optional |
Language Preference
After the kernal loads the Application, it will send back the Language Preference, tag 5F2D. This can be used to determine what language to use when displaying prompts and messages for the remainder of the transaction flow.
lang | 1-4 languages stored in order of preference, each represented by 2 alphabetical characters according to ISO 639. |