commit 2cfe234822803e4819e4e0481c3aa7a83be562fb
parent 47a400e04b220d462aaee6cd4b08c792cea83915
Author: MS <ms@taler.net>
Date: Mon, 28 Sep 2020 17:22:06 +0200
debug
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py
@@ -277,7 +277,6 @@ def article(article_name, data=None):
pay_status = backend_get(
BACKEND_URL, f"private/orders/{order_id}", params=dict(session_id=session_id)
)
- # not refundable =>! not viewable!
order_status = pay_status.get("order_status")
if order_status == "paid":
refunded = pay_status["refunded"]
diff --git a/talermerchantdemos/httpcommon/__init__.py b/talermerchantdemos/httpcommon/__init__.py
@@ -58,7 +58,7 @@ def backend_post(backend_url, endpoint, json):
def backend_get(backend_url, endpoint, params):
headers = {"Authorization": "ApiKey sandbox"}
final_url = urljoin(backend_url, endpoint)
- print("GETting: " + final_url)
+ print("GETting: " + final_url + " with params: " + str(params))
try:
resp = requests.get(
final_url, params=params, headers=headers