View Issue Details

IDProjectCategoryView StatusLast Update
0009078Talermerchant backendpublic2025-12-21 20:47
Reporterhow Assigned Tosebasjm 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
PriorityhighSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version0.12 
Target Version1.3Fixed in Version1.3 
Summary0009078: Default wire transfer delay should be absolute
DescriptionCurrently the default wire transfer delay is computed relatively from current date + N.

This opens potential accounting and legal issues when delays are shifted, e.g., in the case of irregular payments. E.g., a 90-day invoice limit might be overstepped, or an accounting period miss some late payments.

This situation can be alleviated by deciding on a precise transfer day to convert existing relative dates to regular (absolute) calendar dates.
Additional InformationEponym field appears at https://backend.demo.taler.net/webui/#/settings
Tagsux

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0009148 closedsebasjm merchant should have a default refund deadline 
related to 0009360 closedsebasjm consider computing refund deadline based on payment deadline, not order creation timestamp 

Activities

Christian Grothoff

2024-08-19 06:00

manager   ~0022994

I'm not sure you actually want it to be absolute, that would give you the same time always.
Note that per-order, you already have refund_deadline and pay_deadline and wire_transfer_deadline which ARE absolute.
See https://docs.taler.net/core/api-merchant.html#creating-orders in the spec.

I think you want a "rounding" value, where the *-deadline is computed automatically rounded to the next minute/hour/day/week/month/year. That's not the same as an 'absolute' time though (in our terminology). Now, I wonder if you missed the above fields, or if we really need to add a per-instance default deadline "rounding" option. Also, do we need just rounding to minute/hour/day/week/month/year, or do we also need offsets (deadline == always 27th of the month, or always at 23:55 each day) in that case?

Christian Grothoff

2025-10-28 19:34

manager   ~0026270

Protocol v23 will add a new "default_wire_rounding_interval" setting to instances which specifies how the wire_transfer_deadline computed via the "default_wire_transfer_delay" is to be rounded up. Note that orders with an explicitly given wire transfer deadline are not subjected to rounding.

Christian Grothoff

2025-10-28 22:00

manager   ~0026273

c2fdcad95404316a673c4fcd5d8ab0f1af7dffbc .. d79af27618a095b7f48f1d5b359dd5f80559e238 add a new DEFAULT_WIRE_TRANSFER_ROUNDING_INTERVAL that allows users to automatically round up computed wire transfer deadlines to the end of the second/minute/hour/day/week/month/quarter or year using the system time of the merchant backend.

The new instance setting still needs to be exposed in the SPA => assigning to Sebastian.

sebasjm

2025-11-26 13:52

developer   ~0026631

after 7196778e16d53dcd3d6eab815d505ad814b4f8da spa read and allows to change this property

Issue History

Date ModifiedUsernameFieldChange
2024-08-15 08:18howNew Issue
2024-08-15 08:18howStatusnew => assigned
2024-08-15 08:18howAssigned To => Christian Grothoff
2024-08-18 15:53Christian GrothoffTarget Version => 1.0 stretch goals
2024-08-19 06:00Christian GrothoffNote Added: 0022994
2024-08-19 06:00Christian GrothoffStatusassigned => feedback
2024-08-19 06:02Christian GrothoffAssigned ToChristian Grothoff => how
2024-09-16 21:51Christian GrothoffTarget Version1.0 stretch goals => 1.5
2024-12-07 22:05Christian GrothoffRelationship addedrelated to 0009360
2025-03-22 13:09Christian GrothoffCategorymechant backend => merchant backend
2025-04-17 20:45Christian GrothoffTag Attached: ux
2025-10-28 19:34Christian GrothoffNote Added: 0026270
2025-10-28 22:00Christian GrothoffNote Added: 0026273
2025-10-28 22:00Christian GrothoffAssigned Tohow => sebasjm
2025-10-28 22:00Christian GrothoffStatusfeedback => assigned
2025-10-28 22:01Christian GrothoffRelationship addedrelated to 0009148
2025-11-26 13:52sebasjmStatusassigned => informing
2025-11-26 13:52sebasjmResolutionopen => fixed
2025-11-26 13:52sebasjmNote Added: 0026631
2025-11-26 21:33Christian GrothoffFixed in Version => 1.3
2025-11-26 21:33Christian GrothoffTarget Version1.5 => 1.3
2025-12-21 20:47Christian GrothoffStatusinforming => closed