> 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/refund.md).

# Refund the order

Learn about the process of refunding an order.

To refund the WooCommerce order with this Digital River extension:

1. Go to **WooCommerce**, click **Orders**, and then click the order which the customer wants to be refunded.&#x20;
2. Choose **Refunded** from the **Status** dropdown and click **Update**.

{% hint style="info" %}
You can only refund the order when the order status is **Completed**.
{% endhint %}

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

![](https://3735492544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKg2QvDMbJLfVNV4hjxUt%2Fuploads%2FoE4IKcZx7HmlRc9var8z%2FRequest-Refund.png?alt=media\&token=51b733d1-98de-45d0-88b0-7942f11c0ee0)

This extension listens to the `order.charge.refund.complete` event, which you can see on the Digital River Dashboard under **Event logs**. Once the plugin listens to this event, it marks the order as **refunded**.   &#x20;

<div align="left"><img src="https://3735492544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYBLJ55uxN93mFkHb7q%2F-MZnwN2yfcN1GtNMS-Yq%2F-MZnz_QXfVQ7vULwULbH%2FEvents-Logs.png?alt=media&amp;token=8e2afc7b-a0a0-425d-9b75-8ddd2842cd16" alt=""></div>

![](https://3735492544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKg2QvDMbJLfVNV4hjxUt%2Fuploads%2FQujsffLQcvjB2q8EvcNt%2Fimage.png?alt=media\&token=39c73680-6ed1-40da-8a19-6e824c1395e8)

If you try to refund an order which has a status other than **Completed**, you 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-MZo-1LtuZ7GmOpfZJ12%2F-MZo-J800ODEX7_VYGVp%2FOrder-notes.png?alt=media&amp;token=b1e6b873-d045-4d89-a595-7d5533847aba" alt=""></div>

{% hint style="info" %}
The **Order notes** (visible on the Order details page along the right side) displays text from both Digital River AND WooComerce order logging. Refund notes at times may not be accurate and can be ignored.
{% endhint %}
