Context
OwnPay is an open-source, self-hosted payment gateway platform. It is not a payment processor. A merchant runs OwnPay on their own server and connects their own gateway accounts. The platform provides the control plane: brands, gateways, checkout, ledger, APIs, and webhooks.
The project is AGPL-3.0 licensed and in public beta. The organization also ships official SDKs, integrations, a mobile console app, and documentation.
The problem
Hosted gateways are fast to adopt, but they keep the checkout, the data, and the fee inside the provider. For a merchant with multiple brands, gateways, and currencies, that dependency becomes an architecture problem. The merchant needs a payment control plane that can change without rebuilding the storefront.
OwnPay started from a simple question: can a merchant run the payment control plane on infrastructure they control, while still connecting to the gateways their customers use? The answer required more than a checkout page. It required a ledger, a plugin system, a secure credential store, and an API that could survive gateway changes.
The constraints
- PHP 8.3+, MySQL 8, or MariaDB 10.4+.
- A server managed by the merchant.
- AGPL-3.0 licensing.
- Security requirements: credential encryption, Argon2id password hashing, CSRF protection, rate limiting, SSRF safeguards, and signed webhooks.
- Public beta, so releases need atomic updates and rollback.
The approach
OwnPay uses a plugin architecture. A gateway plugin lives under modules/gateways/ with a manifest.json and an adapter that implements GatewayAdapterInterface. Gateway-specific code stays out of the core, so a merchant can add or remove a gateway without rewriting checkout.
The platform includes:
- Multi-brand isolation with separate domains, gateways, customers, and ledgers.
- White-label checkout on the merchant’s domain.
- A double-entry ledger with precise decimal arithmetic.
- Refunds recorded as balance-validated reversals.
- REST APIs and HMAC-signed webhooks.
- A signed update system for atomic, rollback-safe releases.
The ecosystem
The own-pay organization publishes the core platform and the tools around it:
- OwnPay: the self-hosted payment gateway platform.
- ownpay-docs: documentation, guides, and API reference.
- ownpay-nodejs: the official Node.js SDK.
- ownpay-laravel: the official Laravel SDK for payments, refunds, webhooks, and customers.
- OwnPay-WHMCS: a WHMCS module.
- OwnPay-Mobile-App: an Android console app.
- OwnPay-Gateway-Plugin: the official gateway plugin.
- OwnPay-Plugin-Development: example plugin code.
The result
- More than 120 gateway plugins and 3 addon plugins.
- 6 contributors.
- About 226 GitHub stars and 38 forks.
- Official Node.js and Laravel SDKs, a WHMCS module, a mobile console app, documentation, and example plugins.
- Installation is claimed under 5 minutes on a PHP server.
- Active development, with v0.2.0 public beta and a last push on 2026-12-03.
These are adoption and engineering signals. They are not revenue, transaction volume, or customer retention figures.
Evidence
- OwnPay source repository
- OwnPay organization
- ownpay-docs
- OwnPay website
- OwnPay project page
- Self-hosting article
What this proves
OwnPay shows the ability to design, build, secure, and maintain payment infrastructure: a plugin architecture, a ledger, a checkout, APIs, a release process, and a multi-repository ecosystem of SDKs and integrations.
What this does not prove
OwnPay is not a payment processor. Merchants connect their own gateway accounts and remain responsible for gateway contracts, compliance, and server operations. The project is in public beta, not a managed service. The public record does not include transaction volume or a named production customer.
Limits
The ownpay.org “Trusted by Businesses in Production” line has no named businesses, so this case study does not use it.