Personal tools
Namespaces

Variants
Actions

Product Free Trial Manager For WHMCS

From ModulesGarden Wiki
Revision as of 15:26, 9 August 2022 by Karolina (Talk | contribs)

Jump to: navigation, search

Contents

About Product Free Trial Manager For WHMCS

Product Free Trial Manager For WHMCS allows you to activate a dedicated payment gateway for free trial access for all or single products in your offer.
Let your clients test your products by offering them free of charge, but limited in time, access to the ordered products, and make a well-thought decision to avoid cancellation requests.

Use the module to make your offer even more competitive and much practical to your clients.

  • Features:
  • General Info:
✔ Multi-Language Support
✔ Supports PHP 7.2 Up To PHP 7.4
✔ Supports WHMCS Themes "Six" And "Twenty-One"
✔ Supports WHMCS V8.1 And Later
✔ Easy Module Upgrade To Open Source Version

Installation

This tutorial will show you how to successfully install and configure Product Free Trial Manager For WHMCS.

We will guide you step by step through the whole installation and configuration process.

1. Log in to our client area and download the module.
PTM 1.png
2. Extract the package and upload its content into the main WHMCS directory.

The content of the package to upload should look like this.

PTM 2.png
3. When installing Product Trial Manager For WHMCS for the first time, you have to rename the 'license_RENAME.php' file.

The file is located in 'your_whmcs/modules/addons/ProductFreeTrialManager/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

PTM 3.png
4. In order to configure your license key, you have to edit the previously renamed 'license.php' file.

Enter your license key between the quotation marks as presented on the following screen. You can find your license key in our client area → 'My Products'.

PTM 4.png
5. Now, set up the 'storage' folder as recursively writable.

This folder is available at 'your_whmcs/modules/addons/ProductFreeTrialManager/'.

PTM 5.png

Configuration of Addon

6. Now you have to activate the module in your WHMCS system.

Log in to your WHMCS admin area. Go to 'System Settings' 'Addon Modules'. Afterwards, find 'Product Free Trial Manager' and press the 'Activate' button.

PTM 6.png
7. In the next step you need to permit access to this module.

To do so, click on the 'Configure' button, tick 'Full Administrator' and press 'Save Changes'.

PTM 7.png

Additional Steps Required

8. Now, proceed to 'System Settings' → 'Payment Gateways' → 'All Payment Gateways'

Find the 'Product Free Trial Manager' gateway and activate it.

PTM 8.png
9. Afterwards, move to 'Manage Existing Gateways' to add your custom display name. Press 'Save Changes'.

The gateway will be available to choose as a payment method for clients depending on the configuration in the Product Free Trial Manager addon.

PTM 9.png
9. Congratulations, you have just successfully installed Product Free Trial Manager For WHMCS!

You can now access your module from 'Addons' → 'Product Free Trial Manager'.

PTM 10.png

Management

In this section we will show you the possibilities of Product Free Trial Manager For WHMCS.

Our module allows you to ...........

Addon Configuration

Settings

At the 'Settings' tab you can set up the module's behavior. Configure free trial access settings and the cron tab behavior.
PTM 9.png
At the 'Cron Settings' tab you can set up the cron's, responsible for regular delivery of email reminders, behavior.
If you set up the cron job exactly as in the automatically generated line below, the task will be performed every day at 10 pm.
We advise setting the task once a day.
PTM 10.png
In 'Gateway Settings' section you may customize the trial access requirements for all products:
  • Trial Period - enter the number of days for how long the ordered product will remain active. After the specified time, the product will be automatically suspended.
  • Products Limit In Cart - enter the maximum number of products that a client may add to the cart and still be able to use the free trial payment method
  • One Trial Per Product - if enabled, only one trial access to a single product may be ordered
  • One Trial Per Customer - if enabled, a customer may order only one product with trial access
  • New Customers Only - if enabled, only customers who do not have any orders yet will be allowed to select the trial payment method
  • Hide Trial Payment Method - if trial access is not available for a given product, and that product is in the client's cart, this payment gateway will be hidden for the client
  • Email Reminders Per Service - if enabled, a separate email reminder will be sent per every active trial service
  • Custom Landing Page - enter the URL to which the customer will be redirected after completing the trial order. If left empty, clients will be redirected to the invoice by default.

Do not forget to save the changes when ready.

File:PTM 9 1.png

Products

In the 'Products' section, you will find a full list of products ans services available in your WHMCS.

Here you can tun on/off the trial access for single products or apply it to numerous products at once with mass action buttons.

File:PTM 9 3.png
Products with enabled here trial access will be applicable for clients if they meet all the requirements.
File:PTM 9 4.png

Email Reminders

'Email Reminders' tab allows the option to configure email reminders for your customers.
They will be allowed to make the decision ahead and pay for the product before its automatic suspension.

Press 'Add Reminder' to compose the first notification message rules.

PTM 10.png
Provide your reminder name, select one of the templates and enter the number of days.
The email reminder will be delivered this number of days before the invoice due date.
PTM 10.png
once ready, you may turn on/off every single reminder, edit it or completely delete by pressing adequate buttons.
PTM 10.png
Note that you may use the module's dedicated email template. You will find it under 'Product Free Trial Manager - Reminder Notification' name.
The template content may be adjusted in your WHMCS → System Settings → Email Templates → Product/Services Templates.

List of supported merge fields that can be used in the email template:

Service related

  • $invoice_link
  • $invoice_id
  • $services_ids
  • $reminder_days


Invoice related

  • $invoice_link
  • $invoice_id
  • $reminder_days
PTM 10.png

Logs

...........
PTM 10.png

Client Area

Add products to your cart
PTM 10.png
Select the payment gateway that allows free trial access to the ordered products.
Note that the name of the gateway may be different than the one on the screen below, as the display name of the payment gateway can fully customized by your administrator.

Important: The gateway will not be available if free trial is nor applicable to at least one of the products in the cart.
Depending on the module settings, the gateway will be either blocked or completely hidden.

PTM 10.png

Tips

1.


Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
2. We do not recommend using the Product Free Trial Manager For WHMCS with the following modules:
  • Payment Gateway Charges For WHMCS
  • Recurring Contract Billing For WHMCS
  • Resellers Center For WHMCS
  • Multibrand For WHMCS

Integration between these modules is hampered due to specific features of each one of them and their individual work flow.
We are continually working on eliminating these limitations wherever possible.

3. Free trials currently can be applied to products and services, the module does not work with addons yet.
Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community
Product Free Trial Manager For WHMCS