aboutsummaryrefslogtreecommitdiff
path: root/src/backend/merchant.conf
blob: 1fdc17eacc311f360fe43c940028c026ca8e784f (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
52
53
54
# This file is in the public domain.

# These are default/sample settings for a merchant backend.


# General settings for the backend.
[merchant]

# Use TCP or UNIX domain sockets?
SERVE = tcp

# Which HTTP port does the backend listen on?  Only used if "SERVE" is 'tcp'.
PORT = 9966

# Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback.
# Can also be given as a hostname.  We will bind to the wildcard (dual-stack)
# if left empty.  Only used if "SERVE" is 'tcp'.
# BIND_TO =

# How long do we keep contract / payment information around after the
# purchase (for tax records and other legal reasons).
LEGAL_PRESERVATION = 11 years


# Which unix domain path should we bind to? Only used if "SERVE" is 'unix'.
UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http
# What should be the file access permissions (see chmod) for "UNIXPATH"?
UNIXPATH_MODE = 660

# Ensure that merchant reports EVERY deposit confirmation to auditor.
# Bad for performance, bad for the auditor, should only be enabled
# for testing!
FORCE_AUDIT = NO

# Maximum wire fee to permit by default.  You most certainly want to
# adjust at least the currency.
# DEFAULT_MAX_WIRE_FEE = "KUDOS:0.10"

# Which fraction of an exessivly high wire fee is the customer expected
# to cover?  Must be a positive integer representing the expected
# average number of transactions aggregated by exchanges.  1 is
# always safe (financially speaking).
DEFAULT_WIRE_FEE_AMORTIZATION = 1

# Which database backend do we use?
DB = postgres

# How long do we want the exchange to sit on wire transfers
# for aggregation?
WIRE_TRANSFER_DELAY = 3 week

# How fast do we want customers to pay, i.e. how long will our
# proposal be valid?
DEFAULT_PAY_DEADLINE = 1 day