Order Status Codes:

Order Status Description
0 Created / Initiated
1 Paid / Completed - Approved Transaction
2 UnPaid / Completed - Declined Transaction
3 Completed - Partial Approved Transactions
4 Pending Payment / if payment
5 Cancelled Payment by Use
6 Cancelled / Cancelled by Merchant
7 Expired