---
title: Orders
related:
  - https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/orders/order-statuses.md
  - https://docs.kentico.com/13/e-commerce-features/configuring-on-line-stores/configuring-shipping-options.md
  - https://docs.kentico.com/13/e-commerce-features/configuring-on-line-stores/configuring-payment-methods.md
  - https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/customers.md
  - https://docs.kentico.com/13/e-commerce-features/developing-on-line-stores/implementing-a-checkout-process.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

In Xperience, orders of [products](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/products.md) can be placed by both registered and anonymous [customers](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/customers.md).

Various types of discount such as [product coupons](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-product-coupons.md), [catalog discounts](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-catalog-discounts.md), [order discounts](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-order-discounts.md), [volume discounts](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-volume-discounts.md), and [free shipping offers](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-free-shipping-offers.md) can be applied (to whole orders or selected order items) to further motivate the purchasers and therefore boost your sales.

The system allows you to define multiple [shipping options](https://docs.kentico.com/13/e-commerce-features/configuring-on-line-stores/configuring-shipping-options.md) and [payment methods](https://docs.kentico.com/13/e-commerce-features/configuring-on-line-stores/configuring-payment-methods.md). The checkout process in Xperience is also customizable and fully controlled by the website's developers – see [Implementing a checkout process](https://docs.kentico.com/13/e-commerce-features/developing-on-line-stores/implementing-a-checkout-process.md).

Additionally, you can track the life cycle of your store's orders through customizable [order statuses](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/orders/order-statuses.md).

## Managing orders

The system allows store administrators to create and manage orders directly in a dedicated part of the administration interface. Here, the administrators can also modify and remove any selected order.

To manage orders in the administration interface:

1. Open the **Orders** application.
2. Perform the required action.
   - You can add new orders, and modify or remove existing ones.
3. Save your work.

> **Tip:** You can perform the **Move to the previous status** () and **Move to the next status** ()actions to manually change the [status](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/orders/order-statuses.md) of a selected order as required, for example _Payment received_, _Completed_, etc.

![Managing orders](https://docs.kentico.com/docsassets/13/orders/managing_orders.png "Managing orders")

## Recalculating orders

The system allows store administrators to modify orders placed by your customers. Orders are recalculated after:

- changing the shipping option (**Shipping** tab)
- adding product items (**Items** tab)
- changing the number of ordered product items (**Items** tab)
- removing product items (**Items** tab)
- adding or removing a coupon code (**Items** tab)

The system does not recalculate orders after modifying the billing or shipping address, changing the order status or the payment method, and other actions not listed above.

If required, you can manually force the system to recalculate an order:

1. Open the **Orders** application.
2. **Edit** () a selected order on the respective tab.
3. Modify order properties as required.
4. Click **Save** (**OK** on the **Items** tab).

The system saves the order with recalculated values.

> **Note:** **Important**
>
> The system does NOT update the **Unit price** of order items when recalculating orders (to preserve the original unit price calculated when the customer made the order). If you make an order change that affects the unit price of an item (due to [catalog](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-catalog-discounts.md) or [volume discounts](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-volume-discounts.md)), you need to edit the given item's unit price manually for the order (see [Modifying order items](#modifying-order-items)).
>
> For example, if you increase the number of ordered units to an amount that fulfills the conditions of a volume discount and **Update** the order, the system does not automatically reduce the unit price. If you wish to reduce the item's price, you need to edit the given order item on the **Items** tab, set the reduced **Unit price** according to the given volume discount, click **Save & Close** and then click **OK.**

> **Info:** **Discount validity**
>
> When recalculating existing orders, the system evaluates the validity of discounts using the date and time when the order was created, not the current time. Expired discounts remain valid when recalculating orders that were created before the discount's **Valid to** date.
>
> However, if a discount was manually disabled or deleted, the system removes it from orders during the recalculation.

## Capturing payments

With some payment methods, the initial payment done by the customer only performs authorization (places a hold on the transaction amount), without actually transferring funds. The merchant finishes the transaction at a later time by capturing the payment, typically after the ordered products are physically shipped.

To capture the payment for an order:

> **Note:** **Note**: Capturing of funds is only possible for orders with a successfully authorized payment (that has not expired or already been completed).

1. Open the **Orders** application.
2. Edit the appropriate order.
3. Switch to the **Billing** tab.
4. Click **Capture payment**.

If the capture transaction is successful, the given payment gateway handles the transfer (settlement) of the authorized funds. The order is then marked as paid in Xperience.

## Marking orders as paid

The system can automatically mark orders as paid after the orders are [moved to a selected order status](#changing-order-statuses). For example, to the _Payment received_ order status when the customers make their payments through a payment gateway (automatic order status change), or when your on-line store administrators change the status of existing orders in the administration interface (manual order status change).

You can also mark orders as paid directly in the administration interface while editing the orders on the **Billing** tab:

1. Open the **Orders** application.
2. **Edit** () a selected order.
3. Switch to the **Billing** tab.
4. Enable the **Order is paid** property.
5. Click **Save**.

If an order is marked as paid:

- the system sends to specified email addresses notification emails informing about receiving payment
- purchased memberships become activated
- expiration of purchased e-products starts
- store administrators cannot add product items (**Items** tab)
- store administrators cannot perform the **Update** action (**Items** tab)
- store administrators cannot change the shipping option (**Shipping** tab)
- store administrators cannot change the payment method (**Billing** tab)

> **Note:** To be able to modify the disabled order properties, you need to disable the **Order is paid** property for the order.

> **Info:** With the **Order is paid** property enabled, you can still modify order addresses (**Shipping** tab and **Billing** tab), order tracking number (**Shipping** tab), and order note (**Shipping** tab). You can also change order status (**General** tab).

> **Info:** If orders are marked as paid immediately upon creation, check whether the first [order status](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/orders/order-statuses.md) (the top status in the **Store configuration -> Order status**) marks orders as paid.
>
> If it is the case, clear the **Mark order as paid** field while editing the first order status, or create a new order status that does not mark the order as paid and move it to the top of the order statuses list.

## Changing order statuses

You can configure the system to change the status of your customers' orders automatically. For example, the system sets up a selected order status on placing new orders, after making payments through payment gateways, etc.

Your on-line store administrators can also change the status of existing orders directly in the administration interface:

1. Open the **Orders** application.
2. **Edit** () a selected order.
   - The system opens the order on the **General** tab.
3. Select an order status as required.
4. Click **Save**.

The system saves the order with the selected status.

> **Tip:** If you switch to the **History** tab, you can view the order's all order status changes.

## Modifying order items

To modify items in an existing order:

1. Open the **Orders** application.
2. **Edit** () a selected order.
3. Switch to the **Items** tab.
   - Here you can add new order items, change the number of ordered items, and remove order items.

     > **Info:** **Notes**
     >
     > - You **cannot** edit items for orders that are [marked as paid](#marking-orders-as-paid).
     > - If you manually edit the **Unit price** of an order item, the system clears all [catalog discounts](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-catalog-discounts.md) applied to the given item.
     > - If the **Send order changes by email** option is enabled, the system sends a notification email informing about the changes made in the order to relevant addresses (typically to the customer and to the merchant).
4. Click **OK**.

If you now generate an invoice for the order (**Invoice** tab), it contains the updated set of items.

### Returning product items to the inventory

If you lower the number of product items in an existing order, the system can increase the number of product items in stock.

To return the products to stock, you need to fulfill ALL of the following conditions:

- Tracking inventory for the changed product is enabled. That is, the product needs to have the  **Track inventory**  check box selected when editing the product details.
- You do not remove the whole order but remove the product items inside the order as described above in this section.

  > **Tip:** If you click **Empty**, the listed product items are removed from the order all at once. You can also remove only selected product items from the order. To do so, select product items and click **Update**.
- The order has never been labeled as paid. That is, the **Order is paid** check box on the **Billing** tab has never been selected in the modified order.

## Modifying order addresses

The system allows your customers to specify a different address for billing and for shipping (if the shipping address is different from the billing address). Otherwise, the billing address is used as the shipping address.

To modify order addresses:

1. Open the **Orders** application.
2. **Edit** () a selected order.
3. Switch to the **Billing** tab.
4. Click **Edit**.
   - This opens the **Edit address properties** dialog.
5. Change address details as required.
6. Click **Save**.
   - The system saves the updated address and closes the dialog.
7. (Optional) Switch to the **Shipping** tab and repeat steps 3. through 5. to edit the shipping address.

If you now generate an invoice for the order (**Invoice** tab), it contains the updated address.
