Replacing a Coinbase Commerce module in WHMCS
A Coinbase Commerce gateway module in WHMCS can no longer take payments. Coinbase stopped charge creation on Commerce after March 31, 2026, and the Charges API these modules call is offline as of December 2026, so a customer who picks the method gets no payment page. To replace it, activate the new crypto gateway first, then deactivate the Coinbase module and let WHMCS move its invoices and services to the new one.
Which Coinbase Commerce module were you running?
Two published modules existed, and some hosts wrote their own.
The first came from Coinbase itself. A repository named coinbase-commerce-whmcs sat in Coinbase's own GitHub organization. Its README describes the "Coinbase Commerce module for WHMCS, version 1.2", lists "Working WHMCS installation (tested up to version 7.4.2)" as a requirement, and shows 1.2.1 as the latest release, dated May 23, 2019. A line added to the README on June 10, 2021 reads: "Note: This repository is not actively maintained." As of December 2026, the repository is no longer public.
The second is a third-party listing on the WHMCS Marketplace. "Coinbase Commerce" by Invictus International is free, at version 1.0, last updated May 7, 2018, and shown as compatible up to WHMCS 7.5. It is not marked Official.
Some businesses built private modules. In a July 2021 thread on the WHMCS community forum, a Coinbase Commerce user asks for a sample gateway module to start one, after finding nothing on the Marketplace that "appeared to be consistently maintained." Neither published module had a release after 2019, while WHMCS 8.0 arrived in August 2020 and the releases page now marks 8.12 and older as End of Life.
To see which one you have, open Configuration > System Settings > Payment Gateways and note the gateway's name, then look in /modules/gateways/ on your server, where WHMCS keeps gateway module files. The callback file that received Coinbase's notifications sits in /modules/gateways/callback/.
What stopped working when Coinbase Commerce closed?
Coinbase's help page on the transition set March 31, 2026 as the cutoff: "After this date, the Commerce portal will become permanently inaccessible and you will no longer be able to create charges or access the Commerce dashboard." Every part a WHMCS module relied on is affected.
| What the module used | Status as of December 2026 | Effect in WHMCS |
|---|---|---|
Charges API, api.commerce.coinbase.com | Offline | The module cannot create a charge, so the customer gets no payment page for the invoice |
Hosted payment pages, commerce.coinbase.com | Offline | Payment links sent before the shutdown are dead |
| Webhooks to your callback file | No service left to send them | Nothing marks an invoice paid |
| Commerce developer docs | Removed | No reference for debugging the old module |
The quiet damage is in billing automation. WHMCS generates renewal invoices "14 days before the Next Due Date" by default, and each one is assigned to the client's gateway. A client whose gateway is still Coinbase Commerce receives an invoice they cannot pay. If Enable Suspension is on, WHMCS suspends the service after the number of overdue days you set, so a customer who wanted to pay can lose service because the method on their invoice is dead.
Funds are a separate problem from the module. Coinbase's help page said "Commerce wallets are self-custodial", told merchants to withdraw before March 31, 2026, and warned that afterwards "For many merchants, especially those with Bitcoin, funds may become practically inaccessible." Coinbase Commerce shut down: what happened and what to do now covers recovery with the seed phrase.
What to export and check before you deactivate
Deactivating a gateway rewrites records. WHMCS's payment gateways page says deactivation "will automatically reassign any services, invoices, transactions, and pay methods to the new payment gateway." After the switch, past Coinbase payments are listed under the new gateway's name, so take a copy first.
- Export your transactions. Save your WHMCS transaction history for the years you used Coinbase to a CSV file. Keep it with the Commerce history you exported from Coinbase, which Coinbase said would not move to Coinbase Business: "Commerce and Coinbase Business are separate systems."
- List open invoices on the Coinbase gateway. Search your invoices for those still Unpaid with Coinbase Commerce as the payment method. These are the customers who could not pay. Note any that sit at Payment Pending from charges started near the shutdown.
- Protect services that are about to suspend. For clients with an overdue invoice on the dead gateway, extend the invoice due date or switch off automatic suspension for that service until the new gateway is live.
- Save the Gateway Log. Billing > Gateway Log holds the callback entries from Coinbase. Copy the ones you may need if a customer later disputes a payment.
Swap the gateway in the right order
WHMCS documents the sequence in its guide to migrating payment gateways, last modified October 20, 2026:
- Go to Configuration > Apps & Integrations, click the new payment gateway and click Activate. WHMCS takes you to Configuration > System Settings > Payment Gateways.
- Configure the new gateway and confirm it works before going further.
- Click Deactivate on the Coinbase Commerce module. "The system will prompt you to choose the payment gateway that you wish to reassign" the existing services and invoices to.
- Select the new gateway.
For a move between 2 redirect-style gateways, the guide's table entry "Third-Party → Third-Party" reads "No additional steps." Clients do not re-enter anything. Their next invoice carries the new method, and they pay it from the client area as before.
Activate first and deactivate second. If you deactivate the Coinbase module while no replacement crypto gateway is active, its invoices are reassigned to whatever gateway you pick, often a card or PayPal module that your crypto customers cannot use. Once the switch is done, delete the old module's files from /modules/gateways/ and its callback file, since nothing should be posting to that URL anymore.
How to switch crypto payment gateways without losing payments covers the same move for other platforms.
Installing CoinStack as the replacement
The CoinStack gateway module supports WHMCS 8 and 9. The setup documentation has 4 steps:
- In the CoinStack dashboard, open Developers and create an API key with Read and write access.
- Download the module, unzip it and copy its
modulesandincludesfolders into your WHMCS root. - Activate CoinStack under Configuration > System Settings > Payment Gateways.
- Paste the key into the gateway settings and save.
Setup differs from the old Coinbase module in one way hosts notice. Coinbase's README had you copy an API key and a webhook shared secret into WHMCS, then paste a webhook URL back into the Coinbase dashboard. The CoinStack module registers its own webhook, so there is one key to paste and no URL or secret to copy. A Connection line in the gateway settings shows whether it is connected and, if not, why.
On the invoice, a customer clicks Pay Now, picks one of 10 tokens on 11 networks, Bitcoin included, and sends from any wallet or exchange. The invoice shows Payment Pending while the payment confirms and Paid when the checkout completes, so renewals and new orders activate as they do with any gateway. Each payment is converted to USDC and settled to a wallet you control. The fee is 0.8% per payment, against the 1% Coinbase charged on Commerce, as its Commerce FAQ stated: on a $60 quarterly VPS invoice that is 48 cents instead of 60. How to accept crypto payments in WHMCS explains part payments, currencies and logs in full.
What to tell customers with open invoices
A short email prevents most of the tickets. Tell affected customers that the Coinbase payment option has been replaced, that their open invoice now shows the new crypto method, and that any Coinbase payment link they saved no longer works. Give the date by which they should pay before suspension resumes.
Expect a few customers to say they already paid through Coinbase. Ask for the transaction hash and check it against your Commerce export or on a block explorer before you credit anything. How to verify a crypto payment on a block explorer shows what to look for. If the payment is real, record it on the invoice by hand from the invoice's Add Payment option.
What stays the same after the switch?
Renewals keep working the way they did. Each renewal is an invoice the customer pays at the hosted checkout, or one their credit balance covers. Handling WHMCS renewals when customers pay with crypto sets up reminders and credit for this. With CoinStack you send refunds from your own wallet, on your own timing, and record them on the invoice.
Other gateways that run on WHMCS 8 and 9 are compared, with fees and update dates, in WHMCS crypto payment gateways compared.
Frequently asked questions
Is there a Coinbase Business module for WHMCS?
Not as of December 2026. Coinbase's developer documentation does not list one, and the WHMCS Marketplace listing named Coinbase Commerce dates from 2018. Coinbase Business also uses JWT-based authentication and different endpoints, so an old Commerce module cannot be repointed at it without a rewrite, and Coinbase's help page said in March 2026 that it was "currently only available to businesses with a legal entity in the United States or Singapore".
Does deactivating the Coinbase module delete my old transactions?
No. WHMCS keeps the transactions but reassigns them, along with services, invoices and pay methods, to the gateway you choose when you deactivate. The amounts and dates stay the same, but the gateway name changes. Export a transactions report first if you need to show later which payments came through Coinbase Commerce.
Do clients have to do anything after the gateway switch?
No. WHMCS's migration guide lists "No additional steps" for a move from one third-party gateway to another. Their open and future invoices show the new crypto method, and they pay from the client area as before. Only customers holding an old Coinbase payment link need telling that it no longer works.
What happened to the money left in my Coinbase Commerce wallet?
It stayed in a wallet only you hold the keys to. Coinbase said Commerce wallets were "self-custodial", backed by a 12-word seed phrase, and that "If you do not have your seed phrase and did not back it up to Google Drive, Coinbase cannot recover your funds." Importing the phrase into a normal wallet may not show every address, because Commerce created a new one for each payment.