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

Allow to pass system ID #172

Merged
merged 2 commits into from
Oct 26, 2024
Merged

Allow to pass system ID #172

merged 2 commits into from
Oct 26, 2024

Conversation

raphaelm
Copy link
Owner

@raphaelm raphaelm commented Oct 7, 2024

No description provided.

@FestplattenSchnitzel
Copy link

from fints.client import FinTS3PinTanClient

client = FinTS3PinTanClient(*client_args)
with client:
    client.get_tan_mechanisms
with client:
    if client.init_tan_response:
        challenge = client.init_tan_response
        print(challenge)
        tan = input("TAN: ")
        client.send_tan(challenge, tan)
system_id = client.system_id
client = FinTS3PinTanClient(*client_args, system_id=system_id)
bool(client.get_sepa_accounts())  # raises FinTSNoResponseError, see next lines
# Dialog response: 9050 - Die Nachricht enthält Fehler.
# Dialog response: 9075 - Banking-Programm nicht PSD2-fähig, bitte aktualisieren.
# FinTSNoResponseError: The bank's response did not contain a response to your request, please inspect debug log.
bool(client.get_sepa_accounts())  # True, returns accounts as requested

Bank is Ostsächsische Sparkasse Dresden. Am I doing something wrong?

@raphaelm
Copy link
Owner Author

raphaelm commented Oct 7, 2024

I don't know. My Sparkasse has not rolled out the behavior yet, so I can't test any of this

@raphaelm raphaelm merged commit 435fe18 into master Oct 26, 2024
0 of 4 checks passed
@raphaelm raphaelm deleted the sysid branch October 26, 2024 14:26
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

Successfully merging this pull request may close these issues.

2 participants