The Coinbase Payment Gateway module for WHMCS has been tested and confirmed to work with PHP 5.6 or higher, WHMCS 7.x, OpenSSL or equivalent SSL library with TLS 1.1 or higher, IonCube Loader v10.1.x or higher, and the PHP extensions cURL (with TLS 1.1+), Hash, and OpenSSL. You must also maintain a Coinbase Commerce account. These configurations are the only ones our developers have validated. The module may function in other environments, but we cannot guarantee support outside them. This article assumes your server and PHP installation already meet the core WHMCS requirements listed at https://docs.whmcs.com/System_Requirements.
Meeting these requirements prevents runtime errors, failed API calls to Coinbase, and payment processing failures. Cryptocurrency gateways depend on secure TLS connections and precise extension availability to validate webhooks, sign payloads, and update invoice status automatically. Without the correct versions and libraries, you risk silent failures or security vulnerabilities in transaction handling.
#System Requirements
- Clear understanding of using WHMCS as well as uploading, installing and configuring addons and gateways. You must be comfortable editing configuration files, uploading via FTP or the WHMCS admin area, and troubleshooting module activation. Lack of this knowledge is the leading cause of initial setup failures.
- PHP 5.6 or higher. This baseline supplies language features, security updates, and library compatibility that the module relies upon. Versions below 5.6 lack necessary openssl and curl capabilities required for Coinbase API communication.
- WHMCS 7.x (we do not support alpha, beta or release-candidate builds). The module was developed against the stable 7.x series. Pre-release WHMCS versions introduce API and database changes that have not been tested with this gateway.
- OpenSSL (or any SSL library) w/ TLS 1.1+ support. Secure outbound connections to Coinbase endpoints require at least TLS 1.1. Older SSL implementations will cause handshake failures when the module attempts to POST transaction data or retrieve payment status.
- Ioncube loader v10.1.x or higher. The distributed module files are encoded with IonCube. An incompatible or missing loader results in a white screen or fatal PHP error on every page that includes the gateway code.
#PHP Extension Requirements
- cURL w/ TLS 1.1+ support. All interaction with the Coinbase Commerce REST API and webhook delivery uses cURL. The extension must be compiled with a TLS library that supports modern protocol versions, or API calls will be rejected.
- Hash. This extension supplies hash_hmac and related functions used to verify webhook signatures from Coinbase, ensuring that payment confirmation requests have not been tampered with in transit.
- OpenSSL. Provides PHP-level cryptographic primitives for encrypting sensitive session data and generating required signatures during checkout and callback processing.
#Coinbase Commerce Account
A valid Coinbase Commerce account is mandatory. After registration you generate an API key and configure webhook URLs inside the Coinbase dashboard. The WHMCS module uses these credentials to authenticate requests and receive real-time payment notifications. Without an account the gateway cannot connect and will display configuration errors in the WHMCS admin area.
#Testing Your Environment
We supply a lightweight PHP script that interrogates your installation for every prerequisite listed above. It checks PHP version, loaded extensions, IonCube presence and version, OpenSSL TLS capabilities, and WHMCS path detection. The script can be downloaded from https://billing.aspnix.com/dl.php?type=d&id=138.
Upload the file to the root of your WHMCS installation and access it directly in a browser. The output presents a clear pass/fail matrix. Any failed checks include remediation guidance. Run the script after any PHP or extension upgrades to confirm continued compatibility.
# Quick manual verification from SSH
php -v
php -m | grep -E 'curl|openssl|hash'
php -i | grep -E 'Ioncube|TLS'
If the test script or manual checks reveal missing components, coordinate with your server administrator to install or update them. Common fixes include enabling extensions in php.ini, recompiling PHP with current OpenSSL, or upgrading the IonCube loader.
Once all requirements are satisfied, install the module following the supplied readme. Properly validated environments yield reliable cryptocurrency checkout flows and automatic invoice updates. For the complete installation and API key configuration process, consult the module documentation included in the download package.
Comments
No comments yet