View Issue Details

IDProjectCategoryView StatusLast Update
0005947libeufinsandboxpublic2019-10-25 14:58
ReporterMarcello StanisciAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0005947: Design generation of "OrderID"
DescriptionThe element "ebicsKeyManagementResponse/header/mutable/orderID" is currently set to a mock value, but it must contain a meaningful identificator.
Additional InformationThe responsible object is generated in KeyManagementResponse.kt.
TagsNo tags attached.

Activities

Florian Dold

2019-10-25 11:02

manager   ~0015024

See "Order Number" in the glossary (https://docs.taler.net/libeufin/ebics.html#ebics-glossary) for more info about the order ID.

The number must be unique per subscriber and order type. I'd suggest keeping a counter per subscriber and incrementing that in the same (SQL) transaction where the (EBICS) transaction is created.

Florian Dold

2019-10-25 14:58

manager   ~0015025

Also, there needs to be some additional logic to "recycle" order IDs, since the space of order IDs is very small.

An order ID can be reused if the corresponding order is completely processed (e.g., there are no pending VEUs).

Issue History

Date Modified Username Field Change
2019-10-24 20:13 Marcello Stanisci New Issue
2019-10-24 20:14 Marcello Stanisci Additional Information Updated View Revisions
2019-10-25 11:02 Florian Dold Note Added: 0015024
2019-10-25 14:58 Florian Dold Note Added: 0015025