Configuration

With the Babel Licensing plugin activated on your WordPress site, configuring it is a straightforward process accessible via the WordPress dashboard.

The plugin's settings are divided into three tabs:

  • General

  • Licenses

  • Emails

each catering to different aspects of the plugin configuration. Follow the steps below to configure the plugin through its Settings menu.

General

To configure the plugin to connect to the Babel Licensing Service via its web API, follow these steps:

  1. Under the General tab, locate the Babel Licensing Service section.

  2. In the Service URL, enter the URL for the Babel Licensing Service included the service port.

  3. Insert the API Key with administrative rights generated with the Babel UI for Babel Licensing Service.

Ensure you press Save Settings button to apply the configuration.

Enable Debugging

To enable debugging for the Babel Licensing plugin, follow these steps:

  1. Scroll down to the Debug section in the settings.

  2. Toggle the Enable switch to on. This action activates logging for all activities performed by the Babel Licensing plugin.

  3. All logs are recorded in a dedicated table within your WordPress database named wp_blic_log.

Remember, enabling debugging is useful for troubleshooting but can generate a large amount of data. Disable it when not needed to conserve database space.

Licenses

This section outlines the steps to integrate Babel Licensing with your WooCommerce extension, enabling automatic license generation upon successful order processing of licensed products.

  1. Check the Enable switch to activate the WooCommerce integration

  2. Enable the Trace Licenses switch to activate the tracing of every new license created through the WooCommerce order management. This ensures every new license is tracked and recorded for auditing and troubleshooting purposes.

With these settings configured, Babel Licensing will automatically generate a new license each time a designated product order is successfully completed in WooCommerce.

Emails

Babel Licensing can automatically send emails at different stages of the license lifecycle to inform both the administrator and the customer. To enable and configure email notifications:

  1. Navigate to the Emails tab in the Babel Licensing settings.

  2. Under Emails section activate the Enable swithc to allow the system to send emails automatically.

  3. Configure the following settings for each email:

    • From Email Address: Specify the email address to display in the 'From' field.

    • Attach License File: Choose to include the generated license file as an email attachment.

    • Enable Zip Attachment: This feature allows the enclosing of the license file within a zip archive. It is beneficial in scenarios where the email server filters out the license file extension. (Requires the PHP Zip module installed)

  4. Blacklist Recipients: The blacklist contains email addresses that are blocked from receiving any emails. Addresses are listed one per line and may include regular expressions to match entire domains. For example:

    • @yahoo.*

    • @hotmail.*

Schedule Notifications

This section is designed to manage the automated email notifications for upcoming license or support expirations.

  • Schedule Send (toggle): This option allows you to activate or deactivate the automatic sending of notifications.

  • Schedule Time: Specifies the exact UTC time of day when the notification emails are dispatched.

  • Expiration Warning Days: Determines how many days in advance users are alerted about their license or support nearing its expiration date.

Last updated