Skip to content

Conversation

@lemoer
Copy link
Contributor

@lemoer lemoer commented Feb 9, 2025

With this pull request, two additions are made:

  • The product_id is added to the example.
  • The example now covers that (at least some) banks require an initial tan (code taken from docs/trouble.rst).

Before this commit, the example suggested that we should only ask for
a TAN after calling client.get_transactions(). This did not work (at least
for my bank Sparkasse Hannover). Now with this commit, the example is
proposing to ask for a TAN already in the beginning, as also suggested
in docs/trouble.rst.

Another side effect of this commit is that ask_for_tan() now also checks
for response.decoupled and presents a more reasonable string for input()
in the case of PushTAN.
@raphaelm raphaelm merged commit 87106bb into raphaelm:master Feb 10, 2025
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