[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] 06/09: Paygen /track preparation.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] 06/09: Paygen /track preparation. |
Date: |
Thu, 10 May 2018 22:18:50 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
commit 9ebfdb165ded86a47903559e18622c5afc999a5d
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu May 10 20:01:20 2018 +0200
Paygen /track preparation.
Inserting a /proposal + /pay pair so as to
prepare the preliminary data to use /track CMDs on.
---
.../taler-merchant-generate-payments_new.c | 36 ++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/src/merchant-tools/taler-merchant-generate-payments_new.c
b/src/merchant-tools/taler-merchant-generate-payments_new.c
index 12375de..bed9d21 100644
--- a/src/merchant-tools/taler-merchant-generate-payments_new.c
+++ b/src/merchant-tools/taler-merchant-generate-payments_new.c
@@ -175,6 +175,42 @@ run (void *cls,
FIRST_INSTRUCTION,
&payments_number),
+ /* Next proposal-pay cycle will be used by /track CMDs
+ * and so it will not have to be looped over, only /track
+ * CMDs will have to. */
+
+ TALER_TESTING_cmd_proposal
+ ("create-proposal-2",
+ merchant_url,
+ is->ctx,
+ MHD_HTTP_OK,
+ "{\"max_fee\":\
+ {\"currency\":\"USD\",\
+ \"value\":0,\
+ \"fraction\":50000000},\
+ \"refund_deadline\":\"\\/Date(0)\\/\",\
+ \"pay_deadline\":\"\\/Date(99999999999)\\/\",\
+ \"amount\":\
+ {\"currency\":\"USD\",\
+ \"value\":5,\
+ \"fraction\":0},\
+ \"summary\": \"merchant-lib testcase\",\
+ \"fulfillment_url\": \"https://example.com/\",\
+ \"products\": [ {\"description\":\"ice track cream\",\
+ \"value\":\"{USD:5}\"} ] }",
+ NULL),
+
+ TALER_TESTING_cmd_pay
+ ("deposit-simple-2",
+ merchant_url,
+ is->ctx,
+ MHD_HTTP_OK,
+ "create-proposal-2",
+ "withdraw-coin-2",
+ "USD:5",
+ "USD:4.99",
+ "USD:0.01"),
+
TALER_TESTING_cmd_end ()
};
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [taler-merchant] branch master updated (f0de247 -> 15ecd39), gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 03/09: comments, gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 06/09: Paygen /track preparation.,
gnunet <=
- [GNUnet-SVN] [taler-merchant] 04/09: no "check" CMDs in paygen., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 05/09: --with-pybank option removed., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 02/09: rewinding payments within the generator., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 08/09: previous change continued., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 01/09: copy-and-paste fault., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 07/09: /track/transaction CMD stores WTID as trait., gnunet, 2018/05/10
- [GNUnet-SVN] [taler-merchant] 09/09: paygen has reached its (likely) final form., gnunet, 2018/05/10