From 3072517eef641e03f05f20c6114c6eb1b79ead15 Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 24 May 2020 22:26:48 +0200 Subject: [PATCH] Fixed that for ChipTan manuell and USB there's no flicker code to decode --- .../src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt index fc784706..5fb29e48 100644 --- a/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/main/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -739,7 +739,7 @@ open class FinTsClient @JvmOverloads constructor( val tanProcedure = customer.selectedTanProcedure return when (tanProcedure.type) { - TanProcedureType.ChipTanFlickercode, TanProcedureType.ChipTanManuell, TanProcedureType.ChipTanUsb -> + TanProcedureType.ChipTanFlickercode -> FlickerCodeTanChallenge(FlickerCodeDecoder().decodeChallenge(challenge, tanProcedure.hhdVersion ?: HHDVersion.HHD_1_4), // HHD 1.4 is currently the most used version messageToShowToUser, challenge, tanProcedure, tanResponse.tanMediaIdentifier)