diff options
author | MS <ms@taler.net> | 2020-07-23 18:57:52 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-07-23 18:57:52 +0200 |
commit | 56945d4d5516988b7842d4de65736c3d28da9cc3 (patch) | |
tree | ba2aea70a412d2b2037d8c04f040eacc91157895 /talermerchantdemos/donations | |
parent | c12eb6ea0233445069eb709dfeb0b36636188f63 (diff) | |
download | taler-merchant-demos-56945d4d5516988b7842d4de65736c3d28da9cc3.tar.gz taler-merchant-demos-56945d4d5516988b7842d4de65736c3d28da9cc3.tar.bz2 taler-merchant-demos-56945d4d5516988b7842d4de65736c3d28da9cc3.zip |
add missing fields in the order
Diffstat (limited to 'talermerchantdemos/donations')
-rw-r--r-- | talermerchantdemos/donations/donations.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/talermerchantdemos/donations/donations.py b/talermerchantdemos/donations/donations.py index be9d669..a2bc00c 100644 --- 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"] |