libfintx icon indicating copy to clipboard operation
libfintx copied to clipboard

Dialog does not appear

Open NoteToSelfFindGoodNickname opened this issue 1 year ago • 6 comments

Hello!

I am just starting to use this solution.

I using TAN method 920 which is fingerprint via BestSign app.

I have set libfintx.Sample.UI as the start project and started it. I filled all info that I had (please see attached screenshot). Then I clicked "Synchronisation". This returns:

Code: 1040 | Typ: Info | Nachricht: BPD nicht mehr aktuell. Aktuelle Version folgt. Code: 3920 | Typ: Warning | Nachricht: Meldung unterstützter Ein- und Zwei-Schritt-Verfahren:920:930 Code: 0020 | Typ: Success | Nachricht: Auftrag ausgeführt.

Then I click "Kontostand abfragen".

VS throws an error there:

    public static AccountInformation GetAccountInformations(string accountnumber, string bankcode)
    {
        return AccountList.FirstOrDefault(a => a.AccountNumber == accountnumber && a.AccountBankCode == bankcode);
    }

err2

What could I be missing?

Thank you!

err1

Edit: I have dug a bit deeper, and I am surprised what is happening here:

    private async Task<bool> InitTANMedium(FinTsClient client)
    {
        // TAN-Medium-Name
        var accounts = await client.Accounts(CreateTANDialog(client));

I have selected "TAN-Verfahren" "920" which is "BestSign".

From what I understand in the CreateTANDialog() is that it does something with a picturebox and waits for a user input.

However, if I use BestSign, I expect my mobile phone to display a message in the BestSign app which asks me to use my fingerprint to indentify.

So I wonder was goes wrong here.

Thank you!

Edit 2:

I stepped through the code, and at one point I see the message "9210: Name des TAN-Medium erforderlich". This means that the name of the TAN medium is required. However, I have entered it in textbox. I wonder if it's perhaps not used and that is what goes wrong?

At least, it doesn't show any dialog for me, and I don't see why.

I think the compiler condition WINDOWS is ignored. I will check it out.

"WINDOWS" is defined in libfinx.Sample.UI, but not in libfintx.FinTS.

I changed that now, but it doesn't make a different. It still doesn't show the dialog.

I am wondering about 9211 Error -> Ungültiger Wertbereich.

Can you send me your full log please?

Am Sa., 10. Sept. 2022 um 17:20 Uhr schrieb T2021 @.***

:

Hello!

I am just starting to use this solution. I have set libfintx.Sample.UI as the start project and started it. I filled all info that I had (please see attached screenshot). Then I clicked "Synchronisation". This returns:

Code: 1040 | Typ: Info | Nachricht: BPD nicht mehr aktuell. Aktuelle Version folgt. Code: 3920 | Typ: Warning | Nachricht: Meldung unterstützter Ein- und Zwei-Schritt-Verfahren:920:930 Code: 0020 | Typ: Success | Nachricht: Auftrag ausgeführt.

Then I click "Kontostand abfragen".

VS throws an error there:

public static AccountInformation GetAccountInformations(string accountnumber, string bankcode)

{

    return AccountList.FirstOrDefault(a => a.AccountNumber == accountnumber && a.AccountBankCode == bankcode);

}

[image: err2] https://user-images.githubusercontent.com/29504639/189489928-20acb1a9-953a-4485-b66b-06e49eb411be.png

What could I be missing?

Thank you!

[image: err1] https://user-images.githubusercontent.com/29504639/189489939-4c985871-4e28-4868-a99e-42f4a4d6c080.png

— Reply to this email directly, view it on GitHub https://github.com/iamtorsten/libfintx/issues/104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXRYPUFK6RPVXH3RTCT563V5SRLFANCNFSM6AAAAAAQJL6YB4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

torstenprivate avatar Oct 17 '22 09:10 torstenprivate

What is not showing? The whole dialog?

Am Sa., 10. Sept. 2022 um 22:19 Uhr schrieb T2021 @.***

:

"WINDOWS" is defined in libfinx.Sample.UI, but not in libfintx.FinTS.

I changed that now, but it doesn't make a different. It still doesn't show the dialog.

— Reply to this email directly, view it on GitHub https://github.com/iamtorsten/libfintx/issues/104#issuecomment-1242799139, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXRYPS7YTPMUZW3DE5LG5DV5TUNXANCNFSM6AAAAAAQJL6YB4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

torstenprivate avatar Oct 17 '22 09:10 torstenprivate