Writing a simple of four programs

I used http://ofx4j.sourceforge.net/userguide.html as a guide for writing a small java program to load a bank statement from wells fargo. I keep getting the Invalid Signon error message. I have the correct URL. I use the same password and username as I used to access their web page. Does anyone have other simple patterns that I could look at or use?

+3
source share
1 answer

I had the same problem. I tried to enter the Chase Bank, but I had an Invalid Signon. The problem is that I used the wrong data, oxf4j may have outdated data stored for the banks that it saved. Go to gnucash to get the correct updated setting for your bank: http://wiki.gnucash.org/wiki/OFX_Direct_Connect_Bank_Settings . Then you need to create a new BaseFinancialInstitutionData object (this example is for a check credit card):

BaseFinancialInstitutionData data =  new BaseFinancialInstitutionData();
data.setFinancialInstitutionId("10898");
data.setOFXURL(new URL("https://ofx.chase.com"));
data.setOrganization("B1");
FinancialInstitutionService service = new FinancialInstitutionServiceImpl();
FinancialInstitution fi = service.getFinancialInstitution(data);
0
source

Source: https://habr.com/ru/post/1753087/


All Articles