[GNC-dev] New OFX Requirements For USAA FSB
Bob White
white.b at me.com
Wed Feb 10 19:48:07 EST 2021
Martin,
Bob,
Am 10.02.21 um 04:09 schrieb Bob White via gnucash-devel:
[...]
With further curl testing I have discovered that the NEWFILEUID apparently now requires an actual UUID or the value NONE. You can see my working examples in my previous post to the list.
[...]
Thanks, I changed it to "NONE" in current GIT.
I pulled the latest (on master) but didn't see any commits beyond the uuid fix.
I made the following changes, ran 'make && make install', but don't see the NONE reflected in aqbanking-cli requests (they still have time-base NEWFILEUID):
diff --git a/src/libs/plugins/backends/aqofxconnect/v1/n_header.c b/src/libs/plugins/backends/aqofxconnect/v1/n_header.c
index aa933df..f335a20 100644
--- a/src/libs/plugins/backends/aqofxconnect/v1/n_header.c
+++ b/src/libs/plugins/backends/aqofxconnect/v1/n_header.c
@@ -58,10 +58,11 @@ int AO_V1_AddOfxHeaders(AB_PROVIDER *pro, AB_USER *u, GWEN_BUFFER *buf, const ch
GWEN_Buffer_AppendString(buf,
"CHARSET:1252\r\n"
"COMPRESSION:NONE\r\n"
- "OLDFILEUID:NONE\r\n");
- GWEN_Buffer_AppendString(buf, "NEWFILEUID:");
- GWEN_Time_toString(ti, "YYYYMMDDhhmmss.000", buf);
- GWEN_Buffer_AppendString(buf, "\r\n");
+ "OLDFILEUID:NONE\r\n"
+ "NEWFILEUID:NONE\r\n");
+ // GWEN_Buffer_AppendString(buf, "NEWFILEUID:");
+ // GWEN_Time_toString(ti, "YYYYMMDDhhmmss.000", buf);
+ // GWEN_Buffer_AppendString(buf, "\r\n");
/* header finished */
GWEN_Buffer_AppendString(buf, "\r\n");
Am I assuming the make process is more thorough than it is or am I missing something else? I would love to be able to get a successful download with aqbanking-cli to demonstrate we've isolated all the issues with the new OFX interface at USAA.
Regards,
Bob
More information about the gnucash-devel
mailing list