taler
[Top][All Lists]
Advanced

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

Re: [Taler] Taler issue with Nix


From: Fedi Jamoussi
Subject: Re: [Taler] Taler issue with Nix
Date: Mon, 23 Sep 2024 20:26:27 +0000

Dear GNU Taler developers,

I'm happy to share that after some rigorous debugging, the "insufficient balance" issue has been successfully solved.

Indeed, the merchant account was correctly configured since I was able to sync it from the WebUI and the exchange was also adequately added to the merchant's trusted exchanges through the config file.

Furthermore, from Florian's previous explanation, the issue was unlikely in the exchange's bank account considering that's how it was designed to work, or the bank itself as normal accounts seemed to be working properly.

This left the wallet or the exchange as potential causes, and indeed it turned out that the problem was the wallet skipping the exchange because the wire fees were not set up:

skipping http://exchange:8081/ due to missing wire info mismatch

This made the wallet unable to pay for the order and falsely reported that the balance was insufficient. Once the wire fees were set up correctly, the order was paid without issues:

Screenshot from 2024-09-23 18-51-49.png

In this regard, If you'd like to reproduce this, it's probably enough to not configure the wire fees and try paying for an order.

That said, I suggest improving the "insufficient balance" message to better indicate when the wire fees are missing or maybe introduce a warning/error to the exchange since this seems necessary for it to function correctly.

Finally, I'd like to thank you all for your help in solving the issue. I originally posted this to the mailing list since the Contact Overview page mentioned that it was alright, but I'm curious to know if it's preferred to use the bug tracker, instead.

-- 
Best Regards,
Fedi
On Wednesday, September 18th, 2024 at 1:10 PM, Florian Dold <florian.dold@gmail.com> wrote:
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_credentials":{"type":"basic","username":"merchant","password":"merchant"} }' \

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


Attachment: publickey - Fedi.Jamoussi@protonmail.ch - 0x06867E3C.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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