Part of Ordlo Credit Accounts Documentation
How used credit is worked out, where you can see it, and how to correct it by hand when you need to.
How Used Credit Is Calculated
An order counts against the limit from the moment it is placed until WooCommerce records a payment date against it. Not when it reaches a particular status, which matters: a credit order moved to Processing so your warehouse can pick it is still unpaid, and still counts.
Used credit is the total of those outstanding orders, less anything refunded. Available credit is the limit minus the used figure, and never drops below zero.
Orders that are cancelled, refunded, failed or in the bin are left out entirely.
What Counts Against the Limit
In Settings → Credit limits you choose between:
Unpaid orders placed on account. The default. Only orders placed through the plugin count. Suits most stores.
Unpaid orders plus manual adjustments. Also counts charges and credits you add by hand. Use this if you take orders over the phone, raise invoices outside WooCommerce, or want to record a payment on account before the invoice is settled.
Adjustments are always recorded, so you can switch this on later and the history is there.
Adding a Manual Adjustment
On the Customers tab, open the adjustments area for the customer and enter an amount with a note. A positive amount uses credit, for example a charge taken over the phone. A negative amount gives credit back, for example a payment received by bank transfer.
Adjustments only affect balances when the second option above is selected.
Where You Can See Balances
Ordlo → Credit Accounts → Customers lists every account with the limit in force and where it came from, used credit, available credit, how many orders are still to pay, and whether the account is on hold. The unpaid count links through to that customer’s orders.
Customers see their own figures on the My Account dashboard, with a list of orders still to pay.
Moving or Hiding the Customer Balance
In Settings → Checkout and account area you can turn the My Account panel off, or change its heading. To put it somewhere else, use the shortcode:
[ordlo_credit_account]
It only outputs anything for a signed-in customer who has a credit account.
