From 5e748f4e7c8884ea654425045f9cdc4e17c5cb06 Mon Sep 17 00:00:00 2001 From: MS Date: Mon, 23 Oct 2023 12:38:58 +0200 Subject: DD 50 Q&A --- design-documents/050-libeufin-nexus.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/design-documents/050-libeufin-nexus.rst b/design-documents/050-libeufin-nexus.rst index 6f3638be..779e0b58 100644 --- a/design-documents/050-libeufin-nexus.rst +++ b/design-documents/050-libeufin-nexus.rst @@ -311,4 +311,7 @@ Discussion / Q&A initiated flag in the table to true". May there be a case where the server accepted the request, but the client never got any response (some network issue..), and therefore didn't set the submitted flag, ending - up in submitting the payment twice? + up in submitting the payment twice? Also: flagging the payment _after_ + the bank response, may lead double-submission even if the HTTP talk ended + well: it suffices to crash after having received a "200 OK" response but + before setting the submitted flag to the database. -- cgit v1.2.3