commit d6efbee5700e25a5631c0c13df7648db2e7b6ea6
parent 99646fc65694d4b93831edb7c59b6c0995e6561d
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 23 Aug 2020 17:00:40 +0200
use sane starting configuration
Diffstat:
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -292,10 +292,9 @@ struct Product
char *description;
/**
- * Which instance should be used for billing?
- * Full URL, replaces the default base URL
- * for orders involving this product. NULL if
- * we should use the base_url.
+ * Which instance should be used for billing? Full URL, replaces
+ * the default base URL for orders involving this product. NULL if
+ * we should use the #backend_base_url.
*/
char *instance;
@@ -1652,11 +1651,15 @@ vend_success ()
*
* @param cls closure
* @param hr HTTP response details
+ * @param refund_uri the refund uri offered to the wallet
+ * @param h_contract hash of the contract a Browser may need to authorize
+ * obtaining the HTTP response.
*/
static void
refund_complete_cb (void *cls,
const struct TALER_MERCHANT_HttpResponse *hr,
- const char *refund_uri)
+ const char *refund_uri,
+ const struct GNUNET_HashCode *h_contract)
{
struct Refund *r = cls;
@@ -2935,6 +2938,7 @@ run (void *cls,
}
{
char *auth;
+
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
"taler-mdb",
diff --git a/taler.conf b/taler.conf
@@ -1,8 +1,8 @@
[taler]
-currency = EUR
+currency = TESTKUDOS
[taler-mdb]
-backend-base-url = http://backend.eur.taler.net/
+backend-base-url = http://backend.test.taler.net/
backend-authorization = ApiKey Sandbox
# taler url for success message (see taler documentation)
fulfillment-url = taler://fulfillment-success