taler
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Taler] Taler issue with Nix


From: Florian Dold
Subject: Re: [Taler] Taler issue with Nix
Date: Wed, 18 Sep 2024 14:10:13 +0200

Hi Fedi,

Does the insufficient balance info still persist with the correctly configured merchant account? If not, did you configure the exchange in the merchant configuration? (See https://docs.taler.net/manpages/taler.conf.5.html#known-exchanges-for-merchants).

The trusted exchanges can't be configured via the API, but must be set in the configuration in /etc/taler.

Regarding local domains: I've opened a bug for this, the merchant backoffice Web app is doing over-eager validation: https://bugs.gnunet.org/view.php?id=9198

What you're describing regarding transactions to the exchange: That all seems totally expected! The exchange account should not receive a sign-up bonus, it should bounce transactions that do not contain a reserve public key, and when you withdraw, the wallet receives digitally signed coins, and the exchange in turn receives a wire transfer over the same amount.

Best,
Florian

On Mon, Sep 16, 2024 at 5:14 PM Fedi Jamoussi via Taler <taler@gnu.org> wrote:
Dear GNU Taler developers,

I was wondering if any progress has been made in solving the "insufficient balance" issue and whether the observations I presented in my previous email could be relevant to this.

Best Regards,
Fedi

On Wednesday, September 11th, 2024 at 1:11 PM, Fedi Jamoussi <Fedi.Jamoussi@protonmail.ch> wrote:
Apologies for the slight delay, but the previous e-mail didn't reach me.

The merchant's bank account is being registered successfully:

# Register merchant bank account
libeufin-bank \
    create-account \
    -c "${bankConfig}" \
    --username merchant \
    --password merchant \
    --name Merchant \
    --payto_uri="payto://iban/SANDBOXX/CH7789144474425692816?receiver-name=Merchant"

And I can see it in the bank's WebUI and even send funds to it from other accounts.

# Add bank account to merchant
curl -X POST \
    -H 'Content-Type: application/json' \
    --data '{ "payto_uri": "payto://iban/SANDBOXX/CH7789144474425692816?receiver-name=Merchant",
"credit_facade_url": "http://bank:8082/accounts/merchant/taler-revenue/",
"credit_facade_credentials":{"type":"basic","username":"merchant","password":"merchant"} }' \
    -sSfL 'http://merchant:8083/private/accounts'

From the merchant's WebUI, I also don't have any problems when I sync the revenue information. Just a small note, though, I can't enter the local hostname manually with x-taler-bank, but it works when registering it through "/private/accounts".

Screenshot from 2024-09-11 12-58-20.png

However, I did notice that the exchange's bank account does not receive the login bonus. Trying to send funds to that account also results in a "Bounce 12: malformed metadata: Missing reserve public key" error. Moreover, when making a money transfer from the user's bank account to the wallet, I see the same amount of funds in the exchange account's in addition to them being received in the wallet.

Screenshot from 2024-09-11 13-02-59.png

Is the exchange unable to properly wire funds, perhaps?

PS: I can reproduce this issue both when using x-taler-bank and iban.

-- 
Best Regards,
Fedi


reply via email to

[Prev in Thread] Current Thread [Next in Thread]