erpnextfints icon indicating copy to clipboard operation
erpnextfints copied to clipboard

Notes on TAN handling

Open barredterra opened this issue 4 years ago • 2 comments

TAN handling is not implemented yet. Here are some notes how it could be built.

  1. 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).
  2. We send a note to the frontend saying that a TAN is required (frappe.publish_realtime('tan_response_needed'))
  3. The frontend asks the user for the TAN (frappe.prompt()).
  4. The frontend sends the TAN to a whitelisted method in the backend.
  5. The backend method restores the previous state and sends the TAN to the bank.

Relevant Docs:

barredterra avatar Dec 29 '20 17:12 barredterra

I will dig into it when I have time. PR's into develop are welcome

jHetzer avatar Dec 31 '20 15:12 jHetzer

Unfortunately i looked my online banking and cannot proceed with programing. Waiting for reactivation. PR's into develop are welcome.

jHetzer avatar Jan 16 '21 07:01 jHetzer