> ## Documentation Index
> Fetch the complete documentation index at: https://kmerhosting.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Orders

> Track order creation, payment state, expiry, and the transition from order to service.

An order records one or more requested items and their billing context.

<Frame caption="Pending Orders is the main console view for an unpaid order that has not expired.">
  <img src="https://mintcdn.com/kmerhosting-a736a8a9/qmzUGdL1AajWuhXn/images/screenshots/pending-orders.png?fit=max&auto=format&n=qmzUGdL1AajWuhXn&q=85&s=a62eeeb175e89c9c08813f4f711348ef" alt="Pending Orders is the main console view for an unpaid order that has not expired." width="1600" height="900" data-path="images/screenshots/pending-orders.png" />
</Frame>

## Account-credit payment

When the payment flow uses account credit, the modal checks the available balance and confirms the amount to debit.

<Frame caption="Do not close the modal while the payment state is still processing.">
  <img src="https://mintcdn.com/kmerhosting-a736a8a9/qmzUGdL1AajWuhXn/images/screenshots/payment-credit.png?fit=max&auto=format&n=qmzUGdL1AajWuhXn&q=85&s=1f6cc8d43d3dfb09477415275bf6d800" alt="Do not close the modal while the payment state is still processing." width="1600" height="900" data-path="images/screenshots/payment-credit.png" />
</Frame>

## State transitions

1. Cart and checkout collect the items.
2. The platform creates the order and a pending invoice where applicable.
3. Payment updates the order and invoice state.
4. Service records are created or activated.
5. Operational provisioning can continue under Pending Services.
