It includes the standard order process same as WHMCS.

Array
(
    [result] => error
    [message] => SQLSTATE[42S02]: Base table or view not found: 1146 Table 'whmpdwhmcs_whmc442.tblondemandrenewals' doesn't exist (SQL: select count(*) as aggregate from `tblondemandrenewals`)
)
Ordering is not configured properly, kindly contact site owner