Using Christian's pointer to the copy-bankcode-only-if-it's-an-RTN,

Index: plugins/backends/aqofxconnect/plugin/context.c
===================================================================
--- plugins/backends/aqofxconnect/plugin/context.c      (revision 1016)
+++ plugins/backends/aqofxconnect/plugin/context.c      (working copy)
@@ -123,7 +123,10 @@
       strncpy(ctx->fi->org, s, OFX_ORG_LENGTH-1);
     s=AO_User_GetFid(ctx->user);
-    if (s)
+    if (s && isdigit(*s))
       strncpy(ctx->fi->fid, s, OFX_FID_LENGTH-1);
     s=AB_User_GetUserId(ctx->user);


will resolve my problems logging into the Vanguard ofx server.

This may be a single company fix, as _all_ the examples in the OFX spec docs show <FID> to be a number (their favorite is 1001). There are a few other institutions in the database that have non-numeric FID's, but the vast majority use either the RTN as an FID (in addition to using it as the bankId), or they use a 4-6 digit number. Vanguard adheres to the minimalist spec, which requires only <ORG> and does not require <FID>.

However, the spec itself says that <FID> is a character field with a maximum of 32 unicode characters.

The backend still stumbles in linking retrieved transactions to the appropriate account.

Dave
--
David Reiser
[EMAIL PROTECTED]



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Aqbanking-devel mailing list
Aqbanking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to