---
url: /payglocal-whmcs.md
description: >-
  Accept international payments in WHMCS through PayGlocal — one-time PayCollect
  hosted checkout plus optional recurring billing via Standing Instructions,
  with signed, signature-verified callbacks.
---

# PayGlocal for WHMCS

PayGlocal for WHMCS accepts **international payments** through PayGlocal's **PayCollect** hosted
checkout. Customers pay securely using cards or alternative payment methods, and invoices are
marked paid through cryptographically verified callbacks.

The module ships as **one unified package with two gateways**:

* **PayGlocal** — one-time payments on the PayCollect hosted checkout.
* **PayGlocal Recurring** — optional automatic renewals via PayGlocal **Standing Instructions (SI)**.
  It inherits every credential from the main **PayGlocal** gateway; you set only two SI options.

![PayGlocal in the WHMCS payment gateways list](/payglocal-whmcs/img/payglocal-index-gateway.png)
*Setup → Payment Gateways → PayGlocal*

::: info Two gateways, one module, one license
Both gateways install together and share a single license and one set of credentials and RSA keys.
Activate **PayGlocal** for one-time payments; also activate **PayGlocal Recurring** if you want
hands-off renewals. The recurring gateway requires the main PayGlocal gateway to be active and
configured first.
:::

## Who it is for

A WHMCS business that wants to accept international card payments through PayGlocal — customers
pay on PayGlocal's hosted checkout rather than entering card details on your site — and,
optionally, to collect renewals automatically with a mandate the customer authorises once.

## How it works

| Step | What happens |
| --- | --- |
| **Pay Now** | The customer clicks Pay Now on their invoice |
| **Hosted checkout** | They're redirected to PayGlocal's secure PayCollect page and pay |
| **Verified result** | PayGlocal sends a signed callback; the gateway verifies it and cross-checks the status API |
| **Marked paid** | The invoice is marked paid |

For recurring, the customer additionally authorises a mandate on the first payment, and the WHMCS
daily cron auto-charges eligible invoices thereafter — see
[How recurring payments work](/payglocal-whmcs/features/recurring-payments).

## What you'll need

A **PayGlocal merchant account** and a pair of **RSA keys** (from PayGlocal's GCC dashboard),
plus **SSL** on your WHMCS domain. Recurring also needs the **WHMCS daily cron** running. The
[Requirements](/payglocal-whmcs/requirements) page lists everything, and the
[key setup guide](/payglocal-whmcs/guides/payglocal-keys) walks through generating the keys.

## Where to go next

* [Requirements](/payglocal-whmcs/requirements) — check your server and PayGlocal account
* [PayGlocal key setup](/payglocal-whmcs/guides/payglocal-keys) — generate your RSA keys
* [Installation](/payglocal-whmcs/installation) — upload, activate, configure
* [How payments work](/payglocal-whmcs/features/payment-flow) · [How recurring payments work](/payglocal-whmcs/features/recurring-payments)
* [Settings reference](/payglocal-whmcs/settings) · [Error reference](/payglocal-whmcs/errors)

::: tip New here?
Follow [Requirements](/payglocal-whmcs/requirements) →
[key setup](/payglocal-whmcs/guides/payglocal-keys) →
[Installation](/payglocal-whmcs/installation), then take a
[sandbox test payment](/payglocal-whmcs/guides/going-live) before going live.
:::
