[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: DD 50: new payment submission states
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: DD 50: new payment submission states. |
Date: |
Fri, 03 Nov 2023 09:08:16 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 6c0d79ea DD 50: new payment submission states.
6c0d79ea is described below
commit 6c0d79ea6d4907f4bd6d52cdce315a8ee1f10592
Author: MS <ms@taler.net>
AuthorDate: Fri Nov 3 09:07:57 2023 +0100
DD 50: new payment submission states.
---
design-documents/050-libeufin-nexus.rst | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/design-documents/050-libeufin-nexus.rst
b/design-documents/050-libeufin-nexus.rst
index 82982dc3..bc459e17 100644
--- a/design-documents/050-libeufin-nexus.rst
+++ b/design-documents/050-libeufin-nexus.rst
@@ -326,3 +326,20 @@ Discussion / Q&A
* As of private communication, the responsibility of submitting idempotent
payments
relies on the use of ``request_uid`` (a database column of the initiated
payment)
as the ``MsgId`` value of the corresponding pain.001 document.
+
+* ``submitted`` column of an initiated payment evolved into the following enum:
+
+ .. code-block:: shell-session
+
+ CREATE TYPE submission_state AS ENUM (
+ 'unsubmitted'
+ ,'transient_failure'
+ ,'permanent_failure'
+ ,'success'
+ ,'never_heard_back'
+ );
+
+ * ``unsubmitted``: default state when a payment is initiated
+ * ``transient_failure``: submission failed but can be retried, for example
after a network issue.
+ * ``permanent_failure``: EBICS- or bank-technical error codes were not
EBICS_OK (nor any tolerated EBICS code like EBICS_NO_DOWNLOAD_DATA_AVAILABLE),
never retry.
+ * ``never_heard_back``: the payment initiation submission has **been**
``success`` but it was never confirmed by any outgoing transaction (from a
camt.5x document) or any pain.002 report. It is responsability of a garbage
collector to set this state after a particular time period.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: DD 50: new payment submission states.,
gnunet <=