Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix redirect bug in order
Michal Ociepka5e1538453dc6
diff --git a/order/views.py b/order/views.pyindex 507e48b9bf..866ebe81f2 100644--- a/order/views.py+++ b/order/views.py@@ -44,7 +44,7 @@ def details(request, token, step):except KeyError:raise Http404()response = step.process()- if response:- response.context_data['steps'] = checkout.steps+ if hasattr(response, 'context_data'):+ response.context_data['checkout'] = checkoutreturn response or redirect(checkout.get_next_step())