merchant

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

test_template.conf (5320B)


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