TutHost LiqPay Gateway is a WHMCS payment gateway for LiqPay, the payment service of PrivatBank. Your clients pay by card on the LiqPay page, and WHMCS credits the payment only after LiqPay itself has confirmed it, for the exact amount of that payment attempt.
We built it for our own billing, where it has taken real payments since November 2026. It is unencrypted source code with no ionCube Loader needed, so you can read every line.
35.00 $ one-time for one WHMCS installation, with 12 months of updates and support
Free with a WHMCS license from TutHost. Buy your WHMCS license from us and get this and all our other modules at no cost. How it works.
How a payment is credited
By default, every payment is checked twice before WHMCS marks an invoice paid:
- the signature of the LiqPay callback, made with your private key;
- a separate status request to the LiqPay API for the same payment.
A leaked private key alone cannot fake a payment. Each payment attempt is stored with its amounts and signed, so an invoice is credited only for the exact amount and currency of that attempt, only once, and only while it belongs to the same client. Several callbacks arriving at the same time still give one payment.
Until your server IP is allowed in the LiqPay cabinet, a setting can turn the second check off for a while. It is off by default.
Features
- LiqPay Checkout API v3, with the payment methods enabled in your LiqPay shop.
- Payments in UAH, USD or EUR. Invoices in other currencies are converted by WHMCS and credited with the exact invoice amount, without rounding leftovers.
- Refunds and partial refunds from WHMCS through the LiqPay API, at the rate of the original payment and never more than was paid.
- Clear notes in the activity log when something needs a person: an amount that does not match, an API that did not answer, a server IP not allowed in the LiqPay cabinet.
- With the debug log off (the default), no names, phones or IP addresses of payers in the logs. Keys are always masked.
- Texts in English and Ukrainian, in the client’s and the admin’s language. Other languages through override files that updates never touch.
- The settings show the version and the license state.
Requirements
- WHMCS 9.1.
- PHP 8.2 or 8.3 (tested on 8.3) with curl, json and openssl.
- A LiqPay shop with API access, and the IP address of your WHMCS server allowed in its API settings.
- UAH, USD or EUR as the payment currency.
- No ionCube Loader: the code is unencrypted.
What the price includes
- A license for one WHMCS installation, paid once.
- 12 months of updates and support. After that, renewal is optional at $10 a year.
- Without renewal the gateway keeps working: payments, callbacks and refunds never depend on the license key, and you keep every version you have.
- The full unencrypted source code under the TutHost license agreement: for one installation, not to be shared or published.
Installation and setup
- Copy the contents of the
upload/folder of the package into the root folder of your WHMCS. - In the admin area open Configuration › System Settings › Payment Gateways, then All Payment Gateways, and activate LiqPay.
- Enter the public and private keys of your shop from the API settings in the LiqPay cabinet.
- If your invoices are in another currency, set Convert To For Processing to UAH, USD or EUR.
- In the LiqPay cabinet, allow the IP address of your WHMCS server for API requests. Without it the status check fails and payments are not credited automatically.
- Enter your license key and save.
The gateway sends its callback address with every payment, so there is nothing to set in the LiqPay cabinet. The address must be reachable from the internet: https://<your WHMCS>/modules/gateways/callback/liqpayua.php.
The package also has TutHost Center, a free admin page that lists your TutHost modules, their versions, updates and license state. Installing it is optional: the gateway works the same with or without it. Full guides are in the docs/ folder of the package.
Questions
Can it run next to another LiqPay module?
Yes. Callbacks for payments of another module are ignored, never credited.
What happens when LiqPay does not answer?
The callback gets HTTP 503, so LiqPay may send it again, and the activity log says which invoice to check.
Is the code encoded?
No. You get the full source code, unencrypted, under the TutHost license agreement. It is licensed for one installation and may not be shared or published.
How can I get the gateway for free?
Buy your WHMCS license from TutHost: with it, all our modules, this one included, are free for as long as the license is active. See the terms.
