X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/174cf7969627acdc1642f2eda012499b218abac8..463b2c7c24fb4b59013ab39de92155bc6c730e27:/src/paypal/rest.py diff --git a/src/paypal/rest.py b/src/paypal/rest.py index e70c67bd4..a5e7ebeee 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({ + 'transaction_id': transaction['transaction_id'], 'timestamp': dt, 'amount': Decimal(transaction['amount']['value']) })