Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetSepaAccounts with DKB / pushTan #416

Open
valoricDe opened this issue Nov 14, 2023 · 3 comments
Open

GetSepaAccounts with DKB / pushTan #416

valoricDe opened this issue Nov 14, 2023 · 3 comments

Comments

@valoricDe
Copy link

valoricDe commented Nov 14, 2023

Hello there.
I am coming from the javascript side (https://github.com/Prior99/fints)
But DKB doesn't like the tan response message. (9912 Initialisierung fehlt)

So I thought I try this library instead. I used the tanModesAndMedia example. Works like a charm.

So I tried the accounts.php script from docker environment from the shell.
It sends a tan to my tan to go app. But when I login into the app it shows me the error code 9907.
I haven't found this number in the specs. Any idea what could be wrong?

https://gist.github.com/valoricDe/a03a8795964c96be4b76b7fa235b360b

@Philipp91
Copy link
Contributor

Does the same TAN2Go app work in other contexts? IIRC, DKB uses that app only very rarely nowadays, because typically they just have you confirm your actions in the main DKB app. So it's conceivable that you haven't used the TAN2Go app at all in a while and it broke due to this.

Are the other TanModes or media that you could select through the phpFinTs APIs?

I assume the error 9907 is displayed by the app and not returned through the FinTS API, as I don't see it in your log/gist. That would explain why it's not in the spec -- it's a DKB-specific error code and you would have to ask their support what's going on. Perhaps you could plug in your phone (assuming it's Android) and run Logcat to see a more detailed error message from the DKB app that could give some clues as to what's going on.

@valoricDe
Copy link
Author

Yes DKB only uses the Tan2Go app as a fallback, so often you only need it for transfers. But you can login into the account with Tan2Go and I just tested, it works. It is the only method given by the tanModes sample: [921] => TAN2go.

I am already in contact with the support. But let's see if they are technical. Do you know if there is already some special DKB handling in this library implemented?

@Philipp91
Copy link
Contributor

I don't recall special DKB handling. FWIW, I've been using this library with DKB for years and it works, including the quarterly TAN re-entry.

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

No branches or pull requests

2 participants