Your hosting customers already need databases. A developer launching an app wants PostgreSQL with backups and failover, not a VPS they have to patch. DigitalOcean runs that kind of managed database well, so the question for a WHMCS host isn't whether to offer it but how to sell it without creating work for your support desk or surprises on your DigitalOcean bill.

Here is how the flow should work in WHMCS, and the decisions that matter most.

What a customer should experience

  1. They order "Managed PostgreSQL" (or MySQL, or a Valkey cache) from your cart and pick a region, a size and, if you allow it, high availability.
  2. WHMCS takes payment and a dedicated cluster is created on your DigitalOcean account.
  3. A few minutes later, their client area shows a host, a port, credentials and a connect command they can paste.
  4. Upgrades, suspensions and cancellations in WHMCS change the cluster to match.

The customer never needs a DigitalOcean login. WHMCS invoices them, DigitalOcean invoices you, and you decide the margin.

Decide which engines to sell

DigitalOcean offers six managed engines, and they suit different buyers:

  • PostgreSQL and MySQL for application data. These are the ones most customers ask for.
  • MongoDB for document stores.
  • Valkey, a Redis-compatible in-memory store, for caches, sessions and queues.
  • Kafka for event streaming.
  • OpenSearch for search and log analytics.

Treat each engine as its own WHMCS product. "Managed PostgreSQL" and "Managed Valkey Cache" have different buyers, different plan sizes and different prices, so mixing them in one product makes your order form confusing.

Don't hard-code engine versions in product names or descriptions either. DigitalOcean retires old versions and adds new ones, so offer whatever it currently supports, read from its catalogue.

For PostgreSQL and MySQL there is a second choice: the edition. DigitalOcean sells both engines as Standard Edition and Advanced Edition. From 30 November 2026, a new Standard Edition cluster is limited to plans of up to 4 GiB RAM with no standby nodes, so larger and highly available PostgreSQL or MySQL now means Advanced Edition. A cluster keeps the edition it was created with, so plan your product line with that in mind.

Connect WHMCS to DigitalOcean

Create a DigitalOcean personal access token with full access. In WHMCS it goes on a server record under System Settings → Servers, where it is stored encrypted and never shown to customers.

Then create the products. A product type of Other fits best: shared hosting and VPS types add hostname and nameserver fields that a database has no use for.

One setting catches many hosts out. On the product's Module Settings tab, Automatically setup the product is off by default. With it off, a paid order is marked Active and nothing is created at DigitalOcean, with no error to warn you. Set it to run when the first payment arrives.

Build checkout options from the live catalogue

Customers want to choose a region and a size. Typing those into configurable options by hand goes stale as soon as DigitalOcean changes its catalogue, and some combinations simply don't exist: a few datacenters carry only some plans, for example. An order for a size the region can't run should be refused at checkout, before the customer pays, not after.

Generate the region, plan, engine version and high availability options from DigitalOcean's catalogue, then set your own prices under System Settings → Products/Services → Configurable Options.

Give customers the controls they'd otherwise ticket you for

Most database support requests are routine. Put these in the client area and they disappear:

  • Connection details with a copy button for each field, the password hidden until revealed, and a connect command in the engine's own syntax (psql, mysql, mongosh, redis-cli and so on) that uses TLS.
  • Trusted sources, so customers can allow their own servers' IP addresses. DigitalOcean accepts connections from anywhere until at least one source is added, so encourage customers to add theirs on day one.
  • Password regeneration for when a credential leaks. The data isn't touched, but apps using the old password must be updated.
  • A backups list for Standard Edition PostgreSQL and MySQL, where DigitalOcean publishes one, so customers can see their daily backups ran.

A few engines need extras. Kafka clients must trust the cluster's CA certificate, so offer it as a download. OpenSearch users expect the Dashboards address. Valkey's default memory policy refuses writes when memory is full, which surprises anyone using it as a cache, so let customers pick a least-recently-used policy.

Handle upgrades, suspension and termination

  • Upgrades: a larger plan or added high availability through the WHMCS upgrade flow should resize the cluster in place, with no new host to reconnect to. Engine, region and edition can't change on an existing cluster; that needs a new service.
  • Suspension: a managed cluster can't be stopped. The safe approach is to save the customer's trusted sources and replace them with a rule that matches nothing, then restore them exactly on unsuspend. No data is touched.
  • Termination: delete the cluster, then confirm with DigitalOcean that it really is gone, retrying from the cron if the API was unreachable.

Billing pitfalls

  • Suspended clusters still cost you. DigitalOcean bills by the hour for as long as a cluster exists, with or without connections. Set WHMCS to terminate services that stay unpaid.
  • Backups die with the cluster. Ask customers to export their data before cancelling, perhaps by handling database cancellations through a ticket rather than instantly.
  • High availability multiplies nodes. A standby node, a three-node MySQL Advanced cluster or a three-node OpenSearch cluster all cost more at DigitalOcean. Price the option accordingly.
  • The editions are priced differently. Check DigitalOcean's pricing for both before setting yours.
  • Clusters deleted outside WHMCS leave services billing for nothing. Check periodically for active services whose cluster is missing.

The module we built for this

We make PD DigitalOcean Databases, a WHMCS module that sells all six engines from one install, with options generated from DigitalOcean's catalogue, the client-area controls above, firewall-based suspension and a clean-up that confirms each deletion. If you only sell one engine, there are single-engine modules too, such as PD DigitalOcean PostgreSQL and PD DigitalOcean Valkey, with the same customer experience. They run inside the free PD Modules panel.

The module page has the details, and general questions about selling managed databases from WHMCS are welcome in the comments.

PD Modules is made by Projektif Digital Ltd, the team behind PD Hosting.