> For the complete documentation index, see [llms.txt](https://docs.uppromote.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uppromote.com/management/referrals/return.md).

# Refunded/Cancelled Orders

A refunded referral order in UpPromote gets a matching negative record to cancel out the commission. Approve it to set the total commission to $0.

If a referral order is refunded/cancelled (marked as refunded in your Shopify admin), UpPromote's system will create another referral record with a negative amount to balance out the refunded one.

<figure><img src="https://2915776664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LnqRFg4of77qA6qOdUp%2Fuploads%2FbTKsaPdlgiIw5b13nPkW%2Fimage.png?alt=media&amp;token=db183bf6-2863-4c21-8ff3-a3036b6fa4b8" alt="how it work in UpPromote"><figcaption></figcaption></figure>

You can then approve the additional record to make the **total commission** of the refunded referral $0.

**Note:**

* The Order ID of the refunded referral will be the same as your original one.
* If you cancel the order without a refund (refund payments later), our system will not record the referral.
* If you refund items or other objects that are excluded from the affiliate program, our system will not count the negative amount in the refund referral.
