View Issue Details

IDProjectCategoryView StatusLast Update
0010606Talermerchant backendpublic2025-11-13 18:55
ReporterFlorian Dold Assigned ToFlorian Dold  
PriorityhighSeveritytweakReproducibilityhave not tried
Status assignedResolutionopen 
Product Version1.1 
Target Version1.2 
Summary0010606: merchant incorrectly validates wire_transfer_deadline field
DescriptionThe merchant wrongly claims that an wire_transfer_deadline of "never" is not allowed.

However, the client did not even specify the field in the first place.

According to the spec, the wire_transfer_deadline is optional.
Steps To Reproducetaler-harness run-integrationtests simple-payment
Additional InformationWireshark:

POST /private/orders HTTP/1.1
Content-Type: application/json
Accept: application/json
Authorization: Bearer secret-token:ADAB25FAGPPG87B94334W6DM0E2FA822ACZH4S5EC1NECF1C1RCG
Host: localhost:8083
Connection: keep-alive
Transfer-Encoding: chunked

{"order":{"summary":"Buy me","amount":"TESTKUDOS:5","fulfillment_url":"https://example.com/test"}}
HTTP/1.1 400 Bad Request
Date: Thu, 13 Nov 2025 16:33:45 GMT
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: *
Cache-Control: no-store
Content-Type: application/json
Content-Length: 166

{
  "code": 2506,
  "hint": "The order creation request is invalid because a wire deadline of \"never\" is not allowed.",
  "detail": "order:wire_transfer_deadline"
}
TagsNo tags attached.

Activities

Christian Grothoff

2025-11-13 18:55

manager   ~0026430

Diagnosed, clarified by returning earlier error on forever/never, updated spec in c50795c0..75af3379.

What's left is to fix the test to not use an instance payment default delay of 'forever'.

Issue History

Date Modified Username Field Change
2025-11-13 17:37 Florian Dold New Issue
2025-11-13 17:37 Florian Dold Status new => assigned
2025-11-13 17:37 Florian Dold Assigned To => Christian Grothoff
2025-11-13 18:55 Christian Grothoff Assigned To Christian Grothoff => Florian Dold
2025-11-13 18:55 Christian Grothoff Note Added: 0026430
2025-11-13 18:55 Christian Grothoff Severity major => tweak
2025-11-13 18:55 Christian Grothoff Product Version => 1.1