Skip to content

Commit

Permalink
Fix: FinTS Import KSK
Browse files Browse the repository at this point in the history
The used line was a leftover when the PSD2 issue stated. VOBA and KSK
seem to work.
  • Loading branch information
jHetzer committed Dec 6, 2019
1 parent a924f05 commit 5929e5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions erpnextfints/utils/fints_wrapper.py
Expand Up @@ -33,14 +33,13 @@ def __init_fints_connection(self):
self.fints_login.fints_url,
mode=FinTSClientMode.INTERACTIVE
)
self.fints_connection.set_tan_mechanism('942')
#self.fints_connection.set_tan_mechanism('942')
except Exception as e:
frappe.throw("Could not conntect to fints server with error<br>{0}".format(e))
def get_fints_connection(self):
return self.fints_connection

def get_fints_accounts(self):

frappe.publish_realtime("fints_login_progress", {"progress": "70",
"fints_login": self.name,"message": "Load accounts", "reload": False}, user=frappe.session.user)
if not hasattr(self, 'fints_accounts'):
Expand Down

1 comment on commit 5929e5e

@jHetzer
Copy link
Owner Author

@jHetzer jHetzer commented on 5929e5e Dec 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure to uninstall FinTS before updating by running:

env/bin/pip uninstall fints

most likely form /home/frappe/frappe-bench

The FinTS PSD2 branch did not increase the version number so pip is unable to detect which branch is installed and if it should update the package.

Please sign in to comment.