From 36598908ed68047173995115507a43330775f0c1 Mon Sep 17 00:00:00 2001 From: "T.Elias" Date: Thu, 14 Dec 2023 15:29:03 +0100 Subject: [PATCH] fixed IssuerApplicationData for Format Code 'A' do not match if iad is lowercase --- jpos/src/main/java/org/jpos/emv/IssuerApplicationData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jpos/src/main/java/org/jpos/emv/IssuerApplicationData.java b/jpos/src/main/java/org/jpos/emv/IssuerApplicationData.java index 7148d09cf2..c25f9d2fc3 100644 --- a/jpos/src/main/java/org/jpos/emv/IssuerApplicationData.java +++ b/jpos/src/main/java/org/jpos/emv/IssuerApplicationData.java @@ -57,7 +57,7 @@ public IssuerApplicationData(String hexIAD) { Objects.requireNonNull(hexIAD, "IAD data cannot be null."); - iad = hexIAD.trim(); + iad = hexIAD.trim().toUpperCase(); if (iad.length() < 14) throw new IllegalArgumentException("Invalid IAD length.");