merchant

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

test.conf (4159B)


      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 # How to access our database
     94 DB = postgres
     95 
     96 # HTTP port the exchange listens to
     97 PORT = 8081
     98 
     99 # Our public key
    100 MASTER_PUBLIC_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG
    101 
    102 # Base URL of the exchange.
    103 BASE_URL = "http://localhost:8081/"
    104 
    105 
    106 [exchangedb-postgres]
    107 CONFIG = "postgres:///talercheck"
    108 
    109 
    110 [auditordb-postgres]
    111 CONFIG = postgres:///talercheck
    112 
    113 
    114 # Account of the EXCHANGE
    115 [exchange-account-exchange]
    116 # What is the exchange's bank account (with the "Taler Bank" demo system)?
    117 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2"
    118 ENABLE_DEBIT = YES
    119 ENABLE_CREDIT = YES
    120 
    121 [exchange-accountcredentials-exchange]
    122 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/"
    123 WIRE_GATEWAY_AUTH_METHOD = NONE
    124 
    125 
    126 [coin_eur_ct_1]
    127 value = EUR:0.01
    128 duration_withdraw = 7 days
    129 duration_spend = 2 years
    130 duration_legal = 3 years
    131 fee_withdraw = EUR:0.00
    132 fee_deposit = EUR:0.00
    133 fee_refresh = EUR:0.01
    134 fee_refund = EUR:0.01
    135 rsa_keysize = 1024
    136 CIPHER = CS
    137 
    138 [coin_eur_ct_10]
    139 value = EUR:0.10
    140 duration_withdraw = 7 days
    141 duration_spend = 2 years
    142 duration_legal = 3 years
    143 fee_withdraw = EUR:0.01
    144 fee_deposit = EUR:0.01
    145 fee_refresh = EUR:0.03
    146 fee_refund = EUR:0.01
    147 rsa_keysize = 1024
    148 CIPHER = CS
    149 
    150 [coin_eur_1]
    151 value = EUR:1
    152 duration_withdraw = 7 days
    153 duration_spend = 2 years
    154 duration_legal = 3 years
    155 fee_withdraw = EUR:0.01
    156 fee_deposit = EUR:0.01
    157 fee_refresh = EUR:0.03
    158 fee_refund = EUR:0.01
    159 rsa_keysize = 1024
    160 CIPHER = CS
    161 
    162 [coin_eur_5]
    163 value = EUR:5
    164 duration_withdraw = 7 days
    165 duration_spend = 2 years
    166 duration_legal = 3 years
    167 fee_withdraw = EUR:0.01
    168 fee_deposit = EUR:0.01
    169 fee_refresh = EUR:0.03
    170 fee_refund = EUR:0.01
    171 rsa_keysize = 1024
    172 CIPHER = CS