From 645710c9f0e6ced586ef6d56aa9d369d4bfc43c8 Mon Sep 17 00:00:00 2001 From: JamesRamm Date: Fri, 3 Feb 2017 20:27:35 +0000 Subject: [PATCH] Fix payment error --- longclaw/checkout/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )