gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: start implementatio


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: start implementation of /check-pay
Date: Thu, 04 Jan 2018 17:35:46 +0100

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new a2129ac  start implementation of /check-pay
a2129ac is described below

commit a2129acc2a29f83fddc28c6447bf671f5036f6a4
Author: Florian Dold <address@hidden>
AuthorDate: Thu Jan 4 17:35:30 2018 +0100

    start implementation of /check-pay
---
 src/backend/Makefile.am            | 3 ++-
 src/backend/taler-merchant-httpd.c | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am
index c73c7e6..0f305eb 100644
--- a/src/backend/Makefile.am
+++ b/src/backend/Makefile.am
@@ -28,7 +28,8 @@ taler_merchant_httpd_SOURCES = \
   taler-merchant-httpd_tip-query.c taler-merchant-httpd_tip-query.h \
   taler-merchant-httpd_track-transaction.c 
taler-merchant-httpd_track-transaction.h \
   taler-merchant-httpd_track-transfer.c taler-merchant-httpd_track-transfer.h \
-  taler-merchant-httpd_refund.c taler-merchant-httpd_refund.h
+  taler-merchant-httpd_refund.c taler-merchant-httpd_refund.h \
+  taler-merchant-httpd_check-payment.c taler-merchant-httpd_check-payment.h
 
 
 taler_merchant_httpd_LDADD = \
diff --git a/src/backend/taler-merchant-httpd.c 
b/src/backend/taler-merchant-httpd.c
index ff23f6f..615dd31 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -45,6 +45,7 @@
 #include "taler-merchant-httpd_tip-query.h"
 #include "taler-merchant-httpd_history.h"
 #include "taler-merchant-httpd_refund.h"
+#include "taler-merchant-httpd_check-payment.h"
 
 /**
  * Backlog for listen operation on unix-domain sockets.
@@ -252,6 +253,9 @@ url_handler (void *cls,
       { "/tip-query", MHD_HTTP_METHOD_GET, "text/plain",
         NULL, 0,
         &MH_handler_tip_query, MHD_HTTP_OK},
+      { "/check-payment", MHD_HTTP_METHOD_GET, "text/plain",
+        NULL, 0,
+        &MH_handler_check_payment, MHD_HTTP_OK},
       {NULL, NULL, NULL, NULL, 0, 0 }
     };
   static struct TMH_RequestHandler h404 =

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



reply via email to

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