libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 133c53fa27edfef038b743322d553e55837e0525
parent 1615275d34f646ec7a6c495570391c3ec7238837
Author: MS <ms@taler.net>
Date:   Tue, 28 Nov 2023 09:00:21 +0100

fixme

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/Iso20022.kt @@ -231,6 +231,9 @@ fun parseIncomingTxNotif( } val amount: TalerAmount = requireUniqueChildNamed("Amt") { val currency = focusElement.getAttribute("Ccy") + /** + * FIXME: test by sending non-CHF to PoFi and see which currency gets here. + */ if (currency != acceptedCurrency) throw Exception("Currency $currency not supported") getTalerAmount(focusElement.textContent, currency) }