View Issue Details

IDProjectCategoryView StatusLast Update
0007608Talerwallet-corepublic2023-02-19 13:43
Reportersebasjm Assigned ToFlorian Dold  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Versiongit (master) 
Target 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.

Activities

sebasjm

2023-01-26 21:12

developer  

Selection_388.png (81,484 bytes)   
Selection_388.png (81,484 bytes)   

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