Skip to content

Commerce Foundations is our pre-built Craft Commerce store. See what it includes

Craft CMS plugins

Net Terms

Give business customers a credit limit to buy now and pay their invoice later on set terms.

Configuration

Set these in Settings -> Plugins -> Net Terms, or in config/net-terms.php. The billing mode is the Net Terms gateway’s payment type in Commerce, not a plugin setting. The settings page shows the current mode with a link to the gateway; see billing by order.

Setting Label Default What it controls
defaultSublimitMode Default sublimit mode ceiling How sublimits behave on an account that uses the default: ceiling or reserved. The settings page doesn’t accept reserved while an account on the default has sublimits adding up to more than its limit. Net Terms checks a value in config/net-terms.php only when someone saves the settings page.
defaultPaymentTerms Default payment terms 30 Days from an invoice’s issue date, or an order’s date in order billing, to its due date, on an account that uses the default.
invoicePath Storefront invoice path null The site path of one invoice, with {number} for the invoice number. Invoice emails and invoice reminders link here when it is set.
invoiceEmailTemplate Invoice email template null A site template for the invoice email. Blank uses the plugin’s own.
orderPath Storefront order path null The site path of one credit order, with {number} for the order number. Order reminders link here when it is set.
dueSoonReminderDays Due-soon reminder null Days before the due date to send the due-soon reminder. At least 1. Null turns the reminder off.
overdueReminderDays Overdue reminder null Days after the due date to send the overdue reminder. 0 sends it as soon as the bill is overdue. Null turns the reminder off.
<?php

return [
	'defaultSublimitMode' => 'reserved',
	'defaultPaymentTerms' => 45,
	'invoicePath' => 'account/invoice?number={number}',
	'invoiceEmailTemplate' => '_emails/net-terms-invoice',
	'orderPath' => 'account/net-terms-pay?number={number}',
	'dueSoonReminderDays' => 5,
	'overdueReminderDays' => 1,
];

The invoice email template receives invoice, account, and invoiceUrl. For the reminder emails and their variables, see reminders.

We can take it from here.

We take on the Craft and Craft Commerce sites you built, so you can get back to building. Introduce a client who signs a management contract and you get a $3,000 partnership fee.

How the Dev Partnership Program works
See if we’re a fit