merchant

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

test_template.conf (5140B)


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