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 = {