taler-merchant-demos

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

commit e3c1f75ce17199bf183d49673ade931f12299288
parent 3adc612ed53b1ab602849d95a189c30382138122
Author: Iván Ávalos <avalos@disroot.org>
Date:   Sat,  2 Aug 2025 22:12:16 +0200

blog: add description to order choices

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 @@ -340,11 +340,15 @@ def post_order(article_name, article_url, session_id, lang): "session_id": session_id, "choices": [ # regular price - { "amount": ARTICLE_AMOUNT }, + { + "amount": ARTICLE_AMOUNT, + "description": "Buy an individual article", + }, # buy monthly abo { "amount": SUBSCRIPTION_AMOUNT, + "description": "Buy one month of unlimited access", "outputs": [{ "type": "token", "token_family_slug": SUBSCRIPTION_SLUG_PREFIX + lang,