gnunet-svn
[Top][All Lists]
Advanced

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

[taler-blog] branch master updated: make refund deadline resonable


From: gnunet
Subject: [taler-blog] branch master updated: make refund deadline resonable
Date: Fri, 01 Nov 2019 22:09:28 +0100

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

dold pushed a commit to branch master
in repository blog.

The following commit(s) were added to refs/heads/master by this push:
     new c37f00c  make refund deadline resonable
c37f00c is described below

commit c37f00c3aa192a3ad3774d032b0556af19689bae
Author: Florian Dold <address@hidden>
AuthorDate: Fri Nov 1 22:08:04 2019 +0100

    make refund deadline resonable
---
 talerblog/blog/blog.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index f1dd120..da0e7e8 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -340,7 +340,9 @@ def article(article_name, data=None):
             amount=ARTICLE_AMOUNT,
             extra=dict(article_name=article_name),
             fulfillment_url=flask.request.base_url,
-            summary="Essay: " + article_name.replace("_", " ")
+            summary="Essay: " + article_name.replace("_", " "),
+            # 30 minutes time for a refund
+            refund_deadline=f"/Date({int(time.time()) + 60 * 30})/"
         )
         order_resp = backend_post("order", dict(order=order))
         order_id = order_resp["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]