Creating an Order

The amount of the Order and the amounts of the Charges are rounded off to two decimal places. When a discount is applied, this may lead to a discrepancy between the amount of the Order and the amounts of the Charges for the Subscription. To avoid this, rounding off and applying of a discount to the amounts of the Order and Charges is performed according to a special algorithm (see Specifics of Orders and Charges amounts calculation and rounding when a discount is applied). 

The Order is automatically created as a result of the following operations:

  • Sales Order: after ordering a Subscription by an Account user via the Customer Control Panel, the online store or by Operator (Reseller) via the Operator Control Panel (see Ordering a Subscription at the Plan prices).

    A Sales Order can be created manually from the Orders page (see Viewing the List of Orders).

  • Change Order: after changing a number of additional Resources of the Subscription via the Customer Control Panel or via the Operator Control Panel (see Upgrading or Downgrading a Subscription).
  • Switch plan Order: after switching a Subscription Plan via the Customer Control Panel or via the Operator Control Panel (see Switching a Plan).
  • Renewal Order: after renewing a Subscription via the Operator Control Panel (see Renewing a Subscription) or via the Customer Control Panel.
  • Prolong Order: the billing process attempts to create a Prolong Order for a Subscription every night before the number of days to the Billing day specified in the Auto-renew point (days) parameter of the Subscription regardless of the Auto-renew option (see Viewing and updating Subscription's details). If Auto-renew point (days) is set to 0, the billing process attempts to create a Prolong Order at the Billing day (see Prolonging a Subscription).

When the Order created Event is triggered (see Creating an Event Handler), a PDF invoice for the Order is attached to the email Notification (see Creating a Notification Template). The PDF file is generated using a template specified in the Account Type (see Creating an Account Type) in the default Payment method based on the CheckCash plugin. If the default Payment method is not specified, the PDF invoice is not attached.