Closed yksflip closed 7 months ago
p.s. if the amount
can be nil
in the API, the API docs (swagger) may need updating.
This is shaping up nicely!
thx! your comment are very helpful :)
Hey I've been working a bit more an introduced some changes:
Hopefully I can finish up on this until end of this week :)
Please let me know when it is ready for review (comment or the re-request review button), as it's been a while. Would be great to have this included in the next release.
hey @wvengen, thanks for the reminder. I know it's been a while ... I tried to write some documentation, though I don't feel very confident with it. I still don't understand very much of the banking feature. I see this docs as a starting point... I'd happy to hear your feedback and would be great to see this finally merged :)
thanks for your feedback! I've added some basic model tests for financial_transactions, refactored the search_scope, and implemented the around_save. I also just had a chat with leo and he mentioned the user documentation on https://docs.foodcoops.net/de/documentation/admin/finances
I'll squash the commits later, I thought it could be easier for you to review like this?
@wvengen let's merge? :)
Ah, and for a future PR, it's good to mention the issue number in the PR description (e.g. in this case "Implements #1008"), so that Github recognizes this and provides cross-references. The "1008" in the PR title didn't do this.
Thank you for also keeping up and your helpful advise :)
This PR adds the online payment provider mollie as a plugin. User can add credit to their ordergroups balance via various payment methods. wvengen implemented this already in the foodsoft-adams fork. I rewrote some parts to make it work with the newest mollie api version and added some bits to improve the usability.
Changes relevant to the foodsoft core:
nil
now, this indicates an incomplete transactionChanges on the plugin:
still open
[ ] move accept_return_to to ApplicationController?