Skip to content

Commit

Permalink
Fix gocardless bank "Hanseatic Bank" (access_valid_for_days max 89) (#…
Browse files Browse the repository at this point in the history
…514)

* Add support for "Hanseatic Bank" (access_valid_for_days max 89)

* add PR changelog file

* fix line endings + author format

* make linter happy

* make linter happy

* use alphabetical order for import and banks list
  • Loading branch information
Froghut authored Dec 3, 2024
1 parent 4842111 commit d3a7b62
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app-gocardless/bank-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import CBCcregbebb from './banks/cbc_cregbebb.js';
import DanskeBankDabNO22 from './banks/danskebank-dabno22.js';
import EasybankBawaatww from './banks/easybank-bawaatww.js';
import Fortuneo from './banks/FORTUNEO_FTNOFRP1XXX.js';
import HanseaticBank from './banks/HANSEATIC_HSTBDEHH.js';
import IngIngbrobu from './banks/ing-ingbrobu.js';
import IngIngddeff from './banks/ing-ingddeff.js';
import IngPlIngbplpw from './banks/ing-pl-ingbplpw.js';
Expand Down Expand Up @@ -41,6 +42,7 @@ export const banks = [
DanskeBankDabNO22,
EasybankBawaatww,
Fortuneo,
HanseaticBank,
IngIngbrobu,
IngIngddeff,
IngPlIngbplpw,
Expand Down
10 changes: 10 additions & 0 deletions src/app-gocardless/banks/HANSEATIC_HSTBDEHH.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import Fallback from './integration-bank.js';

/** @type {import('./bank.interface.js').IBank} */
export default {
...Fallback,

institutionIds: ['HANSEATIC_HSTBDEHH'],

accessValidForDays: 89,
};
6 changes: 6 additions & 0 deletions upcoming-release-notes/514.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [Froghut]
---

Fix gocardless bank "Hanseatic Bank"

0 comments on commit d3a7b62

Please sign in to comment.