[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: status url
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: status url |
Date: |
Fri, 24 Jul 2020 09:09:19 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository taler-merchant-demos.
The following commit(s) were added to refs/heads/master by this push:
new 6d75170 status url
6d75170 is described below
commit 6d7517078ba93c865557031f73eca41872df5656
Author: MS <ms@taler.net>
AuthorDate: Fri Jul 24 09:09:12 2020 +0200
status url
---
talermerchantdemos/blog/blog.py | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py
index f0e9574..f27d777 100644
--- a/talermerchantdemos/blog/blog.py
+++ b/talermerchantdemos/blog/blog.py
@@ -288,14 +288,12 @@ def article(article_name, data=None):
"article", article_name=article_name, order_id=order_id
)
)
- #
+
# Prepare data for the upcoming payment check.
- #
- pay_params = dict(order_id=order_id, session_id=session_id)
pay_status = backend_get(
BACKEND_URL,
- "private/orders/{}".format(order_id),
- params=dict()
+ f"private/orders/{order_id}",
+ params=dict(session_id=session_id)
)
if pay_status.get("paid"):
@@ -306,7 +304,6 @@ def article(article_name, data=None):
#
# - check if the article was refunded before, and act
# accordingly.
- #
# FLOW HERE == ARTICLE PAID AND CAN BE SHOWN.
@@ -332,9 +329,7 @@ def article(article_name, data=None):
taler_pay_uri = pay_status["taler_pay_uri"]
qrcode_svg = get_qrcode_svg(taler_pay_uri)
check_status_url_enc = urllib.parse.quote(
- flask.url_for(
- "check_status", order_id=order_id, session_id=session_id
- )
+ flask.url_for(f"private/orders/{order_id}", session_id=session_id)
)
content = flask.render_template(
"templates/request_payment.html",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-taler-merchant-demos] branch master updated: status url,
gnunet <=