From dffb293f2a3fa836ee007f19e36f873ed5d295e7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 3 Nov 2020 17:39:30 +0100 Subject: check contract terms signature, handle errors --- packages/taler-wallet-core/src/TalerErrorCode.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/taler-wallet-core/src/TalerErrorCode.ts') diff --git a/packages/taler-wallet-core/src/TalerErrorCode.ts b/packages/taler-wallet-core/src/TalerErrorCode.ts index bb97574ba..239dc2bd4 100644 --- a/packages/taler-wallet-core/src/TalerErrorCode.ts +++ b/packages/taler-wallet-core/src/TalerErrorCode.ts @@ -3307,6 +3307,13 @@ export enum TalerErrorCode { */ WALLET_CONTRACT_TERMS_BASE_URL_MISMATCH = 7018, + /** + * The merchant's signature on the contract terms is invalid. + * Returned with an HTTP status code of #MHD_HTTP_UNINITIALIZED (0). + * (A value of 0 indicates that the error is generated client-side). + */ + WALLET_CONTRACT_TERMS_SIGNATURE_INVALID = 7019, + /** * my comment * Returned with an HTTP status code of #MHD_HTTP_INTERNAL_SERVER_ERROR (500). -- cgit v1.2.3