Fixing Common Issues with WHMCS Payment Module

This page helps you fix the most common problems with our free WHMCS modules: the card module (gateways PayGate.to Card Hosted and PayGate.to Card Custom) and the crypto module (gateways PayGate.to Crypto Coins and PayGate.to Multicoin). If you can’t fix it yourself, our support team helps you for free.

Paid invoices are not marked as paid

When a payment is confirmed, PayGate.to sends a signed confirmation (a callback) to your WHMCS. The module checks PayGate.to’s signature and a secret that only your WHMCS knows, then adds the payment and WHMCS marks the invoice Paid. If an invoice stays Unpaid, check these three things in order.

1. Look in the Gateway Log

Open Billing › Gateway Log in your WHMCS admin area. Every confirmation that reached your WHMCS is listed there with its result:

  • Successful: the payment was added and the invoice is paid.
  • Underpaid: less arrived than your Fees Tolerance (card) or Underpaid Tolerance (crypto) allows, so the invoice stays unpaid. The money that arrived is already in your wallet: settle the difference with the client.
  • Rejected: the confirmation was not accepted, because it was not signed by PayGate.to or its address was changed on the way. If genuine payments are rejected, check that no proxy, firewall or plugin rewrites the callback address.
  • Coin price unavailable, not processed (card): the payout price could not be checked at that moment. PayGate.to sends the confirmation again, and the invoice is paid when a later attempt succeeds.

If there is no entry at all for the invoice, the confirmation never reached WHMCS. Continue with step 2.

2. Check your System URL

Open Configuration › System Settings › General Settings. The System URL must be the real public address of your WHMCS with https://, for example https://billing.example8585859.com/. Payment confirmations are sent to that address.

3. Open the callback address in your browser

Each gateway has its own callback file. Replace https://your-whmcs with your System URL:

  • PayGate.to Card Hosted: https://your-whmcs/modules/gateways/callback/paygatedottohosted.php
  • PayGate.to Card Custom: https://your-whmcs/modules/gateways/callback/paygatedottocustom.php
  • PayGate.to Crypto Coins: https://your-whmcs/modules/gateways/callback/paygatecrypto.php
  • PayGate.to Multicoin: https://your-whmcs/modules/gateways/callback/paygatecryptomulti.php

Open the address of your gateway in a private browser window. A working callback shows only the short text Invalid invoice ID. That is expected: your browser is not PayGate.to, so nothing is changed. If you see something else, something blocks the address before it reaches WHMCS:

  • A CAPTCHA, a “checking your browser” page or an access denied page: a firewall, a security plugin or the bot protection of your CDN. Let requests to /modules/gateways/callback/ through without any challenge.
  • A login prompt: your WHMCS folder is password protected. Exclude /modules/gateways/callback/ from the protection.
  • Not found (404): the module files are missing or one folder too deep. The callback file must be at <whmcs root>/modules/gateways/callback/; upload the modules folder into the WHMCS root again.

Error messages on the invoice

These messages appear on the invoice instead of the payment button. They are shown to the client, so fix the setting they point to.

Card module

  • Error: Payment could not be processed, please try again (wallet address error): the USDC Polygon Wallet Address is empty or is not a valid Polygon address (it starts with 0x). Paste your own USDC (Polygon) wallet address.
  • Error: Invoice total must be $15.00 USD or more for the selected payment provider. (Card Custom): the invoice is below the gateway’s Minimum Invoice Amount (USD). Lower it, or use PayGate.to Card Hosted. With another amount than the one you set, it is the own minimum of the only provider you ticked: tick another provider too.
  • Error: No payment provider is set up for this payment method yet, please choose another payment method. (Card Custom): tick at least one provider in the gateway settings and save.
  • Error: The payment providers of this payment method cannot take this invoice right now (below their minimum or unavailable), please choose another payment method. (Card Custom): every ticked provider is below its minimum for this invoice or disabled right now. Tick more providers; the settings show each provider’s status and minimum.

Crypto module

  • No cryptocurrencies are currently available. Please contact the store administrator. (Crypto Coins): no coin has a wallet yet. Fill in the wallet field of at least one coin and save.
  • Error: The order total is below the minimum allowed for the selected coin. Please choose another coin. (Crypto Coins): the invoice is below that coin’s minimum. The client can pick another coin. See the minimum per coin.
  • Error: payment could not be initialised, please contact the website admin (check that at least one wallet address is configured). (Multicoin): fill in at least one network wallet in the Multicoin settings and save.

“Invoice failed” on the payment page

If the client is sent to an error page that says “invoice failed please select another payment provider or contact PayGate.to”, there are two main reasons:

The gateway does not appear, or cannot be deactivated

  • Not listed in Apps & Integrations (search for paygate): the files are in the wrong folder. modules/gateways/paygatedottohosted.php (card) or modules/gateways/paygatecrypto.php (crypto) must be directly inside your WHMCS root, next to configuration.php.
  • Deactivate does nothing (WHMCS 9): versions before November 2026 could not be deactivated. Download the latest version, upload the modules folder again, then click Deactivate.

If you see another error, or you need any help, contact our support team.