Skip to content

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

Tweak to flow to ensure note is captured

Jon Lawrence821fda1aa4cf
diff --git a/saleor/checkout/views/validators.py b/saleor/checkout/views/validators.py
index 95fa3020e3..c9196585f4 100644
--- a/saleor/checkout/views/validators.py
+++ b/saleor/checkout/views/validators.py
@@ -63,11 +63,11 @@ def validate_is_shipping_required(view):
Expects to be decorated with `@validate_cart`.
- If shipping is not needed redirects to the summary step.
+ If shipping is not needed redirects to the note step.
"""
@wraps(view)
def func(request, checkout):
if not checkout.is_shipping_required:
- return redirect('checkout:summary')
+ return redirect('checkout:note')
return view(request, checkout)
return func