Skip to content

Grace Period Manager FAQ

Questions

Does the extension suspend services itself?

No. Paymenter's daily cron job suspends them. The extension only keeps services out of that cron job while they are inside their grace period or exempt.

From which date does the grace period count?

From the service's due date (expires_at). The service can be suspended at the first cron run after due date plus grace days.

What does a grace period of 0 do?

The service gets no extra days, and Paymenter's Suspend server if invoice is x days overdue setting alone decides when it is suspended. The cron job still skips active services that are not due yet, which delays renewal invoices until the due date has passed. See What the cron job no longer sees.

Can a product have a shorter grace period than the global default?

Yes. An override always replaces the global default, also with a lower value or 0. It cannot go below Paymenter's own suspension setting. See When a service is suspended.

Can I set a grace period per customer or per service?

No. Grace periods are global or per product. For a single service you can only switch automatic suspension off completely with an exemption.

Does an exemption expire?

No. It applies until you switch Do not auto-suspend this service off or delete the entry.

Does an exempt service still get renewal invoices?

Not from the cron job. An exempt service is hidden from the whole cron job. See Exempt services.

Does the customer see the grace period or the suspension date?

No. The extension has no customer pages and sends no e-mails. The calculated suspension date is only shown in the admin list Suspension Exemptions.

Can I still suspend a service by hand during the grace period?

Yes. The extension is only active while app:cron-job runs. Manual actions in the admin area are not affected.

Does it delay termination as well?

No. Only exempt services are kept out of the termination step. Keep grace periods lower than Paymenter's Delete server if invoice is x days overdue (also cancels the invoice) setting, otherwise a service is suspended and terminated in the same cron run.

Does the grace period apply to services that are already suspended?

No. It only protects services with the status active. It does not unsuspend anything.

What happens when I disable the extension?

The overrides, exemptions and the setting are kept, the two admin entries disappear, and from the next cron run Paymenter works by its own settings alone. Services that are overdue by more than Paymenter's suspension setting at that moment are suspended in that run, including exempt ones.

Troubleshooting

A service was suspended before its grace period ended

  • Check whether the product has an override under Grace Periods with a lower value than the global default. The override wins.
  • Check whether an administrator suspended it by hand. Manual suspensions are not held back.
  • The extension must be enabled when the cron job runs. A service that was suspended before you enabled it stays suspended.

A service is not suspended although its grace period has passed

  • Suspension happens once a day with the cron job. Check that Paymenter's scheduler is running.
  • Paymenter's Suspend server if invoice is x days overdue setting must also have passed.
  • Look for the service under Suspension Exemptions. An entry with Exempt on keeps it from being suspended.
  • Check that the product's override is not higher than you intended.

Renewal invoices are created late or not at all

This is how the extension works at the moment. The cron job skips active services until their due date plus grace period has passed, and it skips exempt services completely. See What the cron job no longer sees.

A service was suspended and terminated on the same day

Its grace period was equal to or higher than Paymenter's Delete server if invoice is x days overdue (also cancels the invoice) setting. Lower the grace period or raise that setting.

I cannot find a service in the Service select

The select only offers the 200 most recently created services. Older services cannot be chosen there.

The form rejects a product or service as already used

Each service can have one exemption and each product one override. Edit the existing entry instead of creating a new one.

The suspension date in the list is not the day the service was suspended

The column shows due date plus grace period. It does not include Paymenter's own suspension setting, and the cron job only runs once a day. See Reading the suspension date.

Error "Base table or view not found: ext_grace_periods"

The migration did not run. Disable and re-enable the extension, or run this in the Paymenter root directory:

php artisan migrate --path=extensions/Others/GracePeriodManager/database/migrations --force

Grace Periods and Suspension Exemptions are missing from the admin navigation

Both entries only exist while the extension is enabled. Open the extension's settings page, switch on Enabled and save.