Skip to content

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

Bugfix: anonymous clients should be able to pay for their orders

Artur Smętb934b3820b24
diff --git a/saleor/order/templates/order/details.html b/saleor/order/templates/order/details.html
index 4bba2ceff9..b98c9d0a50 100644
--- a/saleor/order/templates/order/details.html
+++ b/saleor/order/templates/order/details.html
@@ -102,7 +102,7 @@
</div>
</div>
{% endfor %}
- {% if order.user == user %}
+ {% if order.user == user or not order.is_fully_paid %}
{% if not order.is_fully_paid %}
{% if waiting_payment %}
<form method="post" action="{% url 'order:cancel-payment' token=order.token %}">