gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: Accept date range to request CRZ.


From: gnunet
Subject: [libeufin] branch master updated: Accept date range to request CRZ.
Date: Wed, 18 Mar 2020 17:36:35 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 614d0d2  Accept date range to request CRZ.
614d0d2 is described below

commit 614d0d2085fde36955b1e166e826cdcd1cf9190d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Mar 18 17:36:10 2020 +0100

    Accept date range to request CRZ.
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index 9e99ce1..7266399 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -531,7 +531,6 @@ fun main() {
                     }.firstOrNull() ?: throw 
NexusError(HttpStatusCode.Accepted, reason = "No ready payments found")
                     Triple(entity.id, createPain001document(entity), 
entity.debtorAccount)
                 }
-                logger.debug("Processing payment for bank account: 
${debtorAccount}")
                 logger.debug("Uploading PAIN.001: ${painDoc}")
                 val subscriberDetails = 
getSubscriberDetailsFromBankAccount(debtorAccount)
                 doEbicsUploadTransaction(
@@ -560,12 +559,14 @@ fun main() {
             post("/ebics/subscribers/{id}/fetch-payment-status") {
                 // FIXME(marcello?):  Fetch pain.002 and mark transfers in it 
as "failed"
                 val id = expectId(call.parameters["id"])
+                val paramsJson = call.receive<EbicsStandardOrderParamsJson>()
+                val orderParams = paramsJson.toOrderParams()
                 val subscriberData = getSubscriberDetailsFromId(id)
                 val response = doEbicsDownloadTransaction(
                     client,
                     subscriberData,
                     "CRZ",
-                    EbicsStandardOrderParams()
+                    orderParams
                 )
                 when (response) {
                     is EbicsDownloadSuccessResult ->

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]