diff --git a/press/press/doctype/site/site.py b/press/press/doctype/site/site.py index 04a592b17d0..76a606b2808 100644 --- a/press/press/doctype/site/site.py +++ b/press/press/doctype/site/site.py @@ -2879,6 +2879,10 @@ def can_charge_for_subscription(self, subscription=None): and self.team != "Administrator" and not self.free and (today > get_datetime(self.trial_end_date).date() if self.trial_end_date else True) + and not ( + self.creation_failed + and not frappe.db.exists("Usage Record", {"document_name": self.name, "docstatus": 1}) + ) ) def get_plan_name(self, plan=None):