commit 920d33cdd39419f7a033fcfefffcd1b573d7ba05
parent 70d1d08ee276e07fff8eca2b4643405821d13d82
Author: Florian Dold <florian@dold.me>
Date: Fri, 15 Dec 2023 12:04:37 +0100
use same section name as default config for merchant exchange config to avoid conflicts
Diffstat:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/taler-merchant-manual.rst b/taler-merchant-manual.rst
@@ -578,7 +578,7 @@ section, the following options need to be configured:
.. code-block:: ini
- [MERCHANT-EXCHANGE-demo]
+ [MERCHANT-EXCHANGE-KUDOS]
EXCHANGE_BASE_URL = "https://exchange.demo.taler.net/"
- The ``MASTER_KEY`` option specifies the exchange’s master public key
@@ -586,7 +586,7 @@ section, the following options need to be configured:
.. code-block:: ini
- [MERCHANT-EXCHANGE-demo]
+ [MERCHANT-EXCHANGE-KUDOS]
MASTER_KEY = "GNRJCH0HYKN59939JC0CJ2JDC7ZNEBSATJFF00CVS3WPG4TQEA7G"
- The ``CURRENCY`` option specifies the exchange’s currency.
@@ -594,17 +594,20 @@ section, the following options need to be configured:
.. code-block:: ini
- [MERCHANT-EXCHANGE-demo]
+ [MERCHANT-EXCHANGE-KUDOS]
CURRENCY = "KUDOS"
Note that multiple exchanges can be added to the system by using different
-identifiers in place of ``demo`` in the example above. Note that all of the
+identifiers in place of ``KUDOS`` in the example above. Note that all of the
exchanges actually used will use the same currency: If the currency does not
match the main ``CURRENCY`` option from the ``TALER`` section, the respective
``MERCHANT-EXCHANGE-`` section is automatically ignored. If you need support
for multiple currencies, you need to deploy one backend per currency.
+The merchant already ships with a default configuration that contains the
+``MERCHANT-EXCHANGE-KUDOS`` section from above.
+
.. note::
Manually setting up exchanges is only recommended under special