summaryrefslogtreecommitdiff
path: root/src/backend/merchant.conf
blob: 6a0cc53ebd205e1d097832791a82c081ad1fa2d6 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# 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

# Which wireformat does this merchant use? (x-taler-bank/sepa/etc.)
WIREFORMAT = x-taler-bank
# Determines which wire plugin will be used. We currently only
# support one wire plugin at a time!

# 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

[instance-default]
KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv

# [merchant-account-merchant]

# payto://-URL of the merchant's bank account. Required.
#PAYTO_URI = payto://x-taler-bank/bank/42

# File where this account's salted wire address is provided.
# File does not have to exist, will be generated from
# BANK_URL if it is missing.  File must match BANK_URL.
#WIRE_RESPONSE = ${TALER_CONFIG_HOME}/merchant/accounts/default.json

# Can this address be used in previous offers for
# instance "default"?  Must be set to YES if ACTIVE_default is YES.
# Note that "default" here must match the instance's section name.
# The same account may be enabled/active in multiple instances.
#HONOR_default = YES

# Should this address be used in offers we create right now for
# instance "default"?
# Inactive addresses (NO) will be supported for legacy contracts
# but not used for new contracts.
#ACTIVE_default = YES