View Issue Details

IDProjectCategoryView StatusLast Update
0012238Talerdocumentationpublic2026-11-29 17:18
Reporterbot-oec [agent]  
ImplementerChristian Grothoff Revieweroec  
Release signed byFlorian Dold Deployed byFlorian Dold  
VerifierChristian Grothoff CommunicatorCM_7  
Fast-trackYes — The control, the release and the deployment are skipped: whoever implemented this change verifies and closes it themselves.
PrioritynormalSeveritytext 
Status closedResolutionfixed 
Fixed in Version1.6 
Summary0012238: Refund: "the deposit fee is waived" reads as an extra credit on a full refund
Description`post-coins-COIN_PUB-refund.rst` says the deposit fee "is waived" on a full refund, while the refund amount may already include it. Read as an extra credit, the coin ends with more than it paid: a coin of 10 deposited and refunded in full, with deposit fee 1 and refund fee 0, ends with 11 (TLA+ configuration `models/tla/MCFeesWaiverCredit.cfg`). Design document 026 asks only that a full refund return everything but the refund fee, which the refunded amount already does.

**Proposed change:** state the conserving rule (RD4 in `spec/refund.md`): the coin gets the refunded amount less the refund fee; at the wire transfer the merchant receives the deposit less refunds and deposit fee, and the exchange keeps the deposit fee only up to what the refunds left over. A fully refunded deposit thus pays the merchant nothing and the exchange no deposit fee; that is what "waived" means, and nothing is credited on top.

**Found by:** the formalization of the Taler protocols; the TLA+ model of the ledger with fees (`MCFeesWaiverCredit`), against RD4 in `spec/refund.md`.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

bot-oec [agent]

2026-11-21 23:23

reporter   ~0030730

Proposed patch (taler-docs master b3970cce), the conserving rule (spec/refund.md RD4). The exchange follows it with the fix of #12265, proposed for protocol v47; until then it credits the deposit fee on top of a full refund, and the paragraph describes v47.

diff --git a/core/exchange/post-coins-COIN_PUB-refund.rst b/core/exchange/post-coins-COIN_PUB-refund.rst
index 1f5f9b01..f195df75 100644
--- a/core/exchange/post-coins-COIN_PUB-refund.rst
+++ b/core/exchange/post-coins-COIN_PUB-refund.rst
@@ -66,10 +66,13 @@
 
   **Details:**
 
- The deposit fee is waived only when the cumulative refunds for this
- particular coin return its full deposited contribution. A partial refund,
- or a full refund of an order that leaves this coin only partially refunded,
- does not waive the coin's deposit fee.
+ A refund credits the coin the refunded amount less the refund fee. The
+ deposit fee is settled at the wire transfer, from what the refunds left
+ over: the merchant receives the deposit less its refunds and the deposit
+ fee (at least zero), and the exchange keeps the deposit fee only up to what
+ the refunds left. A deposit refunded in full thus pays the merchant
+ nothing and the exchange no deposit fee; that is what "waived" means.
+ Nothing is credited to the coin on top of the refunded amounts.
 
   .. ts:def:: RefundRequest

Christian Grothoff

2026-11-29 17:18

manager   ~0030951

f70e0af2..272575b8

Issue History

Date ModifiedUsernameFieldChange
2026-11-21 10:27bot-oecNew Issue
2026-11-21 10:27bot-oecImplementer => bernaalp
2026-11-21 10:27bot-oecReviewer => Emmanuel
2026-11-21 10:27bot-oecRelease signed by => Antoine A
2026-11-21 10:27bot-oecDeployed by => bernaalp
2026-11-21 10:27bot-oecVerifier => bernaalp
2026-11-21 10:27bot-oecCommunicator => CM_7
2026-11-21 15:54oecImplementerbernaalp => oec
2026-11-21 15:54oecReviewerEmmanuel => Christian Grothoff
2026-11-21 15:54oecRelease signed byAntoine A => Florian Dold
2026-11-21 15:54oecDeployed bybernaalp => Florian Dold
2026-11-21 15:54oecVerifierbernaalp => Christian Grothoff
2026-11-21 22:44Christian GrothoffSeverityminor => text
2026-11-21 23:23bot-oecNote Added: 0030730
2026-11-29 15:59Christian GrothoffView Statusprivate => public
2026-11-29 17:18Christian GrothoffImplementeroec => Christian Grothoff
2026-11-29 17:18Christian GrothoffReviewerChristian Grothoff => oec
2026-11-29 17:18Christian GrothoffFast-track0 => 1
2026-11-29 17:18Christian GrothoffLocked by => Christian Grothoff
2026-11-29 17:18Christian GrothoffStatusnew => implementing
2026-11-29 17:18Christian GrothoffLocked byChristian Grothoff =>
2026-11-29 17:18Christian GrothoffStatusimplementing => closed
2026-11-29 17:18Christian GrothoffResolutionopen => fixed
2026-11-29 17:18Christian GrothoffFixed in Version => 1.6
2026-11-29 17:18Christian GrothoffNote Added: 0030951