exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 3e111f42636a634d9144b5ae66dcd6d342d0c4d2
parent 1e8d0eb4623bdc1ec2ee6d4edc406085d4c40a7a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 21 Jul 2017 15:18:59 +0200

introducting error code for merchant detecting wire fee inconsistency

Diffstat:
Msrc/include/taler_error_codes.h | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h @@ -1251,7 +1251,8 @@ enum TALER_ErrorCode /** * The exchange gave conflicting information about a coin which has * been wire transferred. - * The response is provided with HTTP status code MHD_HTTP_INTERNAL_SERVER_ERROR. + * The response is provided with HTTP status code + * MHD_HTTP_INTERNAL_SERVER_ERROR (FIXME: bad choice!). */ TALER_EC_TRACK_TRANSFER_CONFLICTING_REPORTS = 2408, @@ -1261,6 +1262,14 @@ enum TALER_ErrorCode TALER_EC_TRACK_TRANSFER_JSON_RESPONSE_ERROR = 2409, /** + * The exchange charged a different wire fee than what it + * originally advertised, and it is higher. The response + * is provied with an HTTP status of + * MHD_HTTP_INTERNAL_SERVER_ERROR (FIXME: bad choice!). + */ + TALER_EC_TRACK_TRANSFER_JSON_BAD_WIRE_FEE = 2410, + + /** * The hash provided in the request of /map/in does not match * the contract sent alongside in the same request. */