selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

Best open-source alternatives to Stripe

The dominant developer-first payment processing platform.

Stripe provides API-driven payment processing, subscription billing, and a growing financial services suite, dominant in developer-facing payments. Per-transaction fees and account stability concerns sometimes motivate merchants to evaluate self-hosted alternatives. True self-hosting of card processing is impossible due to PCI requirements — alternatives target subscription management, invoicing, and merchant tooling rather than card acquiring itself.

9 alternatives listed
  1. Apache License 2.0Open Source — No Paywall

    Hyperswitch is an open-source payments infrastructure project aimed at businesses and engineering teams that want more control over their payment stack. It is designed to be modular, letting users adopt only the components they need, such as routing, retries, vaulting, observability, and reconciliation, rather than deploying a full monolithic payment platform. The project supports both local setup and cloud deployment, and it also provides a hosted sandbox for trying the Control Center without any setup. It connects to 100+ payment processors and includes a visual workflow builder, making it useful for teams managing multi-PSP payments, payment optimization, and operational workflows around connectors, logs, and retry strategies.

    Cloud OptionalMulti-UserDockerHelm

    Features:

    • modular payments infrastructure
    • cost observability
    • revenue recovery
    • PCI-compliant vault
    • intelligent routing

    +5 more

  2. 2Lago logo
    10.3k
    GNU Affero General Public License v3.0Open Source — No Paywall

    Lago is an open-source billing and revenue infrastructure platform aimed at product-led companies that need to charge for usage, subscriptions, or hybrid pricing models. It positions itself as payment-agnostic and API-first, with core capabilities for metering, invoicing, entitlements, cash collection, analytics, and embedded billing. The project is designed for either cloud use or self-hosted deployment. The README emphasizes that teams can self-host for full control over their data or use Lago Cloud to get started quickly. It also highlights a REST API, SDKs for several languages, and integrations with common accounting, CRM, marketplace, and payment systems, making it suitable for engineering and finance teams building monetization workflows.

    Telemetry: Opt-OutCloud OptionalMulti-UserDockerDocker ComposeSource

    Features:

    • usage metering
    • billing and invoicing
    • entitlements
    • cash collection
    • revenue analytics

    +4 more

  3. elastic-2-0Source-Available — Not OSS

    Invoice Ninja 5 is an invoicing application designed for businesses that need to create and manage invoices, support a client portal, and expose an API for integrations. The README presents both a hosted SaaS offering and a self-hosted edition, making it suitable for teams that want either a managed service or full control over their own infrastructure. The project also includes mobile and desktop clients, plus self-hosted deployment options such as Docker and server/VM installation. It documents API usage, developer guidance, and user documentation, and highlights that Pro and Enterprise features from the hosted app are included in the source-available code. The README also shows example login credentials for administrator and client portal access, indicating support for multiple user roles.

    Cloud OptionalMulti-UserMulti-TenantDockerPackage ManagerSource

    Features:

    • invoicing
    • hosted SaaS
    • self-hosting
    • client portal
    • administrator login

    +4 more

    Auth:local
  4. MIT LicenseOpen Source — No Paywall

    BTCPay Server is a self-hosted Bitcoin payment processor designed for merchants and organizations that want to accept Bitcoin without relying on intermediaries or paying processing fees. It emphasizes user control, privacy, and non-custodial operation, with support for SegWit, Tor, Lightning Network integrations, and hardware wallet-based vault workflows. The project is aimed at users who want to deploy their own payment infrastructure or use a third-party host, and it includes documentation for deployment, account setup, and walkthroughs. It also provides merchant-oriented tools such as invoice management, payment requests, point-of-sale flows, crowdfunding, and donation buttons, plus both a newer Greenfield API and a legacy BitPay-compatible API for integration.

    Cloud OptionalMulti-TenantDocker ComposeSource

    Features:

    • Direct Bitcoin payments
    • No transaction fees
    • Non-custodial payments
    • Self-hosted deployment
    • SegWit support

    +5 more

  5. Apache License 2.0Open Source — No Paywall

    Kill Bill is an open-source subscription billing and payments platform aimed at businesses that need to manage billing, payments, and SaaS-style subscription operations. It is positioned as a scalable backend for online businesses, including larger SaaS and e-commerce organizations, and emphasizes avoiding vendor lock-in by keeping business and client data under the operator’s control. The project highlights out-of-the-box capabilities such as real-time analytics, financial reporting, trial management, and promotional discounts. It is described as modular and extensible, allowing operators to disable or replace functionality as needed. The README also points to technical documentation, an AWS one-click deployment path, and hosted sandboxes and developer tools through the project’s cloud site.

    Cloud OptionalDocker

    Features:

    • real-time analytics
    • financial reports
    • subscription billing models
    • trials and promotional discounts
    • modular architecture

    +4 more

  6. MIT LicenseOpen Source — No Paywall

    InvoicePlane is a self-hosted web application for businesses or individuals who need to manage invoices, quotes, clients, and payment activity in one place. It is presented as a libre project focused on keeping financial records organized while supporting customization of templates, themes, and settings to match a brand or workflow. The README describes both local development and production deployment paths. Users can run it with Docker for a quick local setup, or install it on a web server by uploading the application files, configuring database credentials, and completing the web-based installer. The project also includes a containerized deployment mode with environment-variable-based configuration and automatic migrations, along with community support resources and a wiki for further installation and upgrade guidance.

    Multi-UserDockerDocker ComposeSource

    Features:

    • Invoice management
    • Quote management
    • Client management
    • Payment tracking
    • Payment gateway integration

    +5 more

    Auth:local
  7. Apache License 2.0Open Source — No Paywall

    FOSSBilling is an open-source billing and client management system aimed at online service businesses. It is positioned for web hosting providers, but the README notes that it also fits software licensing, digital downloads, and subscription-based businesses. The project helps automate common operational tasks such as invoicing, payment handling, and client communication. It emphasizes extensibility, multilingual support, and a responsive interface that works on both desktop and mobile devices. The README also points users to a public demo and an installation guide, indicating that the project is intended for self-hosted deployment on standard LAMP/LEMP environments.

    Multi-UserSource

    Features:

    • automated invoices
    • reminders
    • basic reporting
    • client management
    • integrations

    +5 more

  8. MIT LicenseOpen Source — No Paywall

    SolidInvoice is an open-source invoicing platform aimed at small businesses and freelancers who need to manage everyday billing tasks. It provides a web-based interface for handling clients, contacts, quotes, invoices, taxes, discounts, and payment collection. The project also exposes a RESTful API for integration with other systems and supports notifications through channels such as email, text messages, and HipChat. It can be installed via Docker, from an archived release package, or directly from source for developers and production deployments.

    Cloud OptionalDockerSource

    Features:

    • clients and contacts management
    • quote management
    • invoice management
    • online payment acceptance
    • tax and discount handling

    +2 more

  9. 9DePay logo
    131
    MIT LicenseOpen Source — No Paywall

    DePay Widgets is a client-side JavaScript payment widget for integrating crypto payments into web applications. It is designed for developers who want to accept wallet-to-wallet payments without building the payment flow from scratch, and it supports both managed integrations and direct unmanaged payment setups. The widget works across EVM and Solana-based ecosystems and lists many supported blockchains and wallets. It can be installed via CDN or package manager, then imported into JavaScript. The README also describes configuration options such as payment amounts, currencies, fees, token lists, wallet selection behavior, and custom RPC providers, making it suitable for apps that need flexible on-chain payment collection.

    Cloud OptionalDockerPackage ManagerSource

    Features:

    • wallet-to-wallet crypto payments
    • managed integration via integration ID
    • unmanaged payment configuration
    • multi-blockchain payments
    • fee configuration

    +5 more

What to look for in a Stripe alternative

Card processing itself requires a payment gateway relationship — self-hosted billing platforms wrap one or more gateways rather than replacing them. Evaluate subscription billing logic (proration, dunning, plan changes), invoicing, tax calculation, and webhook reliability. Integration with multiple acquirers and support for SCA/3DS, regional payment methods, and dispute handling are the operational features that matter at scale.