From c6fa1eec0073af697625d1606f03df8eb1795db7 Mon Sep 17 00:00:00 2001 From: emile Date: Wed, 10 Apr 2024 19:32:13 +0300 Subject: [PATCH] dd --- osinaweb/billing/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osinaweb/billing/models.py b/osinaweb/billing/models.py index 2c049e2a..597098bd 100644 --- a/osinaweb/billing/models.py +++ b/osinaweb/billing/models.py @@ -56,7 +56,7 @@ class OrderItem(models.Model): def save(self, *args, **kwargs): if self.purchased_at: try: - customer_email = self.order.customer.email + customer_email = self.order.customer.user.email plan_name = self.item.title payload = {