Skip to content

Grace Period Manager

Grace Period Manager is a Paymenter extension for hosting providers who want different overdue tolerances for different products. Paymenter has one setting that decides after how many days an overdue service is suspended. This extension adds a grace period in days, as a global default and per product, and keeps Paymenter's daily cron job from suspending a service before that period has passed. You can also exempt single services from automatic suspension.

Admin list of product grace periods

What it does

  • Global default. One setting, Default grace period (days), applies to every product that has no override.
  • Per-product override. Under Grace Periods you set a different number of days for a product. The override wins over the global default.
  • Suspension exemptions. Under Suspension Exemptions you mark a single service as Do not auto-suspend this service, with an optional note.
  • Suspension stays with Paymenter. The extension suspends nothing itself. While app:cron-job runs, it hides services that are inside their grace period or exempt. Once the grace period has passed, Paymenter suspends the service the way it always does.
  • Calculated suspension date. The exemptions list shows due date plus grace period for each listed service.
  • Manual actions are not blocked. The extension is only active during Paymenter's cron job. Suspending a service by hand in the admin area works as before.

The extension has no customer pages and sends no e-mails.

Warning

Services are hidden from the whole cron job, not only from its suspension step. This also delays renewal invoices and keeps exempt services from being invoiced, cancelled or terminated by the cron job. Read What the cron job no longer sees before you enable the extension.

Requirements

  • Paymenter 1.5.x. The extension was developed and tested against Paymenter 1.5.8.
  • PHP 8.3 or 8.4.
  • Paymenter's scheduler must run, because suspension happens in the daily app:cron-job command.

Pages

  • Installation: upload, enable, update and uninstall.
  • Configuration: the global setting, product overrides and exemptions.
  • Usage: when a service is suspended and what the cron job does while the extension is enabled.
  • FAQ: common questions and troubleshooting.
  • Changelog