View Issue Details

IDProjectCategoryView StatusLast Update
0009239Talermechant backendpublic2024-10-02 22:44
Reportersebasjm Assigned ToChristian Grothoff  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version0.14 
Target Version0.14Fixed in Version0.14 
Summary0009239: i can't pay at the merchant with kyc enabled
Descriptionwallet is getting 451 on /deposit

merchant backend returns [1] for /kyc, looks like there is a pending kyc

i have already sent some money from the merchant account to the exchange account, didn't bounce [2]

then i found some errors in merchant kyc logs [3]

ALSO

check in [1] that there is a strange access token with all 00000

[1]
{
  "kyc_data": [
    {
      "payto_uri": "payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant",
      "exchange_url": "http://exchange.taler.test:1180/",
      "no_keys": false,
      "auth_conflict": false,
      "exchange_http_status": 204,
      "limits": [],
      "payto_kycauths": [
        "payto://iban/DE9714548806481?receiver-name=Exchanger+Normal&message=KYC:HJWCVVX5P0MMKVJVQ2ACBBRFZ1Z2PX281PWYWR9080W904BJPGSG"
      ]
    },
    {
      "payto_uri": "payto://iban/DE1327812254798?receiver-name=the%20name%20of%20the%20merchant",
      "exchange_url": "https://exchange.demo.taler.net/",
      "no_keys": false,
      "auth_conflict": false,
      "exchange_http_status": 400,
      "exchange_code": 26,
      "access_token": "0000000000000000000000000000000000000000000000000000",
      "limits": []
    }
  ]
}



[2]
15:40:09 - YEIN 1 DE9714548806481 KYC:HJWCVVX5P0MMKVJVQ2ACBBRFZ1Z2PX281PWYWR9080W904BJPGSG


[3]

INFO Executing PQ command `LISTEN XDQM4Z4N0D3GX0H9JEXH70EBC2T3KY7HC0TJB0Z60D2H781RXR6AG'
ERROR Expected 8 bytes for field `access_token', got 32
ERROR Assertion failed at pq_result_helper.c:198.
ERROR Failed to extract field `access_token'
ERROR Assertion failed at pq.c:191.
ERROR Assertion failed at taler-merchant-kyccheck.c:771.
INFO Running shutdown
TagsNo tags attached.

Activities

Christian Grothoff

2024-10-01 20:55

manager   ~0023418

That's bad, we shouldn't return an access token with all-zeros. Looking into it.

Christian Grothoff

2024-10-02 22:44

manager   ~0023431

Trivial SQL auto param bug, fixed in 90c4c6da..c04113bf.

Issue History

Date Modified Username Field Change
2024-10-01 20:47 sebasjm New Issue
2024-10-01 20:47 sebasjm Status new => assigned
2024-10-01 20:47 sebasjm Assigned To => Christian Grothoff
2024-10-01 20:55 Christian Grothoff Note Added: 0023418
2024-10-02 22:44 Christian Grothoff Note Added: 0023431
2024-10-02 22:44 Christian Grothoff Status assigned => resolved
2024-10-02 22:44 Christian Grothoff Resolution open => fixed
2024-10-02 22:44 Christian Grothoff Fixed in Version => 0.14