View Issue Details

IDProjectCategoryView StatusLast Update
0010586Talermerchant backendpublic2025-11-15 18:47
Reportersebasjm Assigned Tosebasjm  
PrioritynormalSeverityminorReproducibilityrandom
Status assignedResolutionopen 
Target Version1.3 
Summary0010586: acces token to null
Description{
  "kyc_data": [
    {
      "payto_uri": "payto://iban/DE35444554329245605098?receiver-name=merch",
      "h_wire": "51F5G9Z0TVCTPEHSME171BWC1QB22XW4Z353N8CP9A6EX7N4GW786FJJBSH6M35QNZ7XJQ0624BWWZEQRAPWD94KGFYYABJ0WB5MVJ0",
      "status": "kyc-wire-required",
      "exchange_url": "http://exchange.taler.test/",
      "no_keys": false,
      "auth_conflict": false,
      "exchange_http_status": 204,
      "limits": [
        {
          "operation_type": "DEPOSIT",
          "timeframe": {
            "d_us": 0
          },
          "threshold": "KUDOS:0",
          "soft_limit": true
        }
      ],
      "payto_kycauths": [
        "payto://iban/DE6632815720648?receiver-name=Exchanger+Conver&message=KYC:CNWJ8MK79M9987219KSAQ19TRFX3N7T8MM0W6QY1Q43QFDMM1EX0"
      ]
    },
    {
      "payto_uri": "payto://iban/DE1327812254798?receiver-name=the%20name%20of%20merchant",
      "h_wire": "3D471873DVTQ9K76CA8CBTK3EP3NM42W9XVFKCB1S2TCZMCA3W2GNGRJM8QQ7M9HK80PT1DQQB4KQV0Y7MHGQMAVJRHT1CB3TGWNHPR",
      "status": "kyc-required",
      "exchange_url": "http://exchange.taler.test/",
      "no_keys": false,
      "auth_conflict": false,
      "exchange_http_status": 204,
      "access_token": "0000000000000000000000000000000000000000000000000000",
      "limits": [
        {
          "operation_type": "DEPOSIT",
          "timeframe": {
            "d_us": 0
          },
          "threshold": "KUDOS:0",
          "soft_limit": true
        }
      ]
    }
  ]
}


Steps To Reproducenot sure, but if it is not clear i may try to reproduce it on a int test
Additional Informationworking on another issue. I have my merchant instance with a bank account (DE1327812254798) which was already on "kyc ok" after doing all the kyc steps (including opening an account on the exchange)

After that, I made some testing setting kyc off on the exchange configuration including stop/start.
I have enabled kyc again and the bank account (DE1327812254798) was ok.

After adding a new account (DE35444554329245605098) the first one went nuts.

I didn't expect that, it shouldn't change if there was no transactions or action on aml-spa
TagsNo tags attached.

Activities

Christian Grothoff

2025-11-15 18:47

manager   ~0026463

This is very much not obvious what is going on here. Code looks fine, both when the data is retrieved from the DB as well as the inserts. I also don't see how the 2nd account could play a role. I think a reproducer would be great, I'd want to see the logs *and* the final DB state *and* all the DB queries, so best with a reproducer. Plus we need one to test the fix and prevent regressions.

Issue History

Date Modified Username Field Change
2025-11-11 17:02 sebasjm New Issue
2025-11-15 16:01 Christian Grothoff Assigned To => Christian Grothoff
2025-11-15 16:01 Christian Grothoff Status new => assigned
2025-11-15 16:01 Christian Grothoff Severity major => minor
2025-11-15 16:01 Christian Grothoff Target Version => 1.2
2025-11-15 18:45 Christian Grothoff Target Version 1.2 => 1.3
2025-11-15 18:47 Christian Grothoff Note Added: 0026463
2025-11-15 18:47 Christian Grothoff Assigned To Christian Grothoff => sebasjm