summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--talerblog/blog/blog.py7
1 files changed, 6 insertions, 1 deletions
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