cb55c1a3af
This change enables using multiple wire plugins at the same time. Also, we now distinguish between the wire plugin (i.e. EBICS or taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that the wire plugin is implementing. The "taler-bank" wire method was renamed from "test" to "x-taler-bank". This also changes the format of the /wire response of the exchange, as we now need to return multiple accounts. Note that wire fees are specified per wire method, not per wire account. taler-exchange-keyup now automatically signs all of the /wire responses in the location specified by the configuration. Account identification in wire plugins was changed to use payto://-URLs instead of method-specific JSON fields. Signing and validation of /wire responses was moved from each wire plugin to a generic validation method in libtalerutil (crypto) or libtalerjson (for JSON-formatted inputs). Convenience methods were added to generate JSON for wire accounts (salting, signing). Various section and option names were adjusted to streamline the configuration and make it more consistent overall. Documentation was updated as well.
26 lines
664 B
Plaintext
26 lines
664 B
Plaintext
# This file is in the public domain.
|
|
#
|
|
[account-taler-bank]
|
|
# This is the response we give out for the /wire request. It provides
|
|
# wallets with the bank information for transfers to the exchange.
|
|
WIRE_JSON = test_wire_plugin_test.json
|
|
|
|
# Our bank account URL
|
|
URL = payto://x-taler-bank/2
|
|
|
|
# Which wire plugin should we used to access the account?
|
|
PLUGIN = taler_bank
|
|
|
|
|
|
[account-sepa]
|
|
# This is the response we give out for the /wire request. It provides
|
|
# wallets with the bank information for transfers to the exchange.
|
|
WIRE_JSON = test_wire_plugin_sepa.json
|
|
|
|
# Which wire plugin should we used to access the account?
|
|
PLUGIN = ebics
|
|
|
|
|
|
[taler]
|
|
CURRENCY = "EUR"
|