Portmone Payment Gateway for WHMCS

TutHost Portmone Gateway is a WHMCS payment gateway for Portmone. The client pays on the Portmone page and comes back to the invoice, and WHMCS credits the payment only when Portmone itself, asked by the gateway, confirms that the bill is paid.

WHMCS owners in Ukraine have been buying this gateway since 2023. Version 2.0 is built to the TutHost module standard. The code is unencrypted, with no ionCube: 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

When the client comes back from Portmone, the gateway takes only the order number from that return. It then asks Portmone itself, with your login, which bills the order has, and checks the Portmone certificate. Only a bill Portmone reports as paid is credited, and only once: the Portmone bill ID becomes the WHMCS transaction ID. Nothing the browser sends can make a payment.

Each payment link keeps its amounts, so an invoice in another currency than UAH is credited with exactly its own amount. A payment for an invoice that is paid or cancelled already, or that cannot be matched with certainty, is not booked: the activity log tells the admin what to check.

Features

  • Portmone Gateway with the payment methods of your Portmone shop.
  • Invoices in other currencies are converted to UAH by WHMCS and credited with the exact invoice amount, without rounding leftovers.
  • An “Already paid? Check the payment” button on the invoice, for a client who closed the Portmone page before coming back.
  • An order number offset for a Portmone shop that already has paid orders with the numbers of your invoices.
  • Upgrade from version 1.x without new settings or a new callback address.
  • No names, cards or passwords of payers in the logs; the Portmone login and password 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 gateway version and the license state.

Refunds are made in the Portmone cabinet.

Requirements

  • WHMCS 8.13 or 9.x.
  • PHP 8.1 or later (WHMCS 9 needs 8.2 or later) with curl, mbstring and SimpleXML.
  • A Portmone Gateway contract: the Payee ID of your shop and a login and password for status requests.
  • 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 and callbacks 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

  1. Copy the contents of the upload/ folder of the package into the root folder of your WHMCS.
  2. In the admin area open Configuration › System Settings › Payment Gateways, then All Payment Gateways, and activate Portmone.
  3. Enter the Payee ID, login and password from your Portmone contract. Without the login and password the gateway shows no payment button: it could not confirm any payment.
  4. If your invoices are not in UAH and your Portmone contract does not accept their currency, set Convert To For Processing to UAH.
  5. Enter your license key and save.

The gateway sends the callback address with every payment, so you do not set it in the Portmone cabinet. It must be reachable from the internet: https://<your WHMCS>/modules/gateways/callback/portmone.php. Status requests go from your WHMCS server to Portmone.

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 it or without it. Full guides, the upgrade from version 1.x included, are in the docs/ folder of the package.

Questions

I have version 1.x. What changes after the upgrade?

The gateway name, the callback address, the Payee ID, login and password stay, and so does the payment history. The payment button no longer depends on the license key, and the Portmone certificate is checked on every status request. The license key from 1.x works. The steps are in the upgrade guide in the package.

The client paid, but the invoice is still unpaid. What now?

If the client closed the Portmone page before coming back, the “Already paid? Check the payment” button on the invoice does the same check. If the payment is still not credited, the Gateway Log and the activity log show why: Portmone did not answer or refused the login, Portmone has no paid bill yet, or the invoice is paid or cancelled already.

Can I use invoices in USD?

Yes. Set Convert To For Processing to UAH: the client pays the amount in UAH, and the invoice is credited with its own USD amount from the payment link.

Do payments depend on the license key?

No. Payments and callbacks never look at the key: it is only for updates and support. Without a valid key only the note in the gateway settings changes.

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.