Skip to content

Commit

Permalink
fixed IssuerApplicationData for Format Code 'A' do not match if iad i…
Browse files Browse the repository at this point in the history
…s lowercase
  • Loading branch information
T-eli committed Dec 14, 2023
1 parent 9003ff1 commit 3659890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpos/src/main/java/org/jpos/emv/IssuerApplicationData.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 3659890

Please sign in to comment.