> For the complete documentation index, see [llms.txt](https://developers.doku.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.doku.com/accept-payments/doku-checkout/order-and-notification-handling.md).

# Order & Notification Handling

## Order & Notification Handling

Payments don't always go in a straight line — orders can succeed, fail, expire, or need to be cancelled, and customers often need to be kept in the loop along the way. This section covers how to track an order's status, how DOKU keeps you and your customers informed at each stage, and how to manage orders that don't go as planned.

* [**Automated Email Notifications**](https://developers.doku.com/~/revisions/yA0Hyt0yw9QhfehhXZdk/accept-payments/doku-checkout/order-and-notification-handling/automated-email-notifications)**:** Automatically email customers when their order is created, paid, failed, about to expire, or has expired, so they stay informed without any manual follow-up from your team.
* [**Order Status for Checkout Page**](https://developers.doku.com/~/revisions/yA0Hyt0yw9QhfehhXZdk/accept-payments/doku-checkout/order-and-notification-handling/order-status-for-checkout-page)**:** Understand the possible status values an order can move through (e.g. pending, success, failed, expired), and how to check an order's current status via the API.
* [**Expired Notification**](https://developers.doku.com/~/revisions/yA0Hyt0yw9QhfehhXZdk/accept-payments/doku-checkout/order-and-notification-handling/expired-notification)**:** Get notified on your own backend the moment an order expires, so your system can react immediately — releasing reserved stock, closing out records, or triggering a follow-up — without waiting to poll for status.
* [**Recover Abandoned Cart**](https://developers.doku.com/~/revisions/yA0Hyt0yw9QhfehhXZdk/accept-payments/doku-checkout/order-and-notification-handling/recover-abandoned-cart)**:** Give customers a way to resume and complete an expired order via a recovery link, instead of losing the sale entirely and making them start over.
* [**Cancel Order API**](https://developers.doku.com/~/revisions/yA0Hyt0yw9QhfehhXZdk/accept-payments/doku-checkout/order-and-notification-handling/cancel-order-api)**:** Programmatically cancel an order that's still pending, giving you direct control to close out orders that are no longer needed rather than waiting for them to expire on their own.
