diff --git a/apps/simplex-store-service/README.md b/apps/simplex-store-service/README.md index 77dafbc927..15a2580311 100644 --- a/apps/simplex-store-service/README.md +++ b/apps/simplex-store-service/README.md @@ -1191,8 +1191,8 @@ psql "postgresql://simplex@127.0.0.1:5432/badge_service" -c "SELECT registrar_no An order sends at most 5 commits, 5 terms acceptances and 5 registers, its moves included, since an owner who changes their terms acceptance on chain can make each acceptance and register revert at the -service's gas. Past that the order fails, Try again and a move answer `400 bad_request`, and support refunds it -at the provider: `//refund` records nothing for such an order, which has no balance. +service's gas. Past that the order fails, Try again and a move answer `400 bad_request`, and support closes it +with `//close` (see [Closing a failed order](#closing-a-failed-order)). The log line is `[WARN …] names worker: registration failed: it sent transactions of one kind`. Try again or a move of a failed order, and the worker's judgment of a register that did not go @@ -1350,8 +1350,9 @@ were already given out, and the command answers with an error. A multi-use code be revoked, which stops the uses that remain. Core parses `//...` into `CustomChatCommand` and leaves it to the service's `preCmdHook`, which is -why issuing codes lives in the service rather than in core. `//refund`, the other command of this -console, is in [Refunding a name balance](#refunding-a-name-balance). +why issuing codes lives in the service rather than in core. `//refund` and `//close`, the other +commands of this console, are in [Refunding a name balance](#refunding-a-name-balance) and +[Closing a failed order](#closing-a-failed-order). ### From the group @@ -1444,7 +1445,8 @@ them later is logged as not applied and changes nothing. ## Refunding a name balance A paid name order keeps its money as a balance when it ends `taken` (another buyer registered the -name first), when it moves to a cheaper name (the difference), when a payment reaches its invoice +name first, or support closed the failed order with `//close`, which also records the refund; see +[Closing a failed order](#closing-a-failed-order)), when it moves to a cheaper name (the difference), when a payment reaches its invoice after the invoice closed, and when its invoice was paid more crypto than it asked (the extra). The buyer spends a balance on another name from Your names, or asks for it back: the page tells them to write to chat@simplex.chat with the order's reference, which is its invoice id, or its registration @@ -1491,7 +1493,7 @@ expiry unless money reached the invoice: once the invoice expires and the poller, in service mode, closes the order. Run the command again then. - `its invoice expired at