View Issue Details

IDProjectCategoryView StatusLast Update
0010256Talersandcastle (containerized demo deployment)public2025-08-19 21:55
Reportersebasjm Assigned ToAntoine A  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Target Version1.0 stretch goals 
Summary0010256: bank reports wrong payto URI
DescriptionCreate a normal withdrawal

$ taler-wallet-cli handle-uri 'taler://withdraw/bank.demo.taler.net/taler-integration/786555b7-0167-4c8a-94b5-9160ad624277'

Then payto host is wrong, "sandcastle" instead of "bank.demo.taler.net"

$ taler-wallet-cli transactions | jq '.transactions[0].withdrawalDetails.exchangeCreditAccountDetails[0].paytoUri'
"payto://x-taler-bank/sandcastle/exchange?receiver-name=Sandcastle%20Echange%20Inc&amount=KUDOS%3A5"

Also, confirmation URL contains a hardcoded port

$ taler-wallet-cli transactions | jq '.transactions[0].withdrawalDetails.bankConfirmationUrl'
"https://bank.demo.taler.net:443/webui/#/operation/786555b7-0167-4c8a-94b5-9160ad624277"

Next, the bank account in wallet-core is "localhost", which is double wrong (maybe is using localhost when the x-taler-bank host can't be resolved)

$ taler-wallet-cli bank-accounts list
Bank accounts: {
  "accounts": [
    {
      "bankAccountId": "acct:3GT0FEM2HC9CKX6B4VY1CE76ZHBRX5Y16ZH13ZANK0XMD94N323G",
      "paytoUri": "payto://x-taler-bank/localhost/sebasjm2?receiver-name=other%20sebasjm",
      "kycCompleted": false,
      "currencies": [
        "KUDOS"
      ]
    }
  ]
}


This maybe a sancastle's configuration problem
TagsNo tags attached.

Activities

Florian Dold

2025-08-19 21:55

manager   ~0025659

The URI with `sandcastle` as the host is simply the configuration. It doesn't really matter that it's not the real domain, it should be treated opaquely. But we can of course adjust the config.

@Antoine: How does libeufin-bank determine which hostname to use for its internal bank account names? Is/should there be an option? In general, does libeufin-bank even take the domain into account or does it ignore it?

Issue History

Date Modified Username Field Change
2025-08-18 15:49 sebasjm New Issue
2025-08-18 20:41 Christian Grothoff Assigned To => Florian Dold
2025-08-18 20:41 Christian Grothoff Status new => assigned
2025-08-19 21:55 Florian Dold Note Added: 0025659
2025-08-19 21:55 Florian Dold Assigned To Florian Dold => Antoine A