--- title: "Order Management" description: "Learn how the Adyen payments add-on implements the Order Management system." url: "https://docs.adyen.com/plugins/hybris/order-management" source_url: "https://docs.adyen.com/plugins/hybris/order-management.md" canonical: "https://docs.adyen.com/plugins/hybris/order-management" last_modified: "2019-05-01T10:35:00+02:00" language: "en" --- # Order Management Learn how the Adyen payments add-on implements the Order Management system. ## Payment Pending For payments using cards with 3D Secure authentication or local payment methods, the add-on places the order with a PAYMENT\_PENDING status. This status will be removed as soon as the authorisation is finished. In cases where the payment is abandoned or the authorisation is not received, the order status is updated to PROCESSING\_ERROR after a certain period. By default this period is 60 minutes. You can configure this period in the dynamic order process definition file: 1. In the extension you are using ([adyenv6fulfilmentprocess](https://github.com/Adyen/adyen-hybris/tree/develop/adyenv6fulfilmentprocess/resources/adyenv6fulfilmentprocess/process) or [adyenv6ordermanagement](https://github.com/Adyen/adyen-hybris/tree/develop/adyenv6ordermanagement/resources/adyenv6ordermanagement/process)), find the *order-process.xml* file. 2. Update the `timeout delay` value and save the file. ```xml AdyenPaymentResult ``` ## Capture If you have configured an automatic capture using the Hybris back office, we capture your payment automatically. However, if you prefer a manual capture flow you need to send a capture request before the authorisation expires. Some payment methods do not support manual capture. Your capture flow settings in Hybris should match the capture settings for your merchant account in your [Customer Area](https://ca-live.adyen.com/). The add-on provides an implementation of the `de.hybris.platform.payment.commands.CaptureCommand` for capturing payments.  Using `adyenCheckCaptureAction`, you can check if the capture of a payment has been completed. \ You can expect the following states: * OK – Payment was captured * NOK – Capture failed * WAIT – Waiting for capture completion (listening to the `AdyenCaptured` event) ## Cancellations/Refunds The add-on provides an implementation of the `de.hybris.platform.payment.commands.VoidCommand` to cancel the payment, if required. This command uses our [cancelOrRefund API call](/online-payments/modify-payments) and refunds the payment.  ## Refunds This extension provides an implementation of the `de.hybris.platform.payment.commands.FollowOnRefundCommand` to refund a payment. You can integrate `AdyenCancelOrRefundAction` to check if a refund is complete. You can expect the below states: * OK – Payment was refunded * NOK – Refund failed * WAIT – Waiting for refund completion (listening to the `AdyenRefunded` event)