ictinnovations / checkout-for-whmcs
Sell your WHMCS products on WordPress. Pulls live plans and pricing from the WHMCS API, takes payment inline with PayPal, then creates the client and the order back in WHMCS.
Package info
github.com/ictinnovations/checkout-for-whmcs
Type:wordpress-plugin
pkg:composer/ictinnovations/checkout-for-whmcs
Requires
- php: >=7.4
- composer/installers: ^1.0 || ^2.0
README
Sell your WHMCS products on WordPress. This plugin puts the whole order flow on your own site, so buyers never get bounced to the WHMCS billing portal to finish paying.
It pulls live plans and pricing from the WHMCS API, renders them as a pricing grid and a one-page checkout, takes payment inline with PayPal, then creates the client and the order back in WHMCS.
Built and maintained by Tahir Almas at ICT Innovations.
Why you'd want it
The default WHMCS cart lives on a separate domain or subdomain, usually with a different theme. Every handoff costs you conversions. This keeps the buyer on your WordPress site from the pricing table through to the receipt, and WHMCS still ends up with a real client and a real order.
What it does
- Reads product groups and products straight from the WHMCS API, cached for an hour
- Renders plans with a
[whmcs_checkout]shortcode, including monthly through triennial billing cycles and setup fees - One-page checkout, so no multi-step cart
- Inline PayPal payment, sandbox or live
- Optional add-ons step and an annual support line item
- Social signup with Google, Facebook and LinkedIn, so buyers skip the registration form
- Creates the WHMCS client and order, then shows credentials on a
[whmcs_checkout_success]page - Per-product overrides in wp-admin for the featured flag and the feature bullets, so your pricing table reads the way you want without touching WHMCS
Requirements
- WordPress 6.0 or newer
- PHP 7.4 or newer
- A WHMCS installation you control, with API credentials
- A PayPal REST app if you want inline payment
Install
Download the latest checkout-for-whmcs.zip from Releases, then in wp-admin go to Plugins, Add New, Upload Plugin.
Updates arrive in wp-admin like any other plugin. The plugin checks this repository's releases, so you don't need a separate updater plugin installed.
With Composer:
composer require ictinnovations/checkout-for-whmcs
Set it up
- Go to Settings, Checkout for WHMCS.
- WHMCS tab. Enter your WHMCS URL, API identifier and API secret. Create those in WHMCS under Setup, Staff Management, API Credentials. Hit Test Connection.
- Pick the product groups you want to sell, then refresh products.
- PayPal tab. Add your REST client ID and secret from the PayPal Developer dashboard. Leave it in sandbox until you've run a test order.
- Pages tab. Create two pages, one with
[whmcs_checkout]and one with[whmcs_checkout_success], then point the slugs at them. - Social tab, optional. Add Google, Facebook or LinkedIn app credentials to switch on one-click signup.
Your data stays yours
Every credential lives in your own WordPress options table. The plugin talks to your WHMCS server, PayPal and whichever social providers you configure, and nowhere else. It phones nothing home, and it loads no analytics of its own.
Who makes this
ICT Innovations builds billing, provisioning and communications software for hosting companies, ISPs and telecom operators. If this plugin is useful to you, some of our other work probably is too:
- ICTPBX is a white label multi-tenant IP PBX, with a free community edition
- ICTBroadcast is autodialer and call center software for voice, SMS, fax and email
- ICTContact is contact center software with an AI voice agent
- ICTFax is an open source fax server, and ICTCore is the unified communications framework underneath it
- ICTDesk is live support and help desk ticketing
We also take on custom WHMCS module and integration work. Get in touch if you need something built.
Support
Open an issue for bugs and feature requests.
Licence
GPL-2.0-or-later. See LICENSE.
Bundles plugin-update-checker by Jānis Elsts, MIT licensed.