From 9e6b8841aa47d1bc6a5269458852876e8f17708a Mon Sep 17 00:00:00 2001 From: dankl Date: Sat, 26 Oct 2019 00:18:10 +0200 Subject: [PATCH] Fixed that selectedTanProcedure gets send / used --- fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt index 01d3aeea..5020d887 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -487,7 +487,7 @@ open class FinTsClient @JvmOverloads constructor( response.tanResponse?.let { tanResponse -> // TODO: is this true for all tan procedures? val enteredTan = callback.enterTan(TanChallenge(tanResponse.challenge ?: "", - tanResponse.challengeHHD_UC ?: "", CustomerData.TanProcedureNotSelected)) // TODO: retrieve tan procedure + tanResponse.challengeHHD_UC ?: "", customer.selectedTanProcedure)) if (enteredTan == null) { // i tried to send a HKTAN with cancelJob = true but then i saw there are no tan procedures that support cancellation (at least not at my bank)