Order Placement

An order is created with the status New (NW). If an order is created through the PCP or RCP and a customer has a payment method configured for automatic payments, a payment for a full order amount is added to the order. If an order is placed through the online store, the online store must create and attach a payment to the order.

NW -> OP/HL (opening order)

This is the main transition out of New status. If the order is placed through the control panel, an operator must click Open Order to start the order flow. This serves as a confirmation that the order entry is complete.

NW -> CL/NW (closing order)

An operator working in the control panel can prevent order processing by clicking Cancel Order. The order gets status Canceled and this is the end of its processing. No handler is called during the transition. Fail status is not important and is never reached.

HL -> OP/HL (releasing order from hold)

If the order was put on hold due to inactive customer account but later the account was reactivated, the order can be reopened by clicking Open Order in the control panel.

HL -> CL/HL (canceling order)

If the order was put on hold due to inactive customer account and there are no plans to reactivate the account, the order can be canceled by clicking Cancel Order. The order gets status Canceled and this is the end of its processing.

OP -> TM/TM (awaiting a manual activation check)

From the OP status the order gets to TM status. This status signifies that the system awaits for check whether the account to be created needs manual activating or not. OP > TM/TM transition is unconditional, the order always gets to TM status after OP status.

TM -> WC/WC (checking whether a manual activation is required)

In this state it is checked whether a customer account is active. If not, the order remains in TM status until a Billing user goes to a customer account properties and clicks Activate.

WC -> TA/TA (checking whether an account registration is completed)

The open order is automatically checked whether the account was registered though a short registration form.

TA -> WS/TA (awaiting Terms and Conditions acceptance)

If the order was placed from external system without sending the AcceptedTerms array even if a service plan or a resource requires Terms and Conditions acceptance. The order remains in TA status without being charged or provisioned until a customer accepts these Terms and Conditions on their login to the customer panel.

Note: For custom order flows, you can configure whether to use the OF_WaitForTermsAcceptance order flow handler in this transition. For RN orders, the TA status is skipped.

WS -> NP/NP (checking whether an order processing is scheduled)

In this state, it is checked whether an order is scheduled to be processed. After that, an order gets status NP (not paid) and will not be processed until a payment is attached.

NP -> LC/NP (checking whether an AR Document is attached to an order)

When an order gets NP status, it is checked whether a credit documents is linked to the order through the OF_AttachARDocumentsToOrder handler. If the verification is not successful, the order remains in NP status.

LC -> I3/ES (checking a balance and creating a payment)

An order is checked a balance and create a payment. The check is performed by the OF_ReserveExternalBalanceAndCreatePaymentExc handler. If the check is successful, the order gets status I3 and forwarded to the next stage (fraud screening), otherwise is goes to ES status to check a balance reservation status.