taler-merchant-demos

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

commit 56945d4d5516988b7842d4de65736c3d28da9cc3
parent c12eb6ea0233445069eb709dfeb0b36636188f63
Author: MS <ms@taler.net>
Date:   Thu, 23 Jul 2020 18:57:52 +0200

add missing fields in the order

Diffstat:
Mtalermerchantdemos/donations/donations.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/talermerchantdemos/donations/donations.py b/talermerchantdemos/donations/donations.py @@ -200,6 +200,8 @@ def donate(): ), fulfillment_url=fulfillment_url, summary="Donation to {}".format(donation_receiver), + refund_deadline=dict(t_ms=1000*int(time.time() + 10 * 30)), + wire_transfer_deadline=dict(t_ms=1000*int(time.time() + 15 * 30)) ) order_resp = backend_instanced_post(donation_receiver, "private/orders", dict(order=order)) order_id = order_resp["order_id"]