Linux 软件免费装
Banner图

Demfilz Trade Accounts for WooCommerce

开发者 demfilz
更新时间 2026年11月8日 06:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

wholesale pay on account net 30 trade account invoice payment

下载

1.0.2

详情介绍:

Wholesale and trade stores sell to approved business customers on credit: the goods ship now and the invoice is paid within 7, 14 or 30 days, usually by bank transfer. This plugin adds that to WooCommerce. Approved customers see a Pay on account option at checkout. The order goes through without a payment, ships as usual, and is recorded on the customer's account with a due date and their purchase order number. You see what every account owes and what is overdue, and you record each payment when the money arrives. At checkout Accounts and applications Invoices and payments For the customer Sensible defaults For developers Actions: dtaw_status_changed, dtaw_order_placed, dtaw_payment_recorded, dtaw_payment_reversed, dtaw_order_box_after, dtaw_account_after_status, dtaw_account_form_rows, dtaw_account_form_save, dtaw_admin_account_after, dtaw_user_panel_rows, dtaw_user_panel_save, dtaw_admin_tab_{tab}. Filters: dtaw_is_approved, dtaw_terms_days, dtaw_due_date, dtaw_can_place_on_account, dtaw_gateway_available, dtaw_checkout_extra_text, dtaw_open_statuses, dtaw_admin_tabs, dtaw_admin_tiles, dtaw_account_endpoint. Orders placed on account carry the meta _dtaw_on_account (1), _dtaw_state (open, paid or void), _dtaw_due (Y-m-d), _dtaw_terms (days), _dtaw_po, and once paid _dtaw_paid_at and _dtaw_paid_ref.

安装:

  1. Install and activate the plugin. WooCommerce must be active.
  2. WooCommerce > Settings > Payments: make sure "Pay on account" is enabled, and set its title and description.
  3. WooCommerce > Trade Accounts > Settings: default terms, the status for orders on account, the purchase order field and your payment instructions.
  4. Approve a customer (Accounts tab > Add a customer), or wait for applications from My Account > Trade account.

屏幕截图:

  • An account: application details, terms, reference and its invoices.
  • "Pay on account" in the checkout block with the purchase order field.
  • The Invoices tab with due dates and one click payment recording.
  • The Trade account box on an order.
  • My Account > Trade account: open invoices and how to pay.
  • The application form.
  • Settings.

升级注意事项:

1.0.2 No data changes. The WP Rocket exclusion now works on sites with a custom plugins directory. 1.0.1 No data changes. Messages now appear only in the plugin's own screens. 1.0.0 First release.

常见问题:

Who sees "Pay on account"?

Only logged in customers whose trade account is approved, or whose role is on your auto approved list. Suspended or declined accounts never see it. The check runs again when the order is placed, so it cannot be bypassed by editing the checkout page.

What happens to the order?

It is created like any other order and moved to the status you chose (Processing by default), so it ships straight away. The order's paid date stays empty until you record the payment, so reports and accounting syncs do not treat it as paid.

How do I record a payment?

Open the order and use the Trade account box (date, reference, note), or click "Paid today" on the Invoices tab. "Mark as unpaid" reverses a mistake.

Can a customer pay an open invoice by card?

Not from this plugin: the order was accepted on account, so it is not pending payment. Customers pay by bank transfer following your payment instructions, and you record the payment. Partial payments are not tracked; record the payment when the invoice is paid in full.

Does it work with the checkout block?

Yes. The terms, the purchase order field and the "Place order on account" button appear in the checkout block, and the classic shortcode checkout is supported too.

Can I give different customers different terms?

Yes. Each account can have its own terms in days; accounts without their own use the store default.

Is there a Pro version?

Yes. Demfilz Trade Accounts Pro adds credit limits with checkout blocking, overdue reminders, account statements with aged balances, statement emails and accounting sync hooks (Demfilz Sync for Xero, QuickBooks and MYOB). Everything described on this page works without it.

Does it work with HPOS?

Yes, with both order storage modes.

更新日志:

1.0.2 1.0.1 1.0.0