summaryrefslogtreecommitdiff
path: root/src/merchant-tools/README
blob: 993a87ed72c209d86291ec35a19830a9bbcba750 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51

** Taler Merchant Payments Generator **

=== INTRODUCTION ===

The tool contained in this directory is used to populate the
merchant's and exchange's database with fake payments.
It is mainly used for debugging applications that need some
payments to be in place.

It is mandatory to give it a config file that contains information
about the setup to target. Note that the merchant and the exchange
tun by this command will use their own config files, so just few values
are required for it to run.


=== COFIGURATION ===

Any config file must look like the following one.

[payments-generator]

# where on this machine the exchange listens; note that
# this exchange must be among the ones accepted by the
# merchant
exchange = http://localexchange/

# where on this machine the merchant listens
merchant = http://localshop/

# bank's URI of the customer who withdraws coins.
# Must be known by the exchange.
bank = http://localbank/

# must match an instance known by the merchant
instance = FSF

# must match the currency used by merchant and exchange
currency = EUR


=== INVOCATION ===

taler-merchant-generate-payments -c config/file.conf [-n ITERATIONS]

The -n option instructs the tools about how many iteration of all
the (internal) commands we want to execute.

** Taler Merchant Dbinit **

TBD