Details
-
Bug
-
Resolution: Done
-
Medium
-
4.5.x-dev, 4.6.x-dev
-
[4.6] - Sprint 16
-
Ibexa Commerce
Description
Preconditions:
Added and configured PayU gateway.
Steps to reproduce
- Go to storefront page {host}/product-catalog
- Make an order.
- Pay for an order using PayU payment method.
- Go to Storefront / User / Orders / order details {host}/user/order{orderId}
- Check Payment status (should be 'Paid').
- Click on 'Cancel' button.
Actual result:
Cannot cancel paid order from order details on storefront because an error 400 occurs.
Argument '$updateStruct->transition' is invalid: Transition "cancel" from "paid" status is not allowed
Expected result:
User can cancel paid order when order status is pending.