Import bank transactions more frequently #1262
Unanswered
twothreenine
asked this question in
Decisions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In some Austrian food coops, we use the bank connection to fully automatically import bank transactions, including assigning credit / marking invoices as paid. As far as I know, only Erste Bank (Vienna) supports this. (Bank API documentation)
The bank API does not support sending push notifications when there is a new transaction, so we have to use polling.
I don't know if any other food coops use this feature.
Currently, the schedule for doing this is twice a day, only on weekdays:
foodsoft/config/schedule.rb
Lines 10 to 13 in ef452c7
Since instant/express bank transfers are common and free of charge now, it would make sense to do this more frequently, so our members get their credit assigned faster.
I don't know how much server resources this needs.
I'd suggest changing it to hourly (all days of the week.)
Perhaps in the long term it would make sense to make this customizable per Foodsoft instance, as there might be banks which allow only a limited number of API calls or charge a fee per request.
Beta Was this translation helpful? Give feedback.
All reactions