Chatilo
USDPrices shown in US dollars Sign in Start free trial
For partners

Sell plans from WHMCS or WordPress

Connect your own billing system so a customer's account is created and their plan starts as soon as they pay you.

Last updated

On this page
  1. How the money works
  2. Create your API key
  3. WHMCS
  4. WordPress with WooCommerce
  5. Refunds and cancellations
  6. Troubleshooting

If you already bill your customers in WHMCS or in WooCommerce, you can sell plans there. When a customer pays you, their account is created and the plan starts by itself.

How the money works

  • Your customer pays you, at your price, in your own system.
  • Starting or renewing a plan takes its cost from your balance: the list price less your tier discount. See Tiers and discounts.
  • If your balance is too low, the plan waits and starts by itself once you add funds. See Add funds to your balance.
  • A payment is never charged to your balance twice. Each one carries your invoice or order number.

Create your API key

  1. In the partner portal, click Integrations.
  2. Click Create API key.
  3. Copy the key straight away. It is shown only once.

The page also shows the API address. You need both in the next steps. Create a new key replaces the key; the old one stops working at once.

WHMCS

  1. On Integrations, click Download WHMCS module and unzip it into your WHMCS folder. The files belong in modules/servers/chatilopartner.
  2. In WHMCS, add a server with the module Partner Plan Selling. Enter the API address as Hostname and your key as Password. Click Test Connection.
  3. Create a product, choose the module on the Module Settings tab, and pick the Plan.
  4. Set the product to be set up automatically when the first payment is received.
WHMCS actionWhat happens
CreateThe customer is added (or found by email) and the plan starts
RenewThe plan is extended when a renewal invoice is paid
Suspend, UnsuspendAccess is blocked or restored
TerminateThe account is suspended; its data is kept
Change PackageThe new plan starts for one billing period
Change PasswordThe owner's password is set
Open control panelThe client is signed in with a one-time link

Monthly, quarterly and semi-annual billing buy 1, 3 or 6 months. Annual, biennial and triennial billing buy 1, 2 or 3 years.

WordPress with WooCommerce

  1. On Integrations, click Download WordPress plugin.
  2. In WordPress, open Plugins, Add New, Upload Plugin, and install and activate it. WooCommerce must be active.
  3. Open WooCommerce, then Plan selling. Enter the API address and the key, and save. The page shows your tier, your balance and what each plan costs you.
  4. Edit a product. In the General tab choose Plan to start and whether one payment buys a month or a year.

When an order is paid, the account is created and the plan starts. The customer is emailed their sign-in address, and sees Open your control panel under My account. With WooCommerce Subscriptions, each renewal order extends the plan. The shortcode [plan_table] lists your plan products on any page.

If a plan cannot start, the order gets a note with the reason and the plugin tries again every hour. You can also choose Plan selling: create account and start plan from the order's actions.

Refunds and cancellations

Nothing is undone automatically. A plan that has started is not refunded to your balance. Suspend the customer from WHMCS or from your partner portal if you need to.

Troubleshooting

  • "The API key is missing or wrong": create a new key and enter it again.
  • "Add funds to your partner balance first": your balance has never been topped up. Add funds, then run the action again.
  • The plan is waiting: your balance was too low. It starts by itself when you add funds.
  • "That email address already has an account that is not one of your customers": the customer must use a different email address.

Cookies on this site

We use the cookies needed to run the site and keep you signed in. With your OK we also remember choices you make here, such as the currency for prices. We don’t use advertising or tracking cookies. Cookie policy