taler-mdb.conf (1380B)
1 # This is a reference configuration. Adjust to your needs! 2 3 [taler-mdb] 4 # Where is our backend? 5 BACKEND_BASE_URL = http://backend.demo.taler.net/ 6 7 # Secret key to talk to *all* instances we use. 8 BACKEND_AUTHORIZATION = "Bearer secret-token:sandbox" 9 10 # Program to use to show ads. 11 ADVERTISEMENT_COMMAND = taler-mdb-ads.sh -c /etc/taler-mdb.conf 12 13 # Message to diplay after purchase is completed, 14 FULFILLMENT_MSG = Enjoy your ${PRODUCT_DESCRIPTION} 15 16 # Command to run to show failures. 17 FAIL_COMMAND = taler-mdb-show.sh -c /etc/taler-mdb.conf 18 19 # Name of the UART where the MDB connector is reachable. 20 UART_DEVICE = /dev/ttyAMA0 21 22 # Name of the framebuffer to use for the QR code. 23 FRAMEBUFFER_DEVICE = /dev/fb1 24 25 # Name of the backlight file for the framebuffer 26 FRAMEBUFFER_BACKLIGHT = /sys/class/backlight/soc:backlight/brightness 27 28 # ESSID for open WLAN to offer to clients. 29 ESSID = snack 30 31 #Products 32 #If sold out is enabled, products with description "empty" will be registered as sold out. 33 34 # Use different "product-" section names for the various products. 35 36 [product-sample] 37 # Text to show to the user 38 DESCRIPTION = sample-text 39 # How much to charge 40 PRICE = KUDOS:0.1 41 # MDB bus number 42 NUMBER = 31 43 44 45 # Optional: use another instance 46 # INSTANCE = http://backend.test.taler.net/instances/foo/ 47 48 # Secret key to talk to this instance. 49 # BACKEND_AUTHORIZATION = "Bearer secret-token:sandbox"