diff options
Diffstat (limited to 'src/lib/merchant_api_tip_authorize.c')
-rw-r--r-- | src/lib/merchant_api_tip_authorize.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/merchant_api_tip_authorize.c b/src/lib/merchant_api_tip_authorize.c index d2f4cd9a..de71b747 100644 --- a/src/lib/merchant_api_tip_authorize.c +++ b/src/lib/merchant_api_tip_authorize.c @@ -83,11 +83,13 @@ static int check_ok (struct TALER_MERCHANT_TipAuthorizeHandle *tao, const json_t *json) { - const char *taler_tip_url; + const char *tip_status_url; + const char *taler_tip_uri; struct GNUNET_HashCode tip_id; struct GNUNET_TIME_Absolute expiration_time; struct GNUNET_JSON_Specification spec[] = { - GNUNET_JSON_spec_string ("tip_redirect_url", &taler_tip_url), + GNUNET_JSON_spec_string ("tip_status_url", &tip_status_url), + GNUNET_JSON_spec_string ("taler_tip_uri", &taler_tip_uri), TALER_JSON_spec_absolute_time ("tip_expiration", &expiration_time), GNUNET_JSON_spec_fixed_auto ("tip_id", &tip_id), GNUNET_JSON_spec_end () @@ -116,7 +118,7 @@ check_ok (struct TALER_MERCHANT_TipAuthorizeHandle *tao, tao->cb (tao->cb_cls, &hr, &tip_id, - taler_tip_url, + taler_tip_uri, expiration_time); tao->cb = NULL; /* do not call twice */ GNUNET_JSON_parse_free (spec); |