diff --git a/hosting/models.py b/hosting/models.py index 25c8dab8..d4a51763 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -348,7 +348,7 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model): stripe_plan_id = item.plan.id try: stripe_plan = StripePlan.objects.get( - stripe_plan_name=stripe_plan_id + stripe_plan_id=stripe_plan_id ) except StripePlan.DoesNotExist as dne: logger.error(