foodcoops / foodsoft

Web-based software to manage a non-profit food coop (product catalog, ordering, accounting, job scheduling).
https://foodcoops.net/
Other
328 stars 147 forks source link

1008 ideal integration online payment provider #1031

Closed yksflip closed 7 months ago

yksflip commented 1 year ago

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:

Changes on the plugin:

still open

wvengen commented 1 year ago

p.s. if the amount can be nil in the API, the API docs (swagger) may need updating.

yksflip commented 1 year ago

This is shaping up nicely!

thx! your comment are very helpful :)

yksflip commented 1 year ago

Hey I've been working a bit more an introduced some changes:

Hopefully I can finish up on this until end of this week :)

wvengen commented 9 months ago

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.

yksflip commented 8 months ago

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 :)

yksflip commented 7 months ago

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?

yksflip commented 7 months ago

how about this? https://github.com/foodcoops/foodsoft/pull/1031/files#diff-f5c62182c669e1defeb29be1ca2beac61b02af50970b7b8b823708aa855221f7R23

yksflip commented 7 months ago

@wvengen let's merge? :)

wvengen commented 7 months ago

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.

yksflip commented 7 months ago

Thank you for also keeping up and your helpful advise :)