Integrations
This part contains the changes required to adapt the application written for 400TR and 1000TR to x30 in the most accurate and minimum effort way.
Last updated
This part contains the changes required to adapt the application written for 400TR and 1000TR to x30 in the most accurate and minimum effort way.
Last updated
Libs
For 330TR add the libs below.
330TR:
Ui Components
Note: Add to app/build.gradle for x30 ui components
400TR: new CtKMS2System().checkKey(VersionParams.keyset, 0);
330TR: kms.checkKeyExist(VersionParams.tpk);
Service Binding:
v19.6 is deprecated. v20.0 contains major changes that will lock the main thread while printing long content. Please test it with long print content before using it.
String config:
Note: The following fields are mandatory to be added for x30 integration.
getOnlinePIN: Must sent during the getCard Operation for ICC transactions.
kmsVersion :
1 : Deprecated: Compatible with 400TR and 1000TR Castles-based systems.
2 : new KMS library, compatible with all devices.
keyIndex : keyIndex value of the PIN key
keySet : allocated keySet value of the bank. Only set for kmsVersion 1. Not needed for kmsVersion 2.
keyIndex : keyIndex value of the PIN key.
Note: getOnlinePINEx API use to get Encrypted PIN with kmsVersion 2, and As kmsVersion 1 has been deprecated, please use getOnlinePINEx.
getOnlinePINEx(String config) API Details
kmsVersion : Send 2 for new KMS
keyIndex : keyIndex value of the PIN key.
All ICC transactions must be completed in 330TR. The card read process is not completed until completeEmvTxn is called. Other than requested actions by API, ICC transactions can be completed as follows:
Note: 5F2A field mandatory to be added for x30 integration.
Note: The setEMVConfiguration should be called first and followed by the setEMVCLConfiguration.
You need to edit your configurations in 330TR unlike 400/1000TR because its version is more than Android 11. Therefore you need to open Edit Configurations and then select "Always install with package manager". If you don't select that configuration, your latest changes won't work on your 330TR device.