Personal tools
Namespaces

Variants
Actions

Product Free Trial Manager For WHMCS

From ModulesGarden Wiki
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.

  • Client Area Features:
✔ Order Free Trial Access To Products/Services
✔ Receive Reminders On Scheduled Trial Period Expiration
✔ Pay Invoice Before Trial Period Expiration To Keep Service Active
  • Admin Area Features:
✔ Enable Trial Access For Selected Products/Services
✔ Configure Payment Email Reminders:
✔ Select Customized Email Template
✔ Define Number Of Days Before Invoice Due Date To Send Reminder
✔ Configure Module Settings:
✔ Define Trial Period Length
✔ Limit Number Of Products In Shopping Cart
✔ Allow One Trial Access Per Product
✔ Allow One Trial Access Per Customer
✔ Allow Trial Access For New Customers Only
✔ Hide Trial Payment Method For Not Applicable Products
✔ Send Email Reminders Per Active Trial Service
✔ Enter Custom URL For Client Redirection After Completing Trial Order
✔ View Module Logs
✔ Customize Display Name Of Module Gateway
  • General Info:
✔ Multi-Language Support
✔ Supports PHP 7.2 Up To PHP 7.4
✔ Supports WHMCS Themes "Six" And "Twenty-One" And "Lagom Client Theme"
✔ Supports WHMCS V8.2 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 your clients to order products and services from your offer in their full version, completely free of charge, for testing purposes before making the final purchase decision.

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 10.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 11.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.

PTM 12.png

Products

In the 'Products' section, you will find a full list of products and services available in your WHMCS.
PTM 13.png
Here you can tun on/off the trial access for single products or apply it to numerous products at once with mass action buttons.

Products with enabled here trial access will be applicable for clients if they meet all the requirements.

PTM 14.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 15.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 16.png
Once ready, you may turn on/off every single reminder, edit it or completely delete by pressing adequate buttons.
PTM 17.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

  • $services_ids
  • $reminder_days
  • $service_product_name

Invoice related

  • $invoice_link
  • $invoice_id
  • $invoice_num
PTM 18.png

Logs

The 'Logs' section contains information an all actions taken by the module, that is:
  • information on orders placed and the module payment gateway selected,
  • email reminders sent
  • suspending products due to their trial access being expired.

You may always delete the logs if their number is extensive.

PTM 19.png

Client Area

Add products to your cart and 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 in the module language file.

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

PTM 21.png
Your order is now complete, you may download the package and start the tests.
PTM 20.png
If you wish to continue using your product right after the trial period, please remember to pay the remaining invoice.

In case the invoice remains unpaid the day the trial period is over, your service will be automatically suspended.

PTM 22.png

Tips

1. Free trials currently can be applied to products and services, the module does not work with addons yet.

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.

Navigation
WHMCS Modules
WHMCS Widgets
WHMCS Translations
cPanel Modules
Magento Extensions
Magento Themes
PrestaShop Modules
Blesta Extensions
General
FAQ
Community
Product Free Trial Manager For WHMCS