gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant-frontends] branch master updated: echo nonc


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant-frontends] branch master updated: echo nonce
Date: Mon, 13 Feb 2017 03:27:08 +0100

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

dold pushed a commit to branch master
in repository merchant-frontends.

The following commit(s) were added to refs/heads/master by this push:
     new 203b819  echo nonce
203b819 is described below

commit 203b8197746ea8e931fec58fb4754c4c736c2870
Author: Florian Dold <address@hidden>
AuthorDate: Mon Feb 13 03:27:05 2017 +0100

    echo nonce
---
 talerfrontends/blog/blog.py           | 1 +
 talerfrontends/donations/donations.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/talerfrontends/blog/blog.py b/talerfrontends/blog/blog.py
index ee61f64..53ea154 100644
--- a/talerfrontends/blog/blog.py
+++ b/talerfrontends/blog/blog.py
@@ -75,6 +75,7 @@ def javascript_licensing():
 def generate_contract():
     article_name = expect_parameter("article_name")
     order = dict(
+        nonce=flask.request.args.get("nonce"),
         amount=ARTICLE_AMOUNT,
         max_fee=dict(value=1, fraction=0, currency=CURRENCY),
         products=[
diff --git a/talerfrontends/donations/donations.py 
b/talerfrontends/donations/donations.py
index c7b52f3..d688317 100644
--- a/talerfrontends/donations/donations.py
+++ b/talerfrontends/donations/donations.py
@@ -91,6 +91,7 @@ def generate_contract():
     amount = amount_from_float(float(donation_amount))
     order_id = 'donation-%s-%X-%s' % (donation_receiver, random.randint(0, 
0xFFFFFFFF), datetime.today().strftime('%H_%M_%S'))
     order = dict(
+        nonce=flask.request.args.get("nonce"),
         amount=amount,
         max_fee=dict(value=1, fraction=0, currency=CURRENCY),
         order_id=order_id,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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