Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Dialog does not appear #104

Open
NoteToSelfFindGoodNickname opened this issue Sep 10, 2022 · 6 comments
Open

Dialog does not appear #104

NoteToSelfFindGoodNickname opened this issue Sep 10, 2022 · 6 comments

Comments

@NoteToSelfFindGoodNickname
Copy link

NoteToSelfFindGoodNickname commented Sep 10, 2022

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.

@NoteToSelfFindGoodNickname NoteToSelfFindGoodNickname changed the title Kontostand abfragen throws System.ArgumentNullException Does BestSign (TAN method 920) work or else might be the error here? Sep 10, 2022
@NoteToSelfFindGoodNickname NoteToSelfFindGoodNickname changed the title Does BestSign (TAN method 920) work or else might be the error here? Dialog does not appear Sep 10, 2022
@NoteToSelfFindGoodNickname
Copy link
Author

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

@NoteToSelfFindGoodNickname
Copy link
Author

"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.

@torstenprivate
Copy link
Owner

torstenprivate commented Oct 17, 2022 via email

@torstenprivate
Copy link
Owner

torstenprivate commented Oct 17, 2022 via email

@NoteToSelfFindGoodNickname
Copy link
Author

Yes, the entire dialog is not showing.
However, I can currently not send you the full log yet because I have re-downloaded the project and try to solve the picturebox problem first. Once that is done, I will gladly send the log.

@torstenprivate
Copy link
Owner

torstenprivate commented Nov 28, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants