Important: no processor
These tools do not move money by themselves. You still need processor accounts and PCI-compliant handling of card data.
Alternatives / PayPal Braintree
Looking for an open source PayPal Braintree alternative? We compared 3 open source payment infrastructure tools by license and role. None processes cards itself: Hyperswitch routes between processors, Lago handles billing, and Formance provides ledger infrastructure.
Written by Maxime DERAME
Last updated:
| Alternative | Best for | License |
|---|---|---|
| Hyperswitch | One API over many processors | Apache-2.0 |
| Lago | Usage-based billing and invoicing | AGPL-3.0 |
| Formance | Ledger and money-flow orchestration | MIT (ledger) |
We looked for open-source tools that sit around payments the way Braintree does. We verified each project's license, recent activity, stars, and self-hosting in its repository. You still need a processor and an acquiring bank. See our methodology for the full criteria.
These tools do not move money by themselves. You still need processor accounts and PCI-compliant handling of card data.
Hyperswitch connects multiple processors through one API with smart routing and cost visibility. Lago is an AGPL-3.0 billing system for metering, usage-based pricing, and invoicing, with Stripe and NetSuite integrations. Formance is a modular financial core with a ledger, reconciliation, and flow orchestration.
Hyperswitch is Apache-2.0. Lago is AGPL-3.0. Formance's ledger is MIT.
All three had commits within days of this update.
Braintree is a proprietary gateway and processor that holds your payment data and takes a fee per transaction. Open-source infrastructure lets you switch processors and own billing logic, but it does not replace a payment processor.
| Alternative | Type | License | Self-hosted | Best for |
|---|---|---|---|---|
| Hyperswitch | Payment orchestration | Apache-2.0 | Yes | Closest to a gateway |
| Lago | Billing | AGPL-3.0 | Yes | SaaS billing |
| Formance | Financial core | MIT (ledger) | Yes | Custom financial products |
Want to route between payment processors
Hyperswitch has smart routing and cost visibility across processors.
Want usage-based billing
Lago handles metering, prepaid credits, and automated invoicing.
Want to build a ledger-based product
Formance provides a ledger, reconciliation, and flows.