WHMCS PayPal integration now rests on one module, PayPal Payments, which you activate at Configuration > Apps & Integrations and link by logging in to PayPal rather than pasting API keys. WHMCS 9.1 removed PayPal Basic and PayPal Checkout from new installations but keeps them on installs updated from 9.0.x, and PayPal ends support for both starting in 2027.
A WHMCS PayPal integration is the gateway module that charges PayPal and card payments against your own invoices, keeps the payment method for renewals, and records refunds and disputes back inside WHMCS. Today that work belongs to PayPal Payments and its companion PayPal Card Payments. The legacy modules did the same job through PayPal's own subscription schedules, and that difference is the whole of the migration.

Everything below was checked on 14 November 2026, when the WHMCS documentation listed 9.1 as General Availability and the 9.1 release notes recorded 9.1.0 on 20 October 2026 and 9.1.1 on 10 November 2026.
Which PayPal module should you use in WHMCS?
Use PayPal Payments. The Accepting PayPal page marks the other five deprecated and recommends only PayPal Payments and PayPal Card Payments for new merchants. All seven take one-time and recurring payments, and all seven refund. They differ in where the payment details live.
| Module | Status in 9.1 | Type | PayPal Subscriptions | Disputes in WHMCS | 3D Secure |
|---|---|---|---|---|---|
| PayPal Payments | Recommended | Token | No | Yes | Not applicable |
| PayPal Card Payments | Recommended | Token | No | Yes | Yes |
| PayPal Checkout | Deprecated, gone from new installs | Third-party | Yes | Yes | No |
| PayPal Basic | Deprecated, gone from new installs | Third-party | Yes | No | No |
| PayPal Pro Reference Payments | Deprecated | Token | No | No | Yes |
| PayPal Website Payments Pro | Deprecated | Merchant | No | No | Yes |
| PayFlow Pro | Deprecated | Merchant | No | No | Yes |
The type column decides your risk. A token gateway keeps a reference to the payment method at PayPal, a third-party gateway sends the client to PayPal to pay, and a merchant gateway stores card details in your own database, dragging card data into your PCI scope.
What changed for PayPal in WHMCS 9.1?
PayPal Basic and PayPal Checkout moved from deprecated to removed, but only for new installations: the Removals section of the 9.1 release notes says existing installations retain both when you update from 9.0.x.
The deadline is PayPal's, not the WHMCS release schedule. Several 9.1 pages carry the same warning: PayPal ends support for both legacy modules starting in 2027, and their transactions then fail. WHMCS names one replacement, PayPal Payments.
| Where your install is | What you have after the move to 9.1 |
|---|---|
| New 9.1 installation | No PayPal Basic, no PayPal Checkout. PayPal Payments and PayPal Card Payments only. |
| Updated from 9.0.x | Both legacy modules are retained and keep processing until PayPal ends support. |
| Updating from 8.13 or later | Not affected by the file decoding problem below. |
| Updating from 8.12 or earlier | Remove or replace both modules first, or the Admin Area returns an HTTP 500 error. |
| WHMCS Cloud | PayPal Basic is not supported there, and updates are applied for you. |
That fourth row is the one that bites. Updating Through EOL Versions explains why: 9.1 needs PHP 8.2 or higher, an update never deletes files the new version no longer ships, and module files encoded for PHP 8.1 or earlier stay behind in modules/gateways/. The Admin Area loads every gateway module, so it dies on the first file PHP cannot decode.
Order matters, because you cannot deactivate a gateway while the Admin Area is throwing a 500. My checklist before updating from 8.12 or earlier, built on the steps on the Legacy PayPal Module Errors page:
- Back up the database and the WHMCS files.
- Check whether either legacy module is still taking money. The Gateway Log answers that faster than the settings page.
- Delete
paypal.php, thepaypal/directory andcallback/paypal.php, pluspaypalcheckout.phpand thepaypalcheckout/directory. - If one of them is still in use, copy that module and its callback out of a WHMCS 9.0.x download into
modules/gateways/. - Reload the Admin Area, then run Utilities > System > PHP Version Compatibility to catch any other file in the same state.
- Plan the move to PayPal Payments separately. It is not part of the update.
Two other 9.1 changes touch payments. The legacy Stripe, Stripe ACH and Stripe SEPA modules were deprecated in the same release, so a shop on old modules at both processors has two migrations; my guide to Stripe in WHMCS covers that side. REST API v2 also gained a redirect-free checkout path that both PayPal modules support, which is the change to read if you drive orders from your own front end, and the kind of work I do under WHMCS API integration and automation.
How do you set up PayPal Payments in WHMCS?
Activate it from Apps & Integrations, link the account with a PayPal login, then switch test mode off. The PayPal Payments page gives this order:
- Check that the WHMCS System URL begins with
https://and the certificate is valid. Without both, PayPal will not connect. - Disable the PHP OPcache extension. WHMCS will not activate the module while it is on.
- At Configuration > Apps & Integrations, pick Payments and click Activate & Configure for PayPal Payments. This activates PayPal Card Payments too.
- Click Link PayPal Account, log in, confirm permission for the WHMCS application and click Confirm. The API credentials save themselves.
- Tick Show on Order Form, and change the Display Name if the default does not suit your cart.
- Untick Test Mode, which is on by default, and save.
The two modules are tied together: you cannot show PayPal Card Payments on the order form without also showing PayPal Payments, and you cannot deactivate PayPal Payments before deactivating PayPal Card Payments. Where PayPal does not fully support Advanced Cards for your country, PayPal Card Payments will not activate, though a one-time Credit/Debit Card option still appears. Stored methods need PayPal Vault, which PayPal enables by merchant country, so check that list before promising saved cards.
What happens to your existing PayPal subscriptions?
WHMCS converts them to stored payment methods by itself, one client at a time, and PayPal emails the client about a cancellation while it does so. Only PayPal Basic and PayPal Checkout ever created real PayPal Subscriptions. Under PayPal Payments the account or card sits in PayPal Vault, so renewals run off your billing cycle instead of a schedule held at PayPal.
The transition rules on the PayPal Payments page, before you touch anything:
- An invoice switches over when a client views a deprecated module's invoice, or when WHMCS takes a payment from a client with a stored PayPal Payments method. The old modules then disappear from that invoice.
- A client's subscriptions move to vaulting the first time that client pays with PayPal, and only after WHMCS confirms vaulting is available for their account.
- Activating PayPal Payments transitions nothing immediately and hides nothing in the cart. Untick Show on Order Form for each old module at Configuration > System Settings > Payment Gateways.
- Leave the deprecated modules enabled. Deactivating them stops the automatic migration, and Migrate Payment Gateways says this move does not need the usual gateway swap.
- Unlink PayPal Account irreversibly removes the link for both modules. On an account with live subscriptions it is the most damaging button on the page.
Expect support tickets: Unexpected PayPal Cancellation Emails confirms the email is normal and the payments carry on. Warn clients before the first invoice run, not after.
Does WHMCS use PayPal IPN or webhooks?
PayPal Basic uses Instant Payment Notification, PayPal Payments uses a webhook on the WHMCS application in PayPal, and both break when the WHMCS address changes. That puts the callback on my checklist for every WHMCS migration.
- IPN, for PayPal Basic. In PayPal, open Account Settings, Notifications, then Instant Payment Notifications. Enter the WHMCS System URL, select Receive IPN messages (Enabled) and save. Set the language encoding to UTF-8 too: the PayPal Basic page warns that PayPal's windows-1252 default can mangle accented characters and produce an IPN Handshake Invalid message.
- Webhook, for PayPal Payments. When the installation URL changes, update the webhook URL in PayPal before the next payment. Until you do, WHMCS stops recording transactions, and the URL you set has to end in
/modules/gateways/callback/paypalwebhooks.php.
How do you test PayPal in WHMCS before going live?
Link a sandbox account beside the live one and leave Test Mode on. At Configuration > System Settings > Payment Gateways, find PayPal Payments, click Link Sandbox Account, log in, confirm, check Test Mode is still enabled and save. PayPal Basic has no such button, so its sandbox credentials get swapped in by hand and back again.
On a staging copy with a public HTTPS address I run four tests: an invoice paid with the PayPal button and one with the card option; a monthly order with a saved method and then its renewal, to prove vaulting took; a refund through the gateway; and one small live payment with Test Mode off, refunded straight away.
How do you refund a PayPal payment from WHMCS?
Open the invoice's Refund tab, choose the transaction and pick Refund through Gateway, which sends the money back by the method the client used. The other two types ask PayPal for nothing: Manual Refund Processed Externally records the refund and leaves you to run it in PayPal yourself, and Add to Client's Credit Balance returns no money at all. PayPal Basic refunds need its API Username, API Password and API Signature, generated under NVP/SOAP API integration (Classic) in PayPal.
Two 9.1 behaviors change what you see afterwards. Refunding a partial payment no longer changes the invoice status, and canceling an invoice holding partial payments or applied credit now returns them to the client's credit balance. Credit notes follow their own rule: refunding a paid invoice creates one, refunding a partly paid invoice does not, and the new Invoice Immutability option at Configuration > System Settings > General Settings can switch note generation off. Check that before you promise an accountant a paper trail. Disputes appear at Billing > Disputes, but only for PayPal Payments, PayPal Card Payments and PayPal Checkout.
Why is WHMCS PayPal not working?
Start at Billing > Gateway Log and the Module Log, then match the message. Each row comes from the PayPal troubleshooting pages in the 9.1 documentation.
| What you see | Documented cause | What to do |
|---|---|---|
| HTTP 500 in the Admin Area after an update | Legacy PayPal files left in modules/gateways/ after a jump from 8.12 or earlier | Delete or replace them, then run PHP Version Compatibility |
| Paid in PayPal, nothing in WHMCS | Several causes, from a failed callback to an unlinked account | Work through the Missing PayPal Payments page first |
| Orphaned subscription in the Activity Log | No matching service, addon, domain, client or invoice | If it starts [PAYMENT.SALE.COMPLETED] more than 48 hours after an update from a version before 8.7, money arrived that WHMCS never recorded |
| Missing subscription in the Activity Log | No service matched, but a client or invoice did | Match it by hand against the client's services |
DUPLICATE_INVOICE_ID | One PayPal account serving several systems, with blocking on | Allow multiple payments per invoice ID |
| IPN failure email or IPN Handshake Invalid | Site offline, a moved URL, or the windows-1252 charset | Fix the site, update the URL, set the charset to UTF-8 |
L_SHORTMESSAGE0 => Security error | The API details stored in the module are invalid | Generate and re-enter the credentials |
Invalid Receiver and Not Supported both mean the payment receiver value does not match your PayPal configuration, so check the PayPal Email list. Unrecognized Currency is a different fault: a code at Configuration > System Settings > Currencies that is not valid ISO-4217, often EURO where EUR belongs. Transaction ID already exists is usually harmless. Referenced transaction or order is too old starts 24 months after the original payment, and the fix is to have the client pay the next invoice by hand, which creates a fresh reference transaction.
What are the limits of PayPal in WHMCS?
The recommended module is the one that cannot do PayPal Subscriptions, and that trade is deliberate.
- No PayPal Subscriptions on PayPal Payments. Renewals run from WHMCS invoices against a vaulted method, so clients lose the subscription view in their PayPal account.
- Country rules. Stored methods need PayPal Vault, the unbranded card option needs Advanced Cards, and both depend on your merchant country.
- OPcache off. That can clash with how a host tunes PHP. Agree it first.
- A one-way button. Unlink PayPal Account cannot be undone, and it unlinks both modules.
- Card-first customers. If most clients pay by card, compare Stripe Dynamic Payments first.

