View Issue Details

IDProjectCategoryView StatusLast Update
0011779Talermerchant backendpublic2026-09-20 17:55
ReporterFlorian Dold Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status confirmedResolutionopen 
Target Version1.10 
Summary0011779: merchant does not allow easily querying for order changes of $N orders
DescriptionLet's say the merchant portal webui is displaying the latest 20 transactions. Via long-polling, we can easily find out about *new* transactions.

However, we can't find out about *changed* transactions.

Possible fixes are:
* Allow long-polling with an ETag (over the returned transactions list), so that changes result in long-poll returns
  * This still requires two in-flight queries, one for new transactions and one for changes on the existing list that is displayed
* Introduce a more general notification / change notification mechanism
  * General but potentially complex and/or expensive
* Just do traditional polling and re-request the 20 transactions every, say, 10 seconds.
TagsNo tags attached.

Relationships

related to 0011691 resolvedFlorian Dold order long polling only returns on new_orders 

Activities

Christian Grothoff

2026-09-20 17:55

manager   ~0030022

If we do this, it cannot be reasonably done by the existing canonical long-polling mechanism. Instead, I propose
we add an *event stream* endpoint where after a GET request the client receives an eternal stream on all events that happen in the merchant backend, possibly filtered by the set of events the client requested (like "only orders" or "orders and bank accounts").
That way, if any order is changed, the receiver would get notified via this stream and would then have to do an explicit GET on the order, bank account, template or whatever other resource they are watching.

Issue History

Date Modified Username Field Change
2026-09-07 11:32 Florian Dold New Issue
2026-09-07 11:32 Florian Dold Relationship added related to 0011691
2026-09-07 11:33 Florian Dold Summary merchant does not allow easily querying for order changes => merchant does not allow easily querying for order changes of $N orders
2026-09-07 11:35 Florian Dold Description Updated
2026-09-20 17:53 Christian Grothoff Severity minor => feature
2026-09-20 17:55 Christian Grothoff Note Added: 0030022
2026-09-20 17:55 Christian Grothoff Status new => confirmed
2026-09-20 17:55 Christian Grothoff Target Version 1.8 => 1.10