View Issue Details

IDProjectCategoryView StatusLast Update
0007608Talerwallet-corepublic2023-09-23 15:09
Reportersebasjm Assigned ToFlorian Dold  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007608: money seems to be lost after trying to pay an expired order
DescriptionAfter paying an order that is expired, the transaction report the error [1]. After some time transition to error [2], which seems fine since backend removed the order from database.

The problems is that the wallet is expected to get the money backend from the payment that failed.

In the screenshot below just 2 order ended correctly, one with amount 20 and 5.8
Expected balance 46.8 = 24.2+24.2+24.2-20-5.8
Current balance 11.1

1.-
{
  "context": [],
  "cause": {
    "details": {
      "code": 7005,
      "when": {
        "t_ms": 1674760175679
      },
      "hint": "Unexpected HTTP status 410 in response",
      "requestUrl": "https://merchant-backend.taler.ar/orders/2023.026-0308KH9SVV2E4/pay",
      "requestMethod": "POST",
      "httpStatusCode": 410,
      "errorResponse": {
        "code": 2161,
        "hint": "The payment is too late, the offer has expired."
      }
    }
  }
}

2.-
{
  "context": [],
  "cause": {
    "details": {
      "code": 7005,
      "when": {
        "t_ms": 1674763629468
      },
      "hint": "Unexpected HTTP status 404 in response",
      "requestUrl": "https://merchant-backend.taler.ar/orders/2023.026-0308KH9SVV2E4/pay",
      "requestMethod": "POST",
      "httpStatusCode": 404,
      "errorResponse": {
        "code": 2005,
        "hint": "The proposal is not known to the backend.",
        "detail": "2023.026-0308KH9SVV2E4"
      }
    }
  }
}
TagsNo tags attached.
Attached Files
Selection_388.png (81,484 bytes)   
Selection_388.png (81,484 bytes)   

Activities

Florian Dold

2023-07-24 10:47

manager   ~0020360

I'm keeping this open because while I *think* that this has been resolved, I want to test it manually to confirm.

Florian Dold

2023-09-05 11:39

manager   ~0020497

The recovered balance is now checked in the test-payment-expired integration test.

Issue History

Date Modified Username Field Change
2023-01-26 21:12 sebasjm New Issue
2023-01-26 21:12 sebasjm Status new => assigned
2023-01-26 21:12 sebasjm Assigned To => Florian Dold
2023-01-26 21:12 sebasjm File Added: taler-wallet-database-2023_01_26_17_06.json
2023-01-26 21:12 sebasjm File Added: Selection_388.png
2023-02-19 13:43 Florian Dold Target Version 0.9.2 => 0.9.3
2023-04-13 20:36 Florian Dold Category wallet (TS core) => wallet-core
2023-07-24 10:47 Florian Dold Note Added: 0020360
2023-09-05 11:39 Florian Dold Status assigned => resolved
2023-09-05 11:39 Florian Dold Resolution open => fixed
2023-09-05 11:39 Florian Dold Note Added: 0020497
2023-09-23 15:07 Christian Grothoff Fixed in Version => 0.9.3
2023-09-23 15:09 Christian Grothoff Status resolved => closed