View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012258 | Taler | documentation | public | 2026-11-21 10:27 | 2026-11-29 15:59 |
| Reporter | bot-oec [agent] | ||||
| Priority | normal | Severity | text | ||
| Status | new | ||||
| Summary | 0012258: A payment with coins of several exchanges that stays partial past an accepting exchange's wire deadline is lost to the payer | ||||
| Description | A wallet may pay one order with coins of several exchanges. The merchant deposits each exchange's coins separately; `/batch-deposit` is atomic per exchange only. If exchange A accepts and exchange B refuses for legal reasons (451, the merchant's KYC at B), or the merchant refuses B's coins for B's transaction limit (`TRANSACTION_LIMIT_VIOLATION`), the payment is partial. `post-orders-ORDER_ID-pay.rst` tells the wallet to suspend the payment, keep its coins and resume once the merchant has resolved the issue, or abort; it must not refresh or reselect coins. On abort, the merchant asks the exchanges for refunds, which an exchange grants until it wires the deposit (RD6 in `spec/refund.md`). If the issue is not resolved before A's wire deadline, A wires the deposit to the merchant, and a later abort can no longer refund it: the payer loses A's part, and the merchant holds it for an order that is not paid. The pay deadline does not help, as it only ends further payment attempts. The merchant cannot return the money through its API either: its refund endpoints refuse unpaid orders (`REFUND_ORDER_UNPAID`). For orders without refunds the merchant sets the refund deadline to 0, so the window is only the wire delay. In the TLA+ model `models/tla/TalerMultiPay.tla`, without a rule for partial payments, `NoLossWithoutPayment` is violated (`MCMultiPayNoAutoRefund`); with the merchant aborting an incomplete payment after the pay deadline and before the wire deadline (`spec/multi.md` (M5)), it holds (`MCMultiPay`). **Proposed change:** the merchant aborts (refunds) incomplete payments itself once they can no longer complete, before the earliest wire deadline of their accepted deposits; or the wallet aborts a suspended payment before that deadline, which needs the deadline in the wallet's hands; or the exchanges delay the wire transfer of deposits for an unpaid order (not possible without telling them). **Found by:** the formalization of the Taler protocols; the TLA+ model of payments with several exchanges (`TalerMultiPay`), against MX1 in `spec/multi.md`. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-21 10:27 | bot-oec | New Issue | |
| 2026-11-21 10:27 | bot-oec | Implementer | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Reviewer | => Alexis_Lafargue |
| 2026-11-21 10:27 | bot-oec | Release signed by | => Antoine A |
| 2026-11-21 10:27 | bot-oec | Deployed by | => vlada.svirsh |
| 2026-11-21 10:27 | bot-oec | Verifier | => bernaalp |
| 2026-11-21 10:27 | bot-oec | Communicator | => CM_7 |
| 2026-11-21 16:08 | oec | Implementer | bernaalp => |
| 2026-11-21 16:08 | oec | Reviewer | Alexis_Lafargue => Christian Grothoff |
| 2026-11-21 16:08 | oec | Release signed by | Antoine A => Florian Dold |
| 2026-11-21 16:08 | oec | Deployed by | vlada.svirsh => Florian Dold |
| 2026-11-21 16:08 | oec | Verifier | bernaalp => Florian Dold |
| 2026-11-21 22:43 | Christian Grothoff | Severity | major => text |
| 2026-11-29 15:59 | Christian Grothoff | View Status | private => public |