[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-merchant-demos] branch master updated: debug
From: |
gnunet |
Subject: |
[taler-taler-merchant-demos] branch master updated: debug |
Date: |
Mon, 28 Sep 2020 17:22:28 +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 2cfe234 debug
2cfe234 is described below
commit 2cfe234822803e4819e4e0481c3aa7a83be562fb
Author: MS <ms@taler.net>
AuthorDate: Mon Sep 28 17:22:06 2020 +0200
debug
---
talermerchantdemos/blog/blog.py | 1 -
talermerchantdemos/httpcommon/__init__.py | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/talermerchantdemos/blog/blog.py b/talermerchantdemos/blog/blog.py
index 695033a..8de3179 100644
--- 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
index 5eace40..1036f33 100644
--- 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
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.