-
Notifications
You must be signed in to change notification settings - Fork 81
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
Sparkasse Bochum always requires a TAN #174
Comments
Likely same as #165, I can only help debugging once my Sparkasse rolled it out too |
Please try again with python-fints 4.2.0 and storing the system ID and passing it to the next run: If the issue persists, feel free to reopen. |
Thanks! The system ID argument feature works as intended. |
@e7p Would you kindly elaborate on your usage of the system ID in more detail? I obtained my system ID like this:
The system ID is a string with 30 characters. After confirmation, I assumed that my python application would show up in the Sparkasse settings interface ("Geräteverwaltung"). This was not the case. I now passed the 30-char system_id to FinTS3PinTanClient and tried to access the balance of the first account:
This fails with the following output:
Did I forget something? Thank you very much for having a look at my code. |
@lutuh I use it with https://github.com/pretix/pretix-banktool There I also simply added a I assume it could have something to do with your bank? They all handle stuff a bit differently, so probably @raphaelm can help if you could name the bank. |
@lutuh I had the same issue with Sparkasse Ahrweiler. Try this - in my case it works:
|
I also found a small bug in the release that I fixed today with a new release, not sure if it's related |
@FabKn @raphaelm Thank you very much for your help and input. Using 4.2.3 with the approach that @FabKn mentioned, I got the access working again. It is really strange that even once the @raphaelm I guess this approach is specific to Sparkassen. But since they are quite popular, would you mind a PR for the documentation where I extend the https://python-fints.readthedocs.io/en/latest/tans.html#system-ids section with the code from @FabKn ? |
Since some time now, Sparkasse Bochum always requests a TAN, eventhough with other FinTS applications (such as hibiscus) this happens only every three months. I expect python-fints to show similar behavior, especially when it is only used to passively fetch transactions. My humble guess is that the very first message decides whether a TAN is required subsequentally or not, especially the session ID. See the first output of the test script in the attached log file python_fints.log (I replaced sensitive data with "REDACTED"). This includes everything before the TAN request.
As a comparison, here is the first message of Hibiscus connecting to the same account, which already differs a lot, so I feel very lost having no knowledge about this complicated FinTS standard:
And the first response of the server, cut before the UPD update, clearly stating "Starke Kundenauthentifizierung nicht notwendig.". This message does not arrive with python-fints:
The text was updated successfully, but these errors were encountered: