View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0011779 | Taler | merchant backend | public | 2026-09-07 11:32 | 2026-09-20 17:55 |
| Reporter | Florian Dold | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | have not tried |
| Status | confirmed | Resolution | open | ||
| Target Version | 1.10 | ||||
| Summary | 0011779: merchant does not allow easily querying for order changes of $N orders | ||||
| Description | Let'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. | ||||
| Tags | No tags attached. | ||||
| related to | 0011691 | resolved | Florian Dold | order long polling only returns on new_orders |
|
|
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. |
| 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 |