# Login-Free Payments For WHMCS
# (opens new window) About Login-Free Payments For WHMCS (opens new window)
Login-Free Payments For WHMCS allows customers to open and pay invoices through secure payment links without signing in to the WHMCS client area.
Links can be generated manually or automatically, delivered by email as buttons or QR codes, and protected with passwords, expiration dates, and one-time use.
Administrators retain control over every link and can monitor visits, resend or regenerate links, revoke access, and exclude selected clients or client groups from the feature.
Core Features:
- Allow Clients To Pay Invoices Without Logging In To WHMCS
- Generate Secure Payment Links Manually Or Automatically
- Deliver Payment Links By Email As Buttons Or QR Codes
- Protect Payment Links With Passwords, Expiration Dates And One-Time Use
Addon Module:
- Generate Payment Links For Selected Invoices
- View All Generated Payment Links In One Place
- Monitor Link Status, Visit Count And Last Visit Date
- Check Link Creation Date, Expiration Date And Related Invoice Status
- Edit, Regenerate, Revoke And Delete Payment Links
- Resend Payment Links Through Selected Email Templates
- Review Link Access Logs With Visit Dates, IP Addresses And User Agents
- Exclude Selected Clients And Client Groups
- View And Manage Module Logs
Payment Link Configuration:
- Enable Password Protection And QR Code Delivery
- Generate Payment Links Automatically When Invoices Are Created
- Define Generated Password Length And Link Expiration Period
- Generate One-Time Payment Links
- Select Invoice Email Templates For Link And QR Code Delivery
Client Area:
- Display "Get Payment Link" Button For Unpaid Invoices
- Direct Clients To A Dedicated Page With Available Payment Links
- Allow Clients To Generate And Manage Their Payment Links
- Integrate Payment Link Buttons With Invoice View And Invoice List Templates
General Info:
- Multi-Language Support
- Supports PHP 8.3 Back To PHP 8.2
- Supports WHMCS Themes "Six", "Twenty-One", "Nexus" And "Lagom WHMCS Client Theme"
- Supports WHMCS V9.X
- Requires ionCube Loader V14 Or Later
- Easy Module Upgrade To Open Source Version (opens new window)
# Installation
This tutorial will show you how to successfully install and configure Login-Free Payments For WHMCS. (opens new window)
We will guide you step by step through the complete installation and configuration process.
Log in to our client area (opens new window) and download the module.
Extract the downloaded package and upload its contents into the main WHMCS directory.
The package contents should be uploaded without changing the provided directory structure.
Rename the module license file from 'license_RENAME.php' to 'license.php'.
Next, open the renamed file and enter your license key. The license key is available in our client area under 'My Products'.
- Activate the module in your WHMCS system.
Log in to the WHMCS admin area and go to 'System Settings' → 'Addon Modules'. Find 'Login-Free Payments' and press 'Activate'.
Press 'Configure', select the required administrator roles, and save the changes.
- You have successfully installed Login-Free Payments For WHMCS.
The module is now available under 'Addons' → 'Login-Free Payments'.
# Management
Login-Free Payments For WHMCS lets customers reach and pay their invoices through dedicated payment links without signing in to WHMCS.
The following sections explain how to generate, deliver, manage, and monitor payment links, define access restrictions, and integrate the module with email and client area templates.
# Invoice Links
The 'Invoice Links' section provides a centralized list of all generated payment links. Use the search field to locate a specific invoice or client.
The table contains the following information:
- Invoice - the invoice assigned to the payment link.
- Client - the client who owns the invoice.
- Status - the current status of the payment link.
- Link Visits - the number of recorded visits.
- Last Visit - the date and time of the most recent visit.
- Created - the date and time when the link was generated.
- Expiration Date - the date and time when the link expires, or 'Never' when no expiration date has been set.
- Invoice Status - the current status of the related invoice.
# Generate Payment Link
Press 'Generate Link' to create a payment link manually. Configure the following options:
- Invoice - select the invoice for which the link will be generated.
- Password - enter a password that must be provided before the invoice can be accessed.
- Expiration Date - define when the link will stop being valid. Leave the field empty if the link should not expire.
- One-Time Use - limit the generated link to one-time use.
Press 'Confirm' to generate the link.
# Payment Link Actions
Use the icons at the end of a row to view the generated payment link or edit its configuration.
Open the additional actions menu to access the following operations:
- Regenerate - generate a replacement payment link for the invoice.
- Resend Payment Link - send the payment link again using a selected invoice email template.
- View Full Log - open the access history recorded for the payment link.
- Revoke - deactivate the payment link without deleting its record.
- Delete - permanently remove the payment link record.
# Resend Payment Link
Choose 'Resend Payment Link' from the additional actions menu, select the required invoice email template, and press 'Confirm'.
The message will be sent to the email address assigned to the client who owns the invoice.
# Access Log
The 'Access Log' lists visits recorded for the selected payment link and displays the total number of visits.
Each entry contains:
- Date - when the payment link was accessed.
- IP Address - the IP address from which the link was opened.
- User Agent - information reported by the visitor's browser or device.
# Access Restrictions
Use the 'Access Restrictions' section to prevent selected clients or client groups from using login-free payment links.
Restrictions affect the availability of payment links for the included accounts while leaving the standard WHMCS invoice payment workflow unchanged.
# Excluded Clients
The 'Excluded Clients' tab lists individual clients who cannot use the module.
Press 'Add Client' to select another client. The table shows the client ID, client name, email address, and the date on which the restriction was added.
Use the trash icon to remove a client from the exclusion list.
# Excluded Client Groups
The 'Excluded Client Groups' tab applies the restriction to every client assigned to a selected WHMCS client group.
Press 'Add Group' to add a group. Use the trash icon to remove an existing group from the exclusion list.
# Settings
The 'Settings' section controls payment link delivery, client area availability, automatic generation, and template integration.
Press 'Confirm' after making changes to save the configuration.
# Email Templates
The 'Email Templates' tab provides Smarty variables that can be added to WHMCS invoice email templates:
- {$login_free_payments_invoice_payment_link} - the unique payment URL generated for the invoice.
- {$link_password} - the password assigned to the link when password protection is used.
- {$invoice_qr} - the public URL of the QR code image when QR email delivery is enabled.
The variables are populated only when the email template is selected in the module settings and a valid payment link exists for the invoice. Use the conditional code shown in the module to ensure the email is rendered correctly when a link, password, or QR code is unavailable.
Open the selected template under 'System Settings' → 'Email Templates' → 'Invoice Messages', paste the provided snippet, and save the template.
# Invoice Templates
The 'Invoice Templates' tab provides variables and code snippets for adding payment link controls to client area invoice templates:
{$login_free_payments_get_payment_link_button} - displays a ready-made 'Get Payment Link' button when the corresponding setting is enabled.
{$login_free_payments_payment_link_column_title} - provides the translated heading for the payment-link column on the invoice list.
Edit the active client area theme template and insert the displayed code where the button should appear. Depending on the required location, edit 'viewinvoice.tpl' or 'clientareainvoices.tpl'.
To add the button to the invoice list, add the translated column heading to the table header and insert '{$invoice.ipwl_get_payment_link_button}' into each invoice row.
The row-level variable is populated only for unpaid invoices when 'Show "Get Payment Link" Button' is enabled.
# General Settings
Enable QR Codes - allows payment links to be delivered as QR codes through selected invoice email templates.
Enable Password Protection - makes password protection available when payment links are generated.
# Client Area Settings
- Enable Payment Links in Client Area - makes payment-link functionality available in the client area.
- Allow Clients to Manage Payment Links - allows clients to manage payment links from the dedicated client area page.
- Show "Get Payment Link" Button - displays the 'Get Payment Link' button for eligible unpaid invoices after the required invoice template integration has been completed.
# Automatic Link Generation
- Generate Links When Invoices Are Created - generates a payment link automatically whenever an invoice is created.
- Generated Password Length - defines the length of automatically generated link passwords.
- Link Expiration Period (days) - defines how many days an automatically generated link remains valid. Enter 0 to generate links without an expiration date.
- Generate One-Time Links - generates links intended for one-time use.
- Templates for Payment Link Emails - selects invoice email templates in which the payment-link variables will be populated.
- Templates for QR Code Emails - selects invoice email templates in which the QR-code variable will be populated.
# Client Area
When client area payment links are enabled and the invoice template integration is in place, eligible unpaid invoices display a 'Get Payment Link' button.
Pressing the button directs the client to a dedicated page containing the payment links available for that invoice.
If payment-link management is enabled, clients can generate and manage links from the dedicated page according to the options permitted by the module configuration.
Clients and client groups included under 'Access Restrictions' cannot use these functions.
# Email Delivery
Payment links can be included in selected WHMCS invoice emails as a clickable button, a QR code, or both.
When password protection is used, the assigned password can also be inserted into the message through the dedicated email-template variable.
The link and QR-code variables are available only in the email templates selected in 'Automatic Link Generation'.
Translations
The 'Translations' tool allows you to customize the module's language strings directly in the addon.
For detailed guidance, refer to the dedicated Translations article.
Access Control
The 'Access Control' tool allows you to define which administrator roles can access individual sections and actions of the module.
For detailed guidance, refer to the dedicated Access Control article.
Themes
The 'Themes' tool allows you to adjust the appearance of the addon module interface.
For detailed guidance, refer to the dedicated Themes article.
Logs
The 'Logs' tool records module activity and provides options to categorize, filter, and review individual entries.
For detailed guidance on using this tool, check the dedicated Logs article.
# Tips
Use automatic generation for invoice email workflows.
When links are generated as soon as invoices are created, the selected invoice email templates can deliver them without requiring an administrator to prepare each link manually.
Set an expiration period for links sent outside the client area.
An expiration date limits how long a forwarded or previously delivered URL remains available. Administrators can regenerate or resend a link whenever a new one is required.
Use password protection when invoice links are shared through less controlled channels.
The password can be generated automatically and included in selected invoice email templates when required by your delivery process.
Review access restrictions before enabling the feature for all clients.
Add individual clients or entire client groups to the exclusion lists when login-free payments should not be available to them.
# Update Instructions
Essential guidance for updating the module is available here.
Follow each step carefully to complete the update successfully and avoid data loss or unexpected issues.
# Upgrade Guide
Looking for greater flexibility, custom development options, and unrestricted access to the module source code?
Upgrade to the Open Source version (opens new window) of Login-Free Payments For WHMCS.
Use the Get Source Code or Upgrade To Lifetime button on the product page in our client area to complete the upgrade with the available dedicated discount.
Follow the comprehensive upgrade guide to learn about the available options and complete the transition.
# Common Problems
Payment link variables are empty in an invoice email.
Make sure the email template is selected under 'Settings' → 'Automatic Link Generation' and that a valid payment link exists for the invoice. Also confirm that the variables are placed inside the conditional blocks supplied in the 'Email Templates' tab.
The "Get Payment Link" button is not visible in the client area.
Confirm that 'Enable Payment Links in Client Area' and 'Show "Get Payment Link" Button' are enabled, the invoice is unpaid, and the supplied code has been added to the active client area invoice template. Also verify that the client and their client group are not excluded.
A client cannot open a previously delivered payment link.
Check whether the link has expired, been revoked, regenerated, deleted, or configured for one-time use. Generate or resend a valid link when necessary.
A QR code is missing from an invoice email.
Enable 'QR Codes' in 'General Settings', select the email template under 'Templates for QR Code Emails', and confirm that the QR-code variable and its conditional block are present in the email template source.