X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/174cf7969627acdc1642f2eda012499b218abac8..8b3e9a48c7cab6a4274d55bab64ab8f8e196009e:/src/paypal/rest.py?ds=sidebyside diff --git a/src/paypal/rest.py b/src/paypal/rest.py index e70c67bd4..d324c4c2a 100644 --- a/src/paypal/rest.py +++ b/src/paypal/rest.py @@ -1,5 +1,5 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from datetime import date, datetime, timedelta from decimal import Decimal @@ -136,6 +136,7 @@ def get_donations(agreement_id, year): continue assert transaction['amount']['currency'] == 'PLN' transactions.append({ + 'transation_id': transaction['transaction_id'], 'timestamp': dt, 'amount': Decimal(transaction['amount']['value']) })