summaryrefslogtreecommitdiff
path: root/talermerchantdemos
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-04-23 12:24:16 +0200
committerFlorian Dold <florian@dold.me>2021-04-23 12:24:16 +0200
commit22e2a937f9ed13058cd532beaa26d241cb14d64b (patch)
tree70aa228751e64a151ed9c3adb17fa8a3be126567 /talermerchantdemos
parentdac563c3ade2e03736afa48735b085db84acee09 (diff)
downloadtaler-merchant-demos-22e2a937f9ed13058cd532beaa26d241cb14d64b.tar.gz
taler-merchant-demos-22e2a937f9ed13058cd532beaa26d241cb14d64b.tar.bz2
taler-merchant-demos-22e2a937f9ed13058cd532beaa26d241cb14d64b.zip
fix missing lang value in url
Diffstat (limited to 'talermerchantdemos')
-rw-r--r--talermerchantdemos/donations/donations.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/talermerchantdemos/donations/donations.py b/talermerchantdemos/donations/donations.py
index 6c0a86b..3c347e9 100644
--- a/talermerchantdemos/donations/donations.py
+++ b/talermerchantdemos/donations/donations.py
@@ -224,6 +224,7 @@ def donate(lang):
"fulfillment",
timestamp=str(time.time()),
receiver=donation_receiver,
+ lang=lang,
_external=True,
)
fulfillment_url = fulfillment_url + "&order_id=${ORDER_ID}"
@@ -241,7 +242,9 @@ def donate(lang):
)
order_id = order_resp["order_id"]
return flask.redirect(
- flask.url_for("fulfillment", receiver=donation_receiver, order_id=order_id)
+ flask.url_for(
+ "fulfillment", receiver=donation_receiver, order_id=order_id, lang=lang
+ )
)