Skip to content

Commit

Permalink
One additional validation + Release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
spideraxal committed Jan 5, 2025
1 parent 77ad1d7 commit 87f9341
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/app-gocardless/banks/ing-ingbrobu.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export default {
transaction.transactionId = transaction.internalTransactionId;

//Some corner case transactions have a special field called `proprietaryBankTransactionCode`, this need to be copied to `remittanceInformationUnstructured`
if (transaction.proprietaryBankTransactionCode) {
if (
transaction.proprietaryBankTransactionCode &&
!transaction.remittanceInformationUnstructured
) {
transaction.remittanceInformationUnstructured =
transaction.proprietaryBankTransactionCode;
}
Expand All @@ -39,7 +42,11 @@ export default {
}
} else {
transaction.transactionId = null;
if (transaction.proprietaryBankTransactionCode) {

if (
transaction.proprietaryBankTransactionCode &&
!transaction.remittanceInformationUnstructured
) {
transaction.remittanceInformationUnstructured =
transaction.proprietaryBankTransactionCode;
}
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/535.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [spideraxal]
---

Add corner case transaction for ING Bank Romania

0 comments on commit 87f9341

Please sign in to comment.