X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/af8a54f4fbb7956ffbdb4e7b2aaddd7659de4f57..572ee91a188114e383712eac2426dab3bcef6c00:/src/club/models.py diff --git a/src/club/models.py b/src/club/models.py index 77154954b..de2d3c62b 100644 --- a/src/club/models.py +++ b/src/club/models.py @@ -514,6 +514,8 @@ class PayUOrder(payu_models.Order): receipt = cls.generate_receipt(email, year) if receipt: content, optout, payments = receipt + else: + return ctx = { "email": email, "year": year,