diff --git a/fundraising/views.py b/fundraising/views.py index 4b30e6a5e..18e23027f 100644 --- a/fundraising/views.py +++ b/fundraising/views.py @@ -298,7 +298,7 @@ def checkout_session_completed(self): customer = stripe.Customer.retrieve( session.customer, stripe_version="2020-08-27" ) - hero, _ = DjangoHero.objects.get_or_create( + hero, _created = DjangoHero.objects.get_or_create( stripe_customer_id=customer.id, defaults={ "email": customer.email,