Integrations & scripts

Flaem

Payments, KSeF and WHMCS migration

Ready-made connections between the Flaem hosting platform and payment gateways, KSeF, domain registrars, DDoS protection, text messages and Discord. Each is switched on separately, with keys in the operator panel.

Flaem

About the project

The Flaem integrations are the hosting platform's built-in connections to payments, e-invoicing, domains, DDoS protection and migration tools. Gateways take BLIK (a Polish mobile payment) in the panel, invoices go to KSeF (Poland's e-invoicing system), and registrars have a fallback order. Migration always starts with a dry run and its report, and a billing bridge keeps you on WHMCS, Blesta, HostBill or Paymenter. The rest connects via the REST API, signed webhooks, Terraform or an MCP server.

The challenge

Before a hosting company sells its first server, it has to connect the panel to payment gateways, KSeF, domain registrars, a DDoS protection provider, text messages and Discord, and then move clients over from the old system. Each of these connections usually means a separate module from another author, and the risk that a migration overwrites data halfway or invoices someone by mistake.

What we did

  1. 01 Stripe, Przelewy24, Tpay, PayU, PayPal, paysafecard, SimPay and BTCPay Server, with BLIK entered in the panel
  2. 02 KSeF with a background queue, VAT number checks in VIES, exchange rates from the NBP (the National Bank of Poland) and a JPK file (Poland's standard audit file for tax) for the accountant
  3. 03 Registrars with a fallback order for every extension, NASK for .pl domains, PowerDNS, Cloudflare and mailcow
  4. 04 DDoS protection at Path.net, OVH, Cloudflare Magic Transit and NeoProtect, set per service
  5. 05 Import from WHMCS, Pterodactyl, Convoy, Virtualizor, cPanel and DirectAdmin, always with a dry run report
  6. 06 A REST API described in OpenAPI 3.1, signed webhooks, a TypeScript client, Terraform, a CLI and an MCP server

Related projects

Describe your project.

A free quote comes back within an hour during working hours.

Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.