diff --git a/core/models.py b/core/models.py index 8b9a480..f265bd2 100644 --- a/core/models.py +++ b/core/models.py @@ -602,7 +602,13 @@ class Subscription(models.Model): order = Order.objects.create( customer=self.customer, status=OrderStatus.UNFULFILLED, - shipping_address=self.shipping_address, + shipping_first_name = self.shipping_first_name, + shipping_last_name = self.shipping_last_name, + shipping_street_address_1 = self.shipping_street_address_1, + shipping_street_address_2 = self.shipping_street_address_2, + shipping_city = self.shipping_city, + shipping_state = self.shipping_state, + shipping_postal_code = self.shipping_postal_code, subtotal_amount=self.convert_int_to_decimal( data_object['subtotal']) - subscription['shipping_cost'], shipping_total=subscription['shipping_cost'],