Fixed that selectedTanProcedure gets send / used

This commit is contained in:
dankl 2019-10-26 00:18:10 +02:00 committed by dankito
parent 30baacb54c
commit 9e6b8841aa
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ open class FinTsClient @JvmOverloads constructor(
response.tanResponse?.let { tanResponse -> response.tanResponse?.let { tanResponse ->
// TODO: is this true for all tan procedures? // TODO: is this true for all tan procedures?
val enteredTan = callback.enterTan(TanChallenge(tanResponse.challenge ?: "", val enteredTan = callback.enterTan(TanChallenge(tanResponse.challenge ?: "",
tanResponse.challengeHHD_UC ?: "", CustomerData.TanProcedureNotSelected)) // TODO: retrieve tan procedure tanResponse.challengeHHD_UC ?: "", customer.selectedTanProcedure))
if (enteredTan == null) { 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) // 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)