merchant

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

test.conf (4334B)


      1 # This file is in the public domain.
      2 #
      3 [PATHS]
      4 # Persistent data storage for the testcase
      5 TALER_TEST_HOME = test_merchant_api_home/
      6 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/
      7 
      8 # Persistent data storage
      9 TALER_DATA_HOME = $TALER_HOME/.local/share/taler/
     10 
     11 # Configuration files
     12 TALER_CONFIG_HOME = $TALER_HOME/.config/taler/
     13 
     14 # Cached data, no big deal if lost
     15 TALER_CACHE_HOME = $TALER_HOME/.cache/taler/
     16 
     17 [taler]
     18 # What currency do we use?
     19 CURRENCY = EUR
     20 CURRENCY_ROUND_UNIT = EUR:0.01
     21 
     22 [taler-helper-crypto-rsa]
     23 # Reduce from 1 year to speed up test
     24 LOOKAHEAD_SIGN = 24 days
     25 
     26 [taler-helper-crypto-eddsa]
     27 # Reduce from 1 year to speed up test
     28 LOOKAHEAD_SIGN = 24 days
     29 # Reduce from 12 weeks to ensure we have multiple
     30 DURATION = 14 days
     31 
     32 [bank]
     33 HTTP_PORT = 8082
     34 
     35 ##########################################
     36 # Configuration for the merchant backend #
     37 ##########################################
     38 
     39 [merchant]
     40 
     41 # Which port do we run the backend on? (HTTP server)
     42 PORT = 8080
     43 
     44 # Which plugin (backend) do we use for the DB.
     45 DB = postgres
     46 
     47 # This specifies which database the postgres backend uses.
     48 [merchantdb-postgres]
     49 CONFIG = postgres:///talercheck
     50 
     51 # Sections starting with "merchant-exchange-" specify trusted exchanges
     52 # (by the merchant)
     53 [merchant-exchange-test]
     54 MASTER_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG
     55 EXCHANGE_BASE_URL = http://localhost:8081/
     56 CURRENCY = EUR
     57 
     58 
     59 #######################################################
     60 # Configuration for the auditor for the testcase
     61 #######################################################
     62 [auditor]
     63 BASE_URL = http://the.auditor/
     64 
     65 
     66 #######################################################
     67 # Configuration for ??? Is this used?
     68 #######################################################
     69 
     70 # Auditors must be in sections "auditor-", the rest of the section
     71 # name could be anything.
     72 [auditor-ezb]
     73 # Informal name of the auditor. Just for the user.
     74 NAME = European Central Bank
     75 
     76 # URL of the auditor (especially for in the future, when the
     77 # auditor offers an automated issue reporting system).
     78 # Not really used today.
     79 URL = http://taler.ezb.eu/
     80 
     81 # This is the important bit: the signing key of the auditor.
     82 PUBLIC_KEY = 9QXF7XY7E9VPV47B5Z806NDFSX2VJ79SVHHD29QEQ3BG31ANHZ60
     83 
     84 # Which currency is this auditor trusted for?
     85 CURRENCY = EUR
     86 
     87 
     88 ###################################################
     89 # Configuration for the exchange for the testcase #
     90 ###################################################
     91 
     92 [exchange]
     93 # A purse must not outlive the denominations of the coins in it, see the
     94 # comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf.
     95 PURSE_EXPIRATION_LIMIT = 3 years
     96 # How to access our database
     97 DB = postgres
     98 
     99 # HTTP port the exchange listens to
    100 PORT = 8081
    101 
    102 # Our public key
    103 MASTER_PUBLIC_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG
    104 
    105 # Base URL of the exchange.
    106 BASE_URL = "http://localhost:8081/"
    107 
    108 
    109 [exchangedb-postgres]
    110 CONFIG = "postgres:///talercheck"
    111 
    112 
    113 [auditordb-postgres]
    114 CONFIG = postgres:///talercheck
    115 
    116 
    117 # Account of the EXCHANGE
    118 [exchange-account-exchange]
    119 # What is the exchange's bank account (with the "Taler Bank" demo system)?
    120 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2"
    121 ENABLE_DEBIT = YES
    122 ENABLE_CREDIT = YES
    123 
    124 [exchange-accountcredentials-exchange]
    125 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/"
    126 WIRE_GATEWAY_AUTH_METHOD = NONE
    127 
    128 
    129 [coin_eur_ct_1]
    130 value = EUR:0.01
    131 duration_withdraw = 7 days
    132 duration_spend = 2 years
    133 duration_legal = 3 years
    134 fee_withdraw = EUR:0.00
    135 fee_deposit = EUR:0.00
    136 fee_refresh = EUR:0.01
    137 fee_refund = EUR:0.01
    138 rsa_keysize = 1024
    139 CIPHER = CS
    140 
    141 [coin_eur_ct_10]
    142 value = EUR:0.10
    143 duration_withdraw = 7 days
    144 duration_spend = 2 years
    145 duration_legal = 3 years
    146 fee_withdraw = EUR:0.01
    147 fee_deposit = EUR:0.01
    148 fee_refresh = EUR:0.03
    149 fee_refund = EUR:0.01
    150 rsa_keysize = 1024
    151 CIPHER = CS
    152 
    153 [coin_eur_1]
    154 value = EUR:1
    155 duration_withdraw = 7 days
    156 duration_spend = 2 years
    157 duration_legal = 3 years
    158 fee_withdraw = EUR:0.01
    159 fee_deposit = EUR:0.01
    160 fee_refresh = EUR:0.03
    161 fee_refund = EUR:0.01
    162 rsa_keysize = 1024
    163 CIPHER = CS
    164 
    165 [coin_eur_5]
    166 value = EUR:5
    167 duration_withdraw = 7 days
    168 duration_spend = 2 years
    169 duration_legal = 3 years
    170 fee_withdraw = EUR:0.01
    171 fee_deposit = EUR:0.01
    172 fee_refresh = EUR:0.03
    173 fee_refund = EUR:0.01
    174 rsa_keysize = 1024
    175 CIPHER = CS