Code Monkey home page Code Monkey logo

Comments (12)

aclindsa avatar aclindsa commented on August 21, 2024 2

No worries - life happens.

Thanks for the reply - my opinion is that we shouldn't let lack of an authoritative source stop us from moving forward (though I can still hope for one!).

from ofxgo.

aclindsa avatar aclindsa commented on August 21, 2024 1

That's directly from USAA, I'm pretty sure.

Ah, okay. The name "OFXAdapter" made me think you might be using something in the middle to try to make it behave.

I'd welcome a PR for this. My initial thoughts are that it would require both a change to the XML library (see https://github.com/aclindsa/xml/blob/207ec7fb74201d07016cbd7064cb6331dde91eba/marshal.go#L962) and where ofxgo writes the SGML header: https://github.com/aclindsa/xml/blob/207ec7fb74201d07016cbd7064cb6331dde91eba/marshal.go#L962. There may be a few other places sprinkled around that I haven't discovered yet that you'll find during testing!

I think ideally which line ending to use would be a runtime-configurable parameter, and not a hard-coded thing (in both the xml and ofxgo libraries).

from ofxgo.

aclindsa avatar aclindsa commented on August 21, 2024 1

@JohnStarich Well-deserved pokes, to be sure. Sorry about the delay - unfortunately you lost the latency lottery and sent these when I'm busier than I've been in a while. I have not forgotten about them, though, and hope to review them this week!

from ofxgo.

aclindsa avatar aclindsa commented on August 21, 2024

I think I'm okay with this in principle (though I'd like to do a little sanity check of my own that a few common banks continue to work after the change).

Is the "OFXAdapter: Failed to parse request..." message you're getting a straight response from USAA, or are you using some other piece of software to intermediate?

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

Ok cool. Yeah, makes sense! 2 of my credit cards and both of my USAA accounts all work, if that helps πŸ‘ Probably needs some more testing than just my accounts, but I don't have very many to try, unfortunately πŸ˜…

That's directly from USAA, I'm pretty sure. That line appears above the OFX headers but after the HTTP headers in the raw response. (I had a similar, but different message when I passed closing tags in my other issue #18)

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

Sounds good πŸ‘ thanks for the tips!
I like the config parameter idea. It seems like \r\n line-endings are compatible with more institutions, so I think it would make a good default value, then this parameter could let you switch to unix line-endings if necessary?

I'll be out of town next week, but I'll probably give it a shot the week after 🌴

from ofxgo.

aclindsa avatar aclindsa commented on August 21, 2024

It seems like \r\n line-endings are compatible with more institutions

Is your basis for this that the two projects you mentioned above do it that way, or have you found other info? I think the projects are probably sufficient evidence, but I'm curious to learn more if you came across other sources...

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

Sorry about my delay in getting back to you!

I based that on those projects I mentioned, and they appear to have a little traction based on their GitHub stats. It isn't really much to go on, I haven't done much research in this area πŸ˜‰
Based on my brief searches (best one seems to be "ofx" carriage return), this issue does seem to pop up on forums and in a few libraries

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

First PR is ready to go! aclindsa/xml#2

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

friendly poke πŸ‘‰ @aclindsa

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

Oh no! πŸ˜†

No rush, just wanted to make sure you weren’t asleep at the wheel! I’ve got work-arounds for now, anyway πŸ˜‰

from ofxgo.

JohnStarich avatar JohnStarich commented on August 21, 2024

Second part is up now too, for extra fun πŸ’₯ #20

from ofxgo.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.