Merge branch 'new_history' of https://hub.utsmyanmar.com/Kyaw_Min_Khant/KBZ-POS into new_history
This commit is contained in:
commit
66680c0baf
@ -1215,11 +1215,11 @@ public abstract class EmvBaseViewModel extends BaseViewModel {
|
||||
emvHandler.setTlv(new byte[]{(byte) 0xDF, (byte) 0x81, (byte) 0x1B}, new byte[]{(byte) 0x30});
|
||||
|
||||
//EMV MODE :amount >contactless cvm limit, set 60 = online pin and signature , set 20 = signature
|
||||
emvHandler.setTlv(new byte[]{(byte) 0xDF, (byte) 0x81, (byte) 0x18}, new byte[]{(byte) 0xF0});
|
||||
emvHandler.setTlv(new byte[]{(byte) 0xDF, (byte) 0x81, (byte) 0x18}, new byte[]{(byte) 0xF0}); //F8
|
||||
//EMV mode :amount < contactless cvm limit, set 08 = no cvm
|
||||
emvHandler.setTlv(new byte[]{(byte) 0xDF, (byte) 0x81, (byte) 0x19}, new byte[]{(byte) 0x08}); //08
|
||||
|
||||
emvHandler.setTlv(new byte[]{(byte) 0xDF, (byte) 0x81, (byte) 0x25}, ByteUtils.hexString2ByteArray("000999999999"));
|
||||
emvHandler.setTlv(new byte[]{(byte) 0xDF, (byte) 0x81, (byte) 0x25}, ByteUtils.hexString2ByteArray("999999999999"));
|
||||
|
||||
if (ByteUtils.byteArray2HexString(aid).toUpperCase().contains("A0000000043060")) {
|
||||
Log.d("nexgo", "======maestro===== ");
|
||||
|
||||
@ -434,6 +434,7 @@ public class TransactionsOperation {
|
||||
} else {
|
||||
boolean equals = TextUtils.equals(resultStr, Constant.ANSWER_CODE_ACCEPT) || TextUtils.equals(resultStr, Constant.ANSWER_CODE_APPROVED);
|
||||
EmvOnlineResultEntity emvOnlineResult = new EmvOnlineResultEntity();
|
||||
emvOnlineResult.setRejCode("00");
|
||||
// MsgField field38,field39,field55;
|
||||
// if (resp != null) {
|
||||
// field38 = resp.get("F038");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user