gnucash maint: Online-banking: add value for fintsRegistrationKey with most recent aqbanking.

Christian Stimming cstim at code.gnucash.org
Sun Jul 7 16:39:22 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/39cfcb30 (commit)
	from  https://github.com/Gnucash/gnucash/commit/adbf8afe (commit)



commit 39cfcb30f939ca3c413350c8262ceea69085fb6b
Author: Christian Stimming <christian at cstimming.de>
Date:   Sun Jul 7 22:39:09 2019 +0200

    Online-banking: add value for fintsRegistrationKey with most recent aqbanking.

diff --git a/gnucash/import-export/aqb/gnc-ab-utils.c b/gnucash/import-export/aqb/gnc-ab-utils.c
index 9d7bee153..02a1ba745 100644
--- a/gnucash/import-export/aqb/gnc-ab-utils.c
+++ b/gnucash/import-export/aqb/gnc-ab-utils.c
@@ -159,6 +159,17 @@ gnc_AB_BANKING_new(void)
         api = AB_Banking_new("gnucash", NULL, 0);
         g_return_val_if_fail(api, NULL);
 
+#if AQBANKING_VERSION_INT >= 59925
+        /* These two values must be set because newest bank regulation requires
+        the bank servers to require it. The string itself results from our
+        registration with the German bank association at
+        https://www.hbci-zka.de/register/prod_register.htm (where the
+        registration was requested and is managed by cstim). The function call was
+        introduced in aqbanking-5.99.25. */
+        AB_Banking_RuntimeConfig_SetCharValue(api, "fintsRegistrationKey", "412748A1836CDD07181CE1910");
+        AB_Banking_RuntimeConfig_SetCharValue(api, "fintsApplicationVersionString", PACKAGE_VERSION);
+#endif
+
 #ifndef AQBANKING6
         /* Check for config migration */
         if (AB_Banking_HasConf4(api) != 0)



Summary of changes:
 gnucash/import-export/aqb/gnc-ab-utils.c | 11 +++++++++++
 1 file changed, 11 insertions(+)



More information about the gnucash-changes mailing list