[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-blog] 02/02: redirect to already_paid_order_id
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-blog] 02/02: redirect to already_paid_order_id |
Date: |
Mon, 26 Aug 2019 03:49:48 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository blog.
commit b27c669d6f7fa4f5e625dc9e76911a938a25f6e1
Author: Florian Dold <address@hidden>
AuthorDate: Mon Aug 26 03:49:42 2019 +0200
redirect to already_paid_order_id
---
talerblog/blog/blog.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/talerblog/blog/blog.py b/talerblog/blog/blog.py
index 460fc9a..c10bfcd 100644
--- a/talerblog/blog/blog.py
+++ b/talerblog/blog/blog.py
@@ -322,7 +322,12 @@ def article(article_name, data=None):
##
# Finally return the article.
return render_article(article_name, data, order_id)
-
+ elif pay_status.get("already_paid_order_id") is not None:
+ return flask.redirect(
+ url_for(
+ "article",
+ article_name=article_name,
+ order_id=pay_status.get("already_paid_order_id"))
else:
##
# Redirect the browser to a page where the wallet can
--
To stop receiving notification emails like this one, please contact
address@hidden.