Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gocardless support for Berliner Sparkasse (Germany) #358

Merged
merged 21 commits into from
Aug 3, 2024

Conversation

Peccadilloz
Copy link
Contributor

Similar to PR #346 this adds a gocardless formatter to properly format transaction information. The additional remittance information was not picked up by actual as this bank transmits it as remittanceInformationStructured instead of remittanceInformationUnstructured.

I have tested this successfully with my bank. The "Notes" section is now being filled with the additional remittance information.

This fixes my original issue in the actual repo #2759

@Peccadilloz Peccadilloz marked this pull request as ready for review May 16, 2024 21:20
},

sortTransactions(transactions = []) {
return sortByBookingDateOrValueDate(transactions);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like the default case. Could you import and use the fallback version instead?

See this file for an example: https://github.com/actualbudget/actual-server/blob/master/src/app-gocardless/banks/belfius_gkccbebb.js

Copy link
Contributor

@psybers psybers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to fallback version for sortTransactions as requested by reviewer
@psybers
Copy link
Contributor

psybers commented Jun 1, 2024

@psybers
Copy link
Contributor

psybers commented Jun 1, 2024

Actually hold off on modifying the test for bank factory. #367 should make that no longer necessary.

@MatissJanis
Copy link
Member

Thanks for working on this! Would you mind updating the PR to use prop spreading for Fallback? Here's an example bank provider:

We recently merged some changes to simplify them.

Happy to merge this PR once that's done + the conflict is solved!

Copy link
Contributor

github-actions bot commented Jul 8, 2024

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Jul 8, 2024
@Peccadilloz
Copy link
Contributor Author

Sorry for being inactive this last month. I'll be back home this weekend and will pick this up.

@Peccadilloz Peccadilloz marked this pull request as draft August 3, 2024 05:15
@Peccadilloz Peccadilloz marked this pull request as ready for review August 3, 2024 06:28
@Peccadilloz
Copy link
Contributor Author

Thanks for working on this! Would you mind updating the PR to use prop spreading for Fallback? Here's an example bank provider:

We recently merged some changes to simplify them.

Happy to merge this PR once that's done + the conflict is solved!

I have updated this PR to include the requested changes and resolved the mentioned conflict. Any chance this can be included in the upcoming update still?
Best regards!
Peccadilloz

Copy link
Member

@MatissJanis MatissJanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

You'll be able to use this change via the next edge tag (tomorrow). Sorry for not getting it in the current release. It barely missed the cut.

@MatissJanis MatissJanis merged commit df3aaf9 into actualbudget:master Aug 3, 2024
6 checks passed
@Peccadilloz
Copy link
Contributor Author

Thanks!

You'll be able to use this change via the next edge tag (tomorrow). Sorry for not getting it in the current release. It barely missed the cut.

No worries, I knew I was late for the release.
Thanks for the quick merge!

@tennox
Copy link

tennox commented Aug 9, 2024

@Peccadilloz do you think I can just add the ID for Mittelbrandenburgische Sparkasse and it'll work? 🤔
I'm also missing the remittance information as a note

@DirgoSalga
Copy link
Contributor

I am also having the same trouble with my bank. It is the Rheinhessen Sparkasse (that is the official name), the name under GoCardless was: Sparkasse Worms-Alzey-Ried (BIC: MALADE51WOR).

MMichotte pushed a commit to MMichotte/actual-server that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants