[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: confirm_url not nee
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: confirm_url not needed anymore |
Date: |
Sun, 07 Jan 2018 18:19:08 +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 c327c34 confirm_url not needed anymore
c327c34 is described below
commit c327c3465474e6c1ca2f4c526f66694b0d55ef2d
Author: Florian Dold <address@hidden>
AuthorDate: Sun Jan 7 18:19:01 2018 +0100
confirm_url not needed anymore
---
src/backend/taler-merchant-httpd_check-payment.c | 5 -----
src/backend/taler-merchant-httpd_trigger-pay.c | 9 ---------
2 files changed, 14 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_check-payment.c
b/src/backend/taler-merchant-httpd_check-payment.c
index 9af2d1b..145be9d 100644
--- a/src/backend/taler-merchant-httpd_check-payment.c
+++ b/src/backend/taler-merchant-httpd_check-payment.c
@@ -150,7 +150,6 @@ MH_handler_check_payment (struct TMH_RequestHandler *rh,
const char *session_id;
const char *session_sig_str;
const char *instance_str;
- const char *confirm_url;
order_id = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
@@ -158,9 +157,6 @@ MH_handler_check_payment (struct TMH_RequestHandler *rh,
contract_url = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"contract_url");
- confirm_url = MHD_lookup_connection_value (connection,
- MHD_GET_ARGUMENT_KIND,
- "confirm_url");
session_id = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"session_id");
@@ -319,7 +315,6 @@ do_pay:
"contract_url", contract_url,
"session_id", session_id,
"h_contract_terms",
h_contract_terms_str,
- "confirm_url", confirm_url,
NULL);
int ret = TMH_RESPONSE_reply_json_pack (connection,
MHD_HTTP_OK,
diff --git a/src/backend/taler-merchant-httpd_trigger-pay.c
b/src/backend/taler-merchant-httpd_trigger-pay.c
index c0bdc7e..280ca65 100644
--- a/src/backend/taler-merchant-httpd_trigger-pay.c
+++ b/src/backend/taler-merchant-httpd_trigger-pay.c
@@ -55,21 +55,14 @@ MH_handler_trigger_pay (struct TMH_RequestHandler *rh,
const char *contract_url;
const char *h_contract_terms_str;
- const char *confirm_url;
const char *session_id;
session_id = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"session_id");
-
- confirm_url = MHD_lookup_connection_value (connection,
- MHD_GET_ARGUMENT_KIND,
- "confirm_url");
-
contract_url = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"contract_url");
-
h_contract_terms_str = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"h_contract_terms");
@@ -85,8 +78,6 @@ MH_handler_trigger_pay (struct TMH_RequestHandler *rh,
MHD_add_response_header (response, "X-Taler-Contract-Url", contract_url);
if (NULL != h_contract_terms_str)
MHD_add_response_header (response, "X-Taler-Contract-Hash",
h_contract_terms_str);
- if (NULL != confirm_url)
- MHD_add_response_header (response, "X-Taler-Confirm-Url", confirm_url);
MHD_queue_response (connection, 402, response);
MHD_destroy_response (response);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: confirm_url not needed anymore,
gnunet <=