merchant

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

test_merchant_api.conf (3577B)


      1 # This file is in the public domain.
      2 #
      3 [PATHS]
      4 TALER_TEST_HOME = test_merchant_api_home/
      5 DONAU_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/donau-system-runtime/
      6 
      7 [taler-helper-crypto-rsa]
      8 LOOKAHEAD_SIGN = 10 days
      9 
     10 [donau-helper-crypto-rsa]
     11 LOOKAHEAD_SIGN = 10 days
     12 
     13 [taler-helper-crypto-eddsa]
     14 LOOKAHEAD_SIGN = 24 days
     15 DURATION = 14 days
     16 
     17 [bank]
     18 HTTP_PORT = 8082
     19 
     20 [merchant-exchange-chf]
     21 DISABLED = YES
     22 
     23 [merchant-exchange-kudos]
     24 DISABLED = YES
     25 
     26 [libeufin-bank]
     27 CURRENCY = EUR
     28 WIRE_TYPE = x-taler-bank
     29 X_TALER_BANK_PAYTO_HOSTNAME = localhost
     30 ALLOW_REGISTRATION = YES
     31 IBAN_PAYTO_BIC = SANDBOXX
     32 DEFAULT_CUSTOMER_DEBT_LIMIT = EUR:200
     33 DEFAULT_ADMIN_DEBT_LIMIT = EUR:2000
     34 REGISTRATION_BONUS_ENABLED = yes
     35 REGISTRATION_BONUS = EUR:100
     36 SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/
     37 SERVE = tcp
     38 PORT = 8082
     39 PWD_HASH_CONFIG = { "cost": 4 }
     40 PWD_AUTH_COMPAT = yes
     41 BASE_URL = http://localhost:8082/
     42 
     43 [merchant]
     44 CURRENCY = EUR
     45 PORT = 8080
     46 SERVE = tcp
     47 DB = postgres
     48 STRICT_PROTOCOL_V19 = YES
     49 BASE_URL = http://localhost:8080/
     50 
     51 [merchantdb-postgres]
     52 CONFIG = postgres:///talercheck
     53 SQL_DIR = ${DATADIR}sql/
     54 
     55 [merchant-exchange-test]
     56 MASTER_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG
     57 EXCHANGE_BASE_URL = http://localhost:8081/
     58 CURRENCY = EUR
     59 
     60 [exchange]
     61 # A purse must not outlive the denominations of the coins in it, see the
     62 # comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf.
     63 PURSE_EXPIRATION_LIMIT = 3 years
     64 CURRENCY = EUR
     65 CURRENCY_ROUND_UNIT = EUR:0.01
     66 TINY_AMOUNT = EUR:0.01
     67 PORT = 8081
     68 MASTER_PUBLIC_KEY = KHA6YSPRQV1ZFCF144SY8KJNR588XA8DA0F6510FKJW30DJFJNAG
     69 BASE_URL = "http://localhost:8081/"
     70 STEFAN_ABS = "EUR:5"
     71 ENABLE_KYC = NO
     72 
     73 [exchangedb-postgres]
     74 CONFIG = "postgres:///talercheck"
     75 
     76 [auditor]
     77 BASE_URL = "http://localhost:8083/"
     78 AUDITOR_PRIV_FILE = ${TALER_DATA_HOME}/auditor/offline-keys/auditor.priv
     79 DB = postgres
     80 PUBLIC_KEY = A29P1DRGXVTJZV1HFG251QPAW3ZTC681ZJWXB1T0RWGPE2HQSGZG
     81 TALER_AUDITOR_SALT = test
     82 TINY_AMOUNT = EUR:0.01
     83 
     84 [auditordb-postgres]
     85 CONFIG = postgres:///talercheck
     86 
     87 [exchange-account-exchange]
     88 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2"
     89 ENABLE_DEBIT = YES
     90 ENABLE_CREDIT = YES
     91 
     92 [exchange-accountcredentials-exchange]
     93 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/"
     94 WIRE_GATEWAY_AUTH_METHOD = NONE
     95 
     96 [admin-accountcredentials-exchange]
     97 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/"
     98 WIRE_GATEWAY_AUTH_METHOD = NONE
     99 
    100 [donau]
    101 TERMS_ETAG = tos
    102 CURRENCY = EUR
    103 PRIVACY_ETAG = 0
    104 PORT = 8079
    105 DB = postgres
    106 LEGAL_DOMAIN = "Bern"
    107 BASE_URL = "http://localhost:8079/"
    108 SERVE = tcp
    109 EXPIRE_IDLE_SLEEP_INTERVAL ="1 s"
    110 EXPIRE_LEGAL_YEARS = 5
    111 
    112 [donaudb-postgres]
    113 CONFIG = "postgres:///talercheck"
    114 
    115 [donau-secmod-cs]
    116 ANCHOR_ROUND = 1 year
    117 LOOKAHEAD_SIGN = "367 days"
    118 KEY_DIR = ${TALER_TEST_HOME}taler/exchange-secmod-cs/keys
    119 OVERLAP_DURATION = 0
    120 SM_PRIV_KEY = ${DONAU_RUNTIME_DIR}donau-secmod-cs/secmod-private-key
    121 UNIXPATH = ${DONAU_RUNTIME_DIR}donau-secmod-cs/server.sock
    122 
    123 [donau-secmod-rsa]
    124 ANCHOR_ROUND = 1 year
    125 LOOKAHEAD_SIGN = "367 days"
    126 KEY_DIR = ${TALER_TEST_HOME}taler/exchange-secmod-rsa/keys
    127 OVERLAP_DURATION = 0
    128 SM_PRIV_KEY = ${DONAU_RUNTIME_DIR}donau-secmod-rsa/secmod-private-key
    129 UNIXPATH = ${DONAU_RUNTIME_DIR}donau-secmod-rsa/server.sock
    130 
    131 [donau-secmod-eddsa]
    132 ANCHOR_ROUND = 1 year
    133 LOOKAHEAD_SIGN = "24 days"
    134 DURATION = "14 days"
    135 KEY_DIR = ${TALER_TEST_HOME}taler/exchange-secmod-eddsa/keys
    136 OVERLAP_DURATION = 0
    137 SM_PRIV_KEY = ${DONAU_RUNTIME_DIR}donau-secmod-eddsa/secmod-private-key
    138 UNIXPATH = ${DONAU_RUNTIME_DIR}donau-secmod-eddsa/server.sock