Skip to content

Installing Revenue Recovery

Before you enable it

Warning

The first scan after enabling handles every pending invoice that is overdue by the configured number of days, including old ones. Each of those customers receives a reminder with a discount offer. Cancel or settle old invoices you do not want to discount before you enable the extension.

Install

  1. Copy the RevenueRecovery folder into your Paymenter installation so that the main class is at:

    extensions/Others/RevenueRecovery/RevenueRecovery.php
    
  2. In the admin area, open Extensions and choose Install Extension. This opens the Available Extensions page.

  3. Find RevenueRecovery in the list and click Install, then confirm. Paymenter runs the extension's migration, which creates the table ext_revenue_recovery_records, and opens the extension's settings page.
  4. Review the settings (see Configuration).
  5. Switch on Enabled and save.

After saving with Enabled on, the Revenue Recovery page appears in the admin navigation under Sales, and scans start running.

Note

A newly installed extension has no stored settings. As long as a setting has no stored value, the extension uses its built-in default for the four number fields and the subject. For the e-mail body it uses a short plain fallback text, not the styled default template. Before you enable the extension, make sure the Reminder mail body (HTML allowed) field contains the HTML you want to send, then save.

You do not need to run the migration by hand. It runs when the extension is installed, again when it is enabled, and the extension also checks on every request that its table exists and creates it if it is missing.

Update

  1. Replace the contents of extensions/Others/RevenueRecovery/ with the new version.
  2. If the new version ships additional migrations, open the extension's settings page, switch Enabled off and save, then switch it on and save again. Enabling runs any migrations that have not run yet.

Your settings and recovery records are kept.

Uninstall

  1. Open the extension's settings page under Extensions.
  2. Click Uninstall Extension and confirm.
  3. Delete the folder extensions/Others/RevenueRecovery/.

Warning

Uninstalling drops the table ext_revenue_recovery_records. All recovery records and the statistics based on them are lost.

Uninstalling does not remove the coupons the extension created, and it does not undo discounts already applied to invoices. Delete leftover RECOVER-... coupons in Paymenter's coupon list if you do not want them to stay usable until they expire.

Disabling the extension (switching Enabled off) keeps the table and all records. While disabled, no scans run, the admin page is hidden and reactivation links from earlier e-mails stop working.