View Issue Details

IDProjectCategoryView StatusLast Update
0007608Talerwallet-corepublic2023-09-23 13:09
Reportersebasjm Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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)   

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Florian Dold

2023-07-24 08: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 09:39

manager   ~0020497

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

Issue History

Date ModifiedUsernameFieldChange
2023-01-26 20:12sebasjmNew Issue
2023-01-26 20:12sebasjmStatusnew => assigned
2023-01-26 20:12sebasjmAssigned To => Florian Dold
2023-01-26 20:12sebasjmFile Added: taler-wallet-database-2023_01_26_17_06.json
2023-01-26 20:12sebasjmFile Added: Selection_388.png
2023-02-19 12:43Florian DoldTarget Version0.9.2 => 0.9.3
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core
2023-07-24 08:47Florian DoldNote Added: 0020360
2023-09-05 09:39Florian DoldStatusassigned => informing
2023-09-05 09:39Florian DoldResolutionopen => fixed
2023-09-05 09:39Florian DoldNote Added: 0020497
2023-09-23 13:07Christian GrothoffFixed in Version => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed