OSIR · The AI-Native Domain Registrar

Integrations / ClientFence

Sell domains from your ClientFence, registered through OSIR

The same OSIR registrar plugin, built for ClientFence. Your customers search, buy, transfer and renew domains in your own storefront, at your prices, with OSIR as the registrar behind it.

Download the plugin · Read the setup guide · Source on GitHub

Version 1.4.0, Apache License 2.0, free and open source.

What you get

Every domain operation

Registration, transfer-in with an auth code, renewal, nameservers, contacts, transfer lock, WHOIS privacy and transfer (EPP) codes.

DNS your customers manage themselves

Each domain a customer holds with you gets a DNS page in your client area for A, AAAA, CNAME, MX, TXT, SRV, CAA, NS, PTR and NAPTR records. There is no extra product to sell or invoice.

Your prices, set in minutes

Import OSIR's TLDs with your own markup: a percentage, a fixed amount, rounded to .99 if you like. Your cost and your selling price sit side by side before anything is saved.

Bring your existing domains

Domains you already hold at OSIR become orders for the right customer, with their real expiry date. Nothing is re-registered and nothing is charged.

Charged once, even when things go wrong

A lost connection, a retried cron run or a double click never registers or renews twice. Every paid call carries an idempotency key bound to the order.

A cost limit you control

Before registering, renewing or transferring, the plugin asks OSIR what it costs with fees included. Anything above your limit, or any price it cannot confirm, is refused and left for you.

What it looks like

Customer view of the DNS page for a single domain in ClientFence, listing A, CNAME, MX and TXT records with add and edit controls
The DNS page your customer sees in ClientFence. The SOA and the domain own nameserver records are shown but cannot be edited, so nobody can take their zone offline.

What you need

  • ClientFence 1.0.62 or newer
  • PHP 8.3, 8.4 or 8.5 with the intl extension
  • An OSIR account with a live API key
  • USD as the default currency, to import TLD prices

Get started

The plugin adds only its own paths, so it cannot overwrite anything in your installation.

  1. Create your API key. In the OSIR panel, create an API key (it starts with osir_live_) and restrict it to your server's IP address.
  2. Install the plugin. Download osir-clientfence-registrar-1.4.0.zip from the latest release, check it with sha256sum -c SHA256SUMS --ignore-missing, and extract it into the root of your installation.
  3. Connect it. In the admin panel, open Domain Management then Registrars, find Osir, click Install, and add your API key. Putting the key in config.php instead keeps it out of the database and survives updates.
  4. Set your prices. Activate the OSIR domains module under Extensions, then open System, then OSIR import. Choose your TLDs and your markup, then optionally hand over domains you already hold.
  5. Check it works. Run php library/Registrar/Adapter/Osir/bin/osir-doctor.php from your installation root. It only reads: versions, where your key came from, your cost limit, the connection and your balance.

OSIR has no test environment, so the plugin refuses to run while Test Mode is on rather than quietly performing live, paid registrations. To try it, register one inexpensive domain for yourself.

Frequently asked questions

What does the plugin cost?
Nothing. It is free and open source under the Apache License 2.0. You pay your OSIR reseller price for each registration, renewal and transfer.
Is it the same plugin as the FOSSBilling one?
Both are built from the same sources and released together under the same version number. The ClientFence build carries that platform class names. Features and behaviour match.
Can my customers manage their own DNS records?
Yes. Each domain gets a DNS page in your client area. The SOA record and the domain own nameserver records are shown but cannot be edited or deleted, so nobody can take their own domain offline.
Is there a test or sandbox mode?
No. OSIR has no test environment, so the plugin refuses to run while Test Mode is on and sends nothing live from a test switch.
What about premium domains?
They are refused by default, because your billing system sells every name of a TLD at one price and you would pay whatever the registry asks. Set a maximum cost per year and turn on the premium option to sell the ones that fall inside your limit. The limit applies to renewals and transfers too.
Where do I get help?
Contact OSIR support and include the reference number shown in any error message. Source, issues and releases are at github.com/Osir-Inc/clientfence-osir.