merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

test_template.conf (5521B)


      1 [PATHS]
      2 TALER_TEST_HOME = test_merchant_api_home/
      3 
      4 [merchant-exchange-kudos]
      5 DISABLED = YES
      6 
      7 [merchant-exchange-chf]
      8 DISABLED = YES
      9 
     10 [exchange]
     11 # A purse must not outlive the denominations of the coins in it, see the
     12 # comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf.
     13 PURSE_EXPIRATION_LIMIT = 3 years
     14 CURRENCY = TESTKUDOS
     15 CURRENCY_ROUND_UNIT = TESTKUDOS:0.01
     16 TINY_AMOUNT = TESTKUDOS:0.01
     17 AML_THRESHOLD = TESTKUDOS:1000000
     18 MAX_KEYS_CACHING = forever
     19 DB = postgres
     20 MASTER_PUBLIC_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG
     21 SERVE = tcp
     22 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http
     23 UNIXPATH_MODE = 660
     24 PORT = 8081
     25 BASE_URL = http://localhost:8081/
     26 SIGNKEY_DURATION = 2 weeks
     27 SIGNKEY_LEGAL_DURATION = 2 years
     28 LOOKAHEAD_SIGN = 3 weeks 1 day
     29 KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/
     30 REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/
     31 TERMS_ETAG = 0
     32 PRIVACY_ETAG = 0
     33 
     34 [exchangedb-postgres]
     35 CONFIG = postgres:///talercheck
     36 
     37 [report-generator-file]
     38 BINARY = taler-merchant-report-generator-file
     39 
     40 [merchant]
     41 SERVE = tcp
     42 PORT = 9966
     43 STRICT_PROTOCOL_V19 = YES
     44 PAYMENT_TARGET_TYPES = *
     45 CURRENCY = TESTKUDOS
     46 BASE_URL = http://localhost:9966/
     47 UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http
     48 UNIXPATH_MODE = 660
     49 DEFAULT_WIRE_FEE_AMORTIZATION = 1
     50 DB = postgres
     51 WIREFORMAT = default
     52 WIRE_TRANSFER_DELAY = 1 minute
     53 DEFAULT_PAY_DEADLINE = 1 day
     54 DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1
     55 KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv
     56 DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10
     57 FORCE_AUDIT = YES
     58 
     59 [merchantdb-postgres]
     60 CONFIG = postgres:///talercheck
     61 SQL_DIR = ${DATADIR}sql/
     62 
     63 [bank]
     64 HTTP_PORT = 8082
     65 
     66 [libeufin-nexus]
     67 DB_CONNECTION="postgresql:///talercheck"
     68 
     69 [libeufin-sandbox]
     70 DB_CONNECTION="postgresql:///talercheck"
     71 
     72 
     73 [auditor]
     74 DB = postgres
     75 AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv
     76 SERVE = tcp
     77 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http
     78 UNIXPATH_MODE = 660
     79 PORT = 8083
     80 AUDITOR_URL = http://localhost:8083/
     81 TINY_AMOUNT = TESTKUDOS:0.01
     82 BASE_URL = "http://localhost:8083/"
     83 
     84 [exchangedb]
     85 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
     86 LEGAL_RESERVE_EXPIRATION_TIME = 7 years
     87 
     88 [exchange-account-1]
     89 # PAYTO_URI comes by patching.
     90 ENABLE_DEBIT = YES
     91 ENABLE_CREDIT = YES
     92 
     93 [exchange-accountcredentials-1]
     94 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/"
     95 WIRE_GATEWAY_AUTH_METHOD = basic
     96 USERNAME = exchange
     97 PASSWORD = password
     98 
     99 [admin-accountcredentials-1]
    100 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/"
    101 WIRE_GATEWAY_AUTH_METHOD = basic
    102 USERNAME = exchange
    103 PASSWORD = password
    104 
    105 [exchange-account-2]
    106 PAYTO_URI = "payto://x-taler-bank/localhost/exchange?receiver-name=exchange"
    107 ENABLE_DEBIT = YES
    108 ENABLE_CREDIT = YES
    109 
    110 [exchange-accountcredentials-2]
    111 WIRE_GATEWAY_AUTH_METHOD = none
    112 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/"
    113 
    114 [admin-accountcredentials-2]
    115 WIRE_GATEWAY_AUTH_METHOD = none
    116 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/"
    117 
    118 [merchant-exchange-default]
    119 EXCHANGE_BASE_URL = http://localhost:8081/
    120 CURRENCY = TESTKUDOS
    121 MASTER_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG
    122 
    123 [payments-generator]
    124 currency = TESTKUDOS
    125 instance = default
    126 bank = http://localhost:8082/
    127 merchant = http://localhost:9966/
    128 exchange_admin = http://localhost:18080/
    129 exchange-admin = http://localhost:18080/
    130 exchange = http://localhost:8081/
    131 
    132 [coin_kudos_ct_1]
    133 value = TESTKUDOS:0.01
    134 duration_withdraw = 7 days
    135 duration_spend = 2 years
    136 duration_legal = 3 years
    137 fee_withdraw = TESTKUDOS:0.01
    138 fee_deposit = TESTKUDOS:0.01
    139 fee_refresh = TESTKUDOS:0.01
    140 fee_refund = TESTKUDOS:0.01
    141 rsa_keysize = 1024
    142 CIPHER = RSA
    143 
    144 [coin_kudos_ct_10]
    145 value = TESTKUDOS:0.10
    146 duration_withdraw = 7 days
    147 duration_spend = 2 years
    148 duration_legal = 3 years
    149 fee_withdraw = TESTKUDOS:0.01
    150 fee_deposit = TESTKUDOS:0.01
    151 fee_refresh = TESTKUDOS:0.03
    152 fee_refund = TESTKUDOS:0.01
    153 rsa_keysize = 1024
    154 CIPHER = RSA
    155 
    156 [coin_kudos_1]
    157 value = TESTKUDOS:1
    158 duration_withdraw = 7 days
    159 duration_spend = 2 years
    160 duration_legal = 3 years
    161 fee_withdraw = TESTKUDOS:0.02
    162 fee_deposit = TESTKUDOS:0.02
    163 fee_refresh = TESTKUDOS:0.03
    164 fee_refund = TESTKUDOS:0.01
    165 rsa_keysize = 1024
    166 CIPHER = RSA
    167 
    168 [coin_kudos_2]
    169 value = TESTKUDOS:2
    170 duration_withdraw = 7 days
    171 duration_spend = 2 years
    172 duration_legal = 3 years
    173 fee_withdraw = TESTKUDOS:0.03
    174 fee_deposit = TESTKUDOS:0.03
    175 fee_refresh = TESTKUDOS:0.04
    176 fee_refund = TESTKUDOS:0.02
    177 rsa_keysize = 1024
    178 CIPHER = RSA
    179 
    180 [coin_kudos_4]
    181 value = TESTKUDOS:4
    182 duration_withdraw = 7 days
    183 duration_spend = 2 years
    184 duration_legal = 3 years
    185 fee_withdraw = TESTKUDOS:0.03
    186 fee_deposit = TESTKUDOS:0.03
    187 fee_refresh = TESTKUDOS:0.04
    188 fee_refund = TESTKUDOS:0.02
    189 rsa_keysize = 1024
    190 CIPHER = RSA
    191 
    192 [coin_kudos_5]
    193 value = TESTKUDOS:5
    194 duration_withdraw = 7 days
    195 duration_spend = 2 years
    196 duration_legal = 3 years
    197 fee_withdraw = TESTKUDOS:0.01
    198 fee_deposit = TESTKUDOS:0.01
    199 fee_refresh = TESTKUDOS:0.03
    200 fee_refund = TESTKUDOS:0.01
    201 rsa_keysize = 1024
    202 CIPHER = RSA
    203 
    204 [coin_kudos_8]
    205 value = TESTKUDOS:8
    206 duration_withdraw = 7 days
    207 duration_spend = 2 years
    208 duration_legal = 3 years
    209 fee_withdraw = TESTKUDOS:0.05
    210 fee_deposit = TESTKUDOS:0.02
    211 fee_refresh = TESTKUDOS:0.03
    212 fee_refund = TESTKUDOS:0.04
    213 rsa_keysize = 1024
    214 CIPHER = RSA
    215 
    216 [coin_kudos_10]
    217 value = TESTKUDOS:10
    218 duration_withdraw = 7 days
    219 duration_spend = 2 years
    220 duration_legal = 3 years
    221 fee_withdraw = TESTKUDOS:0.01
    222 fee_deposit = TESTKUDOS:0.01
    223 fee_refresh = TESTKUDOS:0.03
    224 fee_refund = TESTKUDOS:0.01
    225 rsa_keysize = 1024
    226 CIPHER = RSA