summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/exchange-template/config/exchange-common.conf7
-rw-r--r--src/exchange/taler-exchange-httpd_wire.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/contrib/exchange-template/config/exchange-common.conf b/contrib/exchange-template/config/exchange-common.conf
index cb34ddcd..5214fd81 100644
--- a/contrib/exchange-template/config/exchange-common.conf
+++ b/contrib/exchange-template/config/exchange-common.conf
@@ -15,14 +15,15 @@ MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
# How to access our database
DB = postgres
+# Is this for testing, or for real?
TESTRUN = YES
[exchangedb-postgres]
-
DB_CONN_STR = "postgres:///talercheck"
-[exchange-wire-sepa]
+[wire-sepa]
SEPA_RESPONSE_FILE = "sepa.json"
-[exchange-wire-test]
+[wire-test]
REDIRECT_URL = "http://test/"
+BANK_URI = "http://bank/
diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c
index ba763b64..faf018b9 100644
--- a/src/exchange/taler-exchange-httpd_wire.c
+++ b/src/exchange/taler-exchange-httpd_wire.c
@@ -104,7 +104,7 @@ TMH_WIRE_handler_wire_test (struct TMH_RequestHandler *rh,
}
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_string (cfg,
- "exchange-wire-test",
+ "wire-test",
"REDIRECT_URL",
&wire_test_redirect))
{
@@ -168,7 +168,7 @@ TMH_WIRE_handler_wire_sepa (struct TMH_RequestHandler *rh,
/* Fetch reply */
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_filename (cfg,
- "exchange-wire-sepa",
+ "wire-sepa",
"SEPA_RESPONSE_FILE",
&sepa_wire_file))
{