Part of Ordlo Credit Accounts Documentation
What Ordlo Credit Accounts works with.
Ordlo Wholesale
Credit Accounts works on its own, but the two together cover most of what a trade operation needs.
Group credit limits. Give each wholesale group a default limit, so approving a customer into Trade or Distributor gives them credit without setting anything per customer.
Company accounts. Where a company has several buyers under one parent account, they all draw on the parent’s credit limit and the parent’s balance. One limit for the business, not one per login.
Neither is required. Without Wholesale, you set limits per customer or use a store default.
Ordlo Xero Sync Pro
Paid invoices in Xero release credit in WooCommerce automatically. See Xero Sync Integration for the setup and the one setting that matters.
WooCommerce Cart and Checkout Blocks
Fully supported. Pay on account appears in the block checkout, and the message explaining why it is unavailable appears at the top of the Cart and Checkout blocks, updating live as the basket changes. The classic shortcode templates are supported too.
High-Performance Order Storage
Compatible with HPOS, with or without compatibility mode.
Other Payment Gateways
Credit Accounts adds a payment method and does not interfere with any other. When a customer cannot pay on account, your card gateway and anything else you offer work exactly as normal.
For Developers
A few filters are available for bending the rules:
ordlo_credit_accounts_limit– the limit resolved for a customerordlo_credit_accounts_used– the credit they are currently usingordlo_credit_accounts_account_id– which account a customer draws on, for custom parent and child arrangementsordlo_credit_accounts_edd_item_id– the licensing product ID, for build pipelines
The public helpers ordlo_credit_accounts_get_limit(), ordlo_credit_accounts_get_available(), ordlo_credit_accounts_get_used(), ordlo_credit_accounts_has_account() and ordlo_credit_accounts_is_credit_order() are safe to call from a theme or another plugin.
