commit ddab2ef5855fd3bbfc6cd97256acda06c28f2b44
parent 3277642c1872c9e52164cad748fd944bcf3b1ac0
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 7 Jul 2025 14:46:48 +0200
new event types, clarify errors
Diffstat:
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu-taler-db-events/registry.rec b/gnu-taler-db-events/registry.rec
@@ -130,6 +130,11 @@ Value: 1116
Name: MERCHANT_DONAU_KEYS
Description: Event triggered when we downloaded "/keys" from a Donau and stored it in the database. Extra argument must be the Donau base URL.
+Value: 1117
+Name: MERCHANT_WIRE_TRANSFER_EXPECTED
+Description: Event triggered when an expected wire transfer is added to the database. Triggers interaction with the exchange to download details about which payments were aggregated.
+
+
# 1200+: For auditor
Value: 1200
Name: EXCHANGE_AUDITOR_NEW_DEPOSIT_CONFIRMATION
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -1648,6 +1648,12 @@ Name: MERCHANT_GENERIC_DONAU_NOT_CONFIGURED
Description: The merchant backend is not configured to support the DONAU protocol.
HttpStatus: 501
+Value: 2029
+Name: MERCHANT_EXCHANGE_SIGN_PUB_UNKNOWN
+Description: The public signing key given in the exchange response is not in the current keys response. It is possible that the operation will succeed later after the merchant has downloaded an updated keys response.
+HttpStatus: 0
+
+
# 2100-2499: public API
# 2100-2149: get orders endpoint
@@ -2168,9 +2174,14 @@ HttpStatus: 409
Value: 2557
Name: MERCHANT_PRIVATE_POST_TRANSFERS_CONFLICTING_SUBMISSION
-Description: The backend was previously informed about a wire transfer with the same ID but a different amount. Multiple wire transfers with the same ID are not allowed. If the new amount is correct, the old transfer should first be deleted.
+Description: The backend could not persist the wire transfer due to the state of the backend. This usually means that the bank account specified is not known to the backend for this instance.
HttpStatus: 409
+Value: 2558
+Name: MERCHANT_EXCHANGE_TRANSFERS_TARGET_ACCOUNT_UNKNOWN
+Description: The target bank account given by the exchange is not (or no longer) known at the merchant instance.
+HttpStatus: 0
+
Value: 2563
Name: MERCHANT_EXCHANGE_TRANSFERS_CONFLICTING_TRANSFERS
Description: The amount transferred differs between what was submitted and what the exchange claimed.