gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 02/02: command for confirmPay


From: gnunet
Subject: [taler-wallet-core] 02/02: command for confirmPay
Date: Mon, 20 Jul 2020 10:52:44 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit e0ee0e39bbbc4726aa0cb177ed961aca2fadcd59
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Mon Jul 20 14:12:35 2020 +0530

    command for confirmPay
---
 src/headless/taler-wallet-cli.ts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/headless/taler-wallet-cli.ts b/src/headless/taler-wallet-cli.ts
index 5637732b..3f116670 100644
--- a/src/headless/taler-wallet-cli.ts
+++ b/src/headless/taler-wallet-cli.ts
@@ -520,6 +520,18 @@ advancedCli
     });
   });
 
+advancedCli
+  .subcommand("payConfirm", "pay-confirm", {
+    help: "Confirm payment proposed by a merchant.",
+  })
+  .requiredArgument("proposalId", clk.STRING)
+  .maybeOption("sessionIdOverride", ["--session-id"], clk.STRING)
+  .action(async (args) => {
+    await withWallet(args, async (wallet) => {
+      wallet.confirmPay(args.payConfirm.proposalId, 
args.payConfirm.sessionIdOverride);
+    });
+  });
+
 advancedCli
   .subcommand("refresh", "force-refresh", {
     help: "Force a refresh on a coin.",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]