summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-30 15:28:00 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-30 15:28:00 +0530
commitcbe85cf52487c859535525877d2b53caea45f271 (patch)
treefc52eb9ae5251e557693b725f9e240d22712e661 /src
parent54edea47b8859f99b9733f81ceba0f5803c07122 (diff)
downloadmerchant-cbe85cf52487c859535525877d2b53caea45f271.tar.gz
merchant-cbe85cf52487c859535525877d2b53caea45f271.tar.bz2
merchant-cbe85cf52487c859535525877d2b53caea45f271.zip
Revert "add claim token to taler pay URI"
This reverts commit 54edea47b8859f99b9733f81ceba0f5803c07122.
Diffstat (limited to 'src')
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 6cfcfbce..a6912b79 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -626,15 +626,13 @@ suspend_god (struct GetOrderData *god)
* @param order_id the order id
* @param session_id session, may be NULL
* @param instance_id instance, may be "default"
- * @param claim_token claim token for the order, may be NULL
* @return corresponding taler://pay/ URI, or NULL on missing "host"
*/
char *
TMH_make_taler_pay_uri (struct MHD_Connection *con,
const char *order_id,
const char *session_id,
- const char *instance_id,
- struct TALER_ClaimTokenP *claim_token)
+ const char *instance_id)
{
const char *host;
const char *forwarded_host;
@@ -688,14 +686,6 @@ TMH_make_taler_pay_uri (struct MHD_Connection *con,
order_id);
GNUNET_buffer_write_path (&buf,
(session_id == NULL) ? "" : session_id);
- if (GNUNET_NO == GNUNET_is_zero (claim_token))
- {
- GNUNET_buffer_write_str (&buf,
- "&c=");
- GNUNET_buffer_write_data_encoded (&buf,
- claim_token,
- sizeof (struct TALER_ClaimTokenP));
- }
return GNUNET_buffer_reap_str (&buf);
}