[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated (46cf325 -> 3840ce0)
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated (46cf325 -> 3840ce0) |
Date: |
Thu, 10 Sep 2020 00:18:34 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a change to branch master
in repository merchant.
from 46cf325 redo more of transaction on resume
new dbe293e more logging
new 3840ce0 more logging
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/backend/taler-merchant-httpd_post-orders-ID-paid.c | 12 ++++++++++++
src/backend/taler-merchant-httpd_private-get-orders-ID.c | 4 ++++
2 files changed, 16 insertions(+)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
index bd2c555..cd2cc17 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
@@ -159,6 +159,18 @@ TMH_post_orders_ID_paid (const struct TMH_RequestHandler
*rh,
TALER_EC_PAID_DB_ERROR,
NULL);
}
+ {
+ const char *fulfillment_url;
+
+ fulfillment_url
+ = json_string_value (json_object_get (contract_terms,
+ "fulfillment_url"));
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Marking contract %s with %s/%s as paid\n",
+ order_id,
+ session_id,
+ fulfillment_url);
+ }
qs = TMH_db->mark_contract_paid (TMH_db->cls,
hc->instance->settings.id,
&pr.h_contract_terms,
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index 8e273ad..1e5ff87 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -1001,6 +1001,10 @@ TMH_private_get_orders_ID (const struct
TMH_RequestHandler *rh,
GNUNET_free (already_paid_order_id);
return ret;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "No already paid order for %s/%s\n",
+ gorc->session_id,
+ gorc->fulfillment_url);
}
if (paid &&
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] branch master updated (46cf325 -> 3840ce0),
gnunet <=