diff --git a/longclaw/checkout/api.py b/longclaw/checkout/api.py index aaf66d2..40433d6 100644 --- a/longclaw/checkout/api.py +++ b/longclaw/checkout/api.py @@ -85,7 +85,7 @@ def capture_payment(request): # Create the order items for item in items: order_item = OrderItem( - product=item.product, + product=item.variant, quantity=item.quantity, order=order )