v0.4.0
11 October 2026 Latest- Weekly report — every Monday at 08:00 (server local time) the worker emails what the plugin did last week against the week before: applications received, accounts approved, invoices issued and their value, money collected, reminders sent, money recovered on overdue invoices, reward points issued — plus the next set-up steps and, on the free tier or during the evaluation, what a licence switches on. Goes to the channel's notification email by default (then the licence holder, then the evaluation reminder address); *Settings → Weekly report* changes the recipient, turns it off, sends a test or opens a preview. Needs SMTP (the plugin's
smtpoption or theSMTP_*environment). Endpoints:GET/POST /business-credit/digest/settings,POST digest/send-test,GET digest/preview. - Set-up checklist on the Overview (
GET /business-credit/setup): Pay-on-Account payment method enabled, credit terms saved, notification email set, SMTP configured, Stripe webhook secret configured, first account approved or invited — real checks, each with a hint and a link to the right tab. *Hide* puts it away until a step comes undone again; it disappears by itself once everything is done. The Settings tab's static status dots moved here. - Dashboard widget (Dashboard → Add widget → Business Credit): collected, invoiced and reminders sent over the last 7 days, the licence notice when one applies, and a link to the plugin page.
GET /business-credit/widget. - Usage figures —
GET metagainsnotice(trial ending / key expiring sentence),premiumFeatures,recentStats(the top three non-zero 30-day figures) andstats30; the Overview shows Collected (30d), Recovered after reminders (30d) and Reminders sent (30d); the trial and free banners show "So far: …" and the premium feature list; the trial banner has the "Email me before it ends" reminder (the existingeval/remind-me, which now also remembers the address for the weekly report). The same 30-day figures ride along with the daily evaluation ping and, after purchase, the heartbeat — numbers only, no personal data. bc_dunning_run— every daily pass is recorded (date, reminders sent, fees applied, suspended, statements sent, marked overdue, errors) so the reminders figure is real rather than inferred.
- Every 402
licence_requiredbody now carriesbuyUrl; the admin UI maps any 402 (andlicence-required/premium-featurebodies) to "<what you tried> needs a licence — start the free trial or activate a key at the top of this page." - Licence SDK
^0.15.1(PluginPrefs,WeeklyDigest,licenceLifecycleNotice,Heartbeat.setStatsProvider,licenceKeyProvider). - The heartbeat reports the jti of the key now in force — a key activated from the admin card or installed by the purchase claim no longer leaves it saying
unlicensed(which made the licence server drop the usage figures for those installs); deactivation sets it back.