gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: use sane starting configuration


From: gnunet
Subject: [taler-taler-mdb] branch master updated: use sane starting configuration
Date: Sun, 23 Aug 2020 17:00:42 +0200

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

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new d6efbee  use sane starting configuration
d6efbee is described below

commit d6efbee5700e25a5631c0c13df7648db2e7b6ea6
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Aug 23 17:00:40 2020 +0200

    use sane starting configuration
---
 src/main.c | 14 +++++++++-----
 taler.conf |  4 ++--
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/main.c b/src/main.c
index 38653a2..67a766b 100644
--- 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
index 734e73c..7745f61 100644
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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