Part of Ordlo Credit Accounts Documentation
Used with Ordlo Xero Sync Pro, paying a customer’s invoice in Xero frees up their credit in WooCommerce automatically. No second system to keep in step.
How the Two Plugins Fit Together
- A customer places an order on account. It holds credit and goes into the status you chose.
- Ordlo Xero Sync Pro creates the invoice in Xero when the order reaches one of its trigger statuses.
- The customer pays the invoice. Xero marks it PAID.
- Xero Sync picks that up, marks the WooCommerce order paid, and the credit is released.
Nothing is configured between the two plugins. Credit Accounts watches for WooCommerce recording a payment date, and Xero Sync is what records it.
What You Need to Set
Leave the credit order status on On hold. Ordlo Xero Sync Pro only marks an order paid from a Xero webhook when the order is pending, on hold or failed. On hold is the only credit order status in that list, which is why it is the recommended default. The same applies to its polling fallback.
Tick a trigger status in Xero Sync. In Ordlo → Xero Settings, under Sync when order reaches, tick the status your credit orders land in. If nothing is ticked, no invoice is created in Xero and there is nothing to pay. If you use the separate On account status, it appears in that list too.
If You Use Processing or On Account
Xero will still create the invoice, but it will not mark the order paid, so credit is not released automatically. Use Mark invoice paid (releases credit) on the order when the invoice is settled.
If you want to keep one of those statuses and still have it automatic, get in touch at info@ordlo.io.
Checking It Worked
A released order shows a payment date in the admin and a note from Xero Sync recording the amount and invoice number. The customer’s row on the Customers tab drops back to zero used, and their My Account panel updates at the same time.