In words: if PayPal Payments is not linked, that is the first job. If clients still hold legacy subscriptions, keep those modules enabled but hidden until the transitions finish. If the update comes from 8.12 or earlier, clear the old gateway files first. If most clients pay by card, compare Stripe. Otherwise PayPal Payments alone is enough.
What else do people ask about WHMCS PayPal integration?
Is PayPal Basic removed in WHMCS 9.1?
It is removed from new installations and retained on installs updated from 9.0.x, so both answers are true depending on where your install came from. The release notes list it under Removals, while the gateway comparison still calls it deprecated for installs that kept it.
Does WHMCS support PayPal subscriptions?
Only through PayPal Basic and PayPal Checkout, the two modules being retired. PayPal Payments bills a vaulted payment method against each WHMCS invoice instead. If a PayPal-side subscription is a hard requirement, that requirement expires with the modules.
Do I need PayPal API credentials for WHMCS?
Not for PayPal Payments. You click Link PayPal Account, log in, approve the WHMCS application, and WHMCS stores the credentials itself. PayPal Basic runs on an email address, with NVP/SOAP classic credentials needed only for refunds from inside WHMCS.
Why will WHMCS not activate PayPal Payments?
Check two requirements. The System URL must begin with https:// with a valid certificate, or PayPal will not connect. The PHP OPcache extension must be off, because WHMCS will not activate the module while it is on.
Why are my clients getting PayPal cancellation emails?
Because WHMCS is moving them off a legacy module, and it has to cancel the PayPal subscription to do that. PayPal emails the client automatically. Payments continue through PayPal Payments and no action is needed.
Planning the move off the legacy modules on a busy install, or building PayPal into a checkout WHMCS does not ship, is work I take on as a freelance WHMCS developer, with a free scoping call of about 30 minutes and a written quote within one business day.
Last reviewed 14 November 2026. Disclosure: I sell WHMCS and web development work, so I am not neutral. I am CTO at ElySpace, a freelance developer for Marmaids LLC, and founder of WHMCSPilot and MagizAI. Module names, settings, file paths and errors come from the WHMCS 9.1 documentation and release notes, read that day.