Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Merge branch 'master' into revert-address-model

Marcin Gębalaf02a84982767
diff --cc saleor/order/views.py
index 0ef2873e27,7594b1d419..ed496ce34e
--- a/saleor/order/views.py
+++ b/saleor/order/views.py
@@@ -63,7 -60,7 +63,8 @@@ def start_payment(request, order, varia
'billing_postcode': billing.postal_code,
'billing_country_code': billing.country,
'description': _('Order %(order_number)s' % {'order_number': order}),
- 'billing_country_area': billing.country_area}
++ 'billing_country_area': billing.country_area,
+ 'customer_ip_address': get_ip(request)}
if not variant in [v for v, n in settings.CHECKOUT_PAYMENT_CHOICES]:
raise Http404('%r is not a valid payment variant' % (variant,))
with transaction.atomic():