taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit 648ce867ad0605e5b068c0b03c48e20ca9c747a5
parent 99b7904ac1258042be56bed20a80ef0c20711a27
Author: Florian Dold <florian@dold.me>
Date:   Thu, 27 Jan 2022 21:09:41 +0100

logging

Diffstat:
Mtalermerchantdemos/blog/blog.py | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py @@ -409,7 +409,11 @@ def article(article_name, lang=None, data=None): # Redirect the browser to a page where the wallet can # run the payment protocol. - response = flask.redirect(pay_status["order_status_url"]) + redirect_url = pay_status["order_status_url"] + LOGGER.info( + "Redirecting (with order_id cookies) to", redirect_url + ) + response = flask.redirect(redirect_url) response.set_cookie( "order_id", order_id,