Addon Module for WHMCS which adds BPAY Payment support, image generation, etc.
THE INHERITED CODEBASE IS NOT RELIABLE, MAY CAUSE ISSUES & IS NOT PROD-READY.
The module that we've inherited is not ideally engineered/evolved up to the point of inheritance, so we've decided to wind down efforts, and instead will be taking some key functionality/concepts from this module, refactoring it into a new codebase/branch and working from the ground up on v3.
v3 will be more stripped-back, focused on doing less well - as well as ensuring that logging is verbose (Matt Pugh from WHMCS agrees the cron/no-cron issue is questionable - I spoke with him in-person in 2023 about this project's issues/history).
Many companies have made their own micro BPAY-for-WHMCS and unfortunately there is a consistent theme of users of this software claiming to resolve issues then withholding code, so the time-to-fix grows.
Below is what the module needs in order to work properly.
- PHP: v8.x (latest stable)
- WHMCS: v8.x (latest stable)
- cURL: Must be enabled in php.ini
- Firewall: Need to have TCP/443 open
- SSL Certificate: WHMCS needs to use one
Below are the proper steps to Upload & Install the Module/Gateway.
- Download the latest version of the BPAY Manager for WHMCS from the GitHub repo.
- Upload all the files into your WHMCS directory in the same hierarchy as set in the ZIP.
- Once all files are uploaded, then go to your WHMCS Admin area. Go to Setup -> Addon Modules.
- Find “BPAY Manager”, click “Activate”, then click “Configure” & grant admin access to the module.
- Finally, in the top blue menu in WHMCS click “Addons” and then select “BPAY Manager” (per the ACL).
- The installer will appear, allowing you to configure the module as the bank specifies.
- (You will be prompted to separately enable the Payment Gateway of BPAY as well)
- You can start using BPAY right away for your existing invoices - done!
- Go to the BPAY Manager in your WHMCS and click the “Health” tab and check for errors.
- Ensure BPAY code is in
/templates/your_template/invoicepdf.tpl
&/templates/invoicepdf.tpl
- If all else fails, please raise an Issue on the repo - detailing steps, error, logs, etc - thanks!
- This occurs due to the
invoicepdf.tpl
file/s being over-written. Same when using Clean PDF, etc. - You can use the
reinject_template_code
flag (see Advanced Operations below) to re-inject the code.
Something else not behaving? Check any Open Issues on GitHub.
https://{whmcs_admin_url}/addonmodules.php?module=bpay_mgr&initialise_record_bypass=1
https://{whmcs_admin_url}/addonmodules.php?module=bpay_mgr&reinject_template_code=1
Due to the module being renamed, it's important to make sure you upgrade properly.
- Download the v2.1.9 and latest release and compare the file/folder structures
- From the Admin Area, Deactivate the Legacy Module Version (all vers =< v2.1.9)
- Having checked the file structures, delete old files and upload the new ones
- Do a manual check to verify that all legacy (_rh) files & folders are gone
- Also within the Admin Area, go to Addon Modules and activate the new ver!
BPAY and the BPAY logo are registered trade marks of BPAY Pty Ltd.