|
From: | Florian Jung |
Subject: | Re: [Taler] Cashdesk with GNU Taler? |
Date: | Tue, 6 Dec 2022 01:09:18 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
Hi Christian,
You need to create another (non-exchange) bank account with credentials in the libeufin-sandbox, and then give the respective username/password to the cashier app, using "$ENDPOINT/demobanks/default" for the URL (yes, a bit awkward, on my list to get fixed).
I tried this, but the cashier app only says "Fehler beim Abrufen der Konfiguration: %s" (yes, with the %s part. I'd love to see the reason :D)
Using superuser credentials instead of normal ones also does not
help.
(The API address i used was:
http://myhostname:5016/demobanks/default, which is accessible (but
403) from my phone's browser.)
Additionally, you either need to have configured the sandbox to allow negative balances OR make a 'fake' wire transfer to that user's bank account to get money into the system to withdraw.
I didn't do that, though. But that shouldn't cause the above problem, should it?
Last but not least, if you enable self-registration in libeufin-sandbox, you could also use the $ENDPOINT/webui/ to create accounts and initiate withdrawals.How do I enable this? I have "allowRegistrations" set to true, is that what you mean?
curl -u admin:ZRLTTikeUbIJjAB6C7pS --basic localhost:5016/demobanks/default
{
"currency" : "MANA",
"name" : "default",
"userDebtLimit" : 1000,
"bankDebtLimit" : 1000000,
"allowRegistrations" : true <--- does that mean it's enabled?
However, the /webui endpoint 404s for me. Is my sandbox version (built from git ~2 weeks ago) too old?
Thanks for your help,
Florian
[Prev in Thread] | Current Thread | [Next in Thread] |