merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit ae9b30cee61d2d68c66f6e73b65bc62ca5e981cb
parent c3e2798adc59bc578551cf46ff2f4d849e78008e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Fri, 29 Jun 2018 11:23:26 +0200

comments

Diffstat:
Msrc/lib/test_merchant_api_twisted.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/lib/test_merchant_api_twisted.c b/src/lib/test_merchant_api_twisted.c @@ -649,6 +649,13 @@ run (void *cls, EXCHANGE_ACCOUNT_NO, MERCHANT_ACCOUNT_NO), + /** + * Fake total to include only one coin. Math: each 1-EUR + * coin contributes 0.99 to the final wire transfer. The + * wire transfer itself drains 0.01-EUR from the total amount. + * Therefore, wire transferring 1-EUR coin results in a net + * of: 0.99 - 0.01 = 0.98. + */ TALER_TESTING_cmd_modify_object_dl ("hack-0", PROXY_EXCHANGE_CONFIG_FILE,