Filing system improvements (step 2)
Pages: 1 2
Theo Markettos (89) 919 posts |
I don’t know who you bank with, but just to point out Perl’s Finance::Bank, which is quite a neat way of scraping statement info out of lots of bank websites. For banks not covered, I’ve had success with using BeautifulSoup in Python to scrape similar transaction info without too much pain (20 lines of code). Obviously they’re not Ruby, but you’d probably want to run the bank-scraping on a firewalled machine anyway. |
Andrew Hodgkinson (6) 465 posts |
I’ve absolutely no idea how a bank would expose such functionality, or whether any such API would be provided at all. Public API access into a bank account would clearly be very troublesome. After all – many banks don’t even have mobile bank access apps and of those that do, there’s only one app, from the bank itself. There are APIs for debit/credit card processing but that’s a wholly different issue (a third party, no direct bank account access); those can themselves be fiddly and troublesome though and many now require JavaScript, so instead we route through PayPal which is still just about usable with NetSurf. See controllers/payment_gateway_* and models/payment_* along with the Donations controller and model in: https://www.riscosopen.org/tracker/repository/browse/rool/rails/canvass/trunk/app |
Steve Revill (20) 1361 posts |
I did miss the comment from Sprow that PayPal appears to provide “subscribe” buttons – maybe that’s the way forward here? |
Theo Markettos (89) 919 posts |
IME banks don’t expose APIs, at least High Street banks don’t to retail customers (which is roughly what small businesses are, just with all the special offers removed). What I was envisaging is: That CSV statement info is passed to something which sanitises it by selecting only the transactions of interest (eg via the payment reference). That transaction info is then pushed out to the ROOL webserver for matching against the bounty info.
Might be easier than my suggestion! |
David R. Lane (77) 766 posts |
It’s good that this method of regular donation is being looked at again as it could vastly increase income for ROOL. When I first suggested it way back on the Forum, Bounties, ROOL Administration thread, I was thinking of it for only the Administration Bounty, to answer a point in a previous post on this thread. A fiver a month given by, say, 100 (hopefully more) supporters is not to be sneezed at. Do the sums. :-) |
Steve Revill (20) 1361 posts |
I’ve added a button for setting up recurring donations to this page. Hopefully, we can get it added to the Bounties page shortly, too. |
David R. Lane (77) 766 posts |
At last! |
Pages: 1 2