> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/woocommerce/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/woocommerce/woocommerce-extension-1.1/user-guide/order/cancel.md).

# Cancel an order

Learn about the process of cancelling an order.

There are a few conditions that must be kept in mind when cancelling the WooCommerce order with this Digital River plugin:

1. The order can only be cancelled by the store admin, customers don’t have the provision to cancel the order.
2. The order can only be cancelled if the order’s status is **Ready for fulfillment**. The **Enable automatic fulfillment** must be de-selected under the **Digital River** tab in **Payments** to prevent the order to be fulfilled automatically.  &#x20;

{% hint style="info" %}
**Note:** The Digital River plugin does not currently support partial cancellation.
{% endhint %}

To cancel the order, go to **WooCommerce**, click **Orders**, and then click the order. Make sure the order status is **Ready for fulfillment**.

<div align="left"><img src="https://3735492544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYBLJ55uxN93mFkHb7q%2F-MZnuW4IlP6KnG6Rm8-a%2F-MZnum0OdcL_-v3_GEDm%2FOrders-Listing.png?alt=media&amp;token=f7a60b12-d5c8-4b89-9786-059bdfb42c61" alt=""></div>

Once you click the order, you will see the screen below.&#x20;

1. Choose the **Cancelled** status from the **Status** dropdown.
2. Click **Update**. You will see the order notes on the right side. If it’s successful, it will show **Cancellation has been created with ID.**&#x20;

<div align="left"><img src="https://3735492544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYBLJ55uxN93mFkHb7q%2F-MZnvAdm3K8n88eAHFAM%2F-MZnvPCWDe8EfCcpKTJ6%2FCancel-Order.png?alt=media&amp;token=1b9c73c1-8686-4010-96cc-c6d5afca70c3" alt=""></div>

If you try to cancel the completed order, that is an order with a **Completed** status, you will see the following error message:

<div align="left"><img src="https://3735492544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYBLJ55uxN93mFkHb7q%2F-MZnvAdm3K8n88eAHFAM%2F-MZnwKFvRMChKAsavrJr%2FError-for-completed-order.png?alt=media&amp;token=95782d66-326e-47a0-9418-f69e1706e8ef" alt=""></div>
