erpnextfints
erpnextfints copied to clipboard
Notes on TAN handling
TAN handling is not implemented yet. Here are some notes how it could be built.
- When a TAN is required, the state of the
FinTS3PinTanClient
needs to be stored on the server / database (for example, in the FinTS Login doctype). - We send a note to the frontend saying that a TAN is required (
frappe.publish_realtime('tan_response_needed')
) - The frontend asks the user for the TAN (
frappe.prompt()
). - The frontend sends the TAN to a whitelisted method in the backend.
- The backend method restores the previous state and sends the TAN to the bank.
Relevant Docs:
I will dig into it when I have time. PR's into develop are welcome
Unfortunately i looked my online banking and cannot proceed with programing. Waiting for reactivation. PR's into develop are welcome.