A payment infrastructure for digital products and SaaS that handles billing, sales tax, and merchant of record duties.

Polar screenshot 1

Polar is an open-source payment infrastructure web application and server designed to help developers monetize software and digital content. The platform acts as a merchant of record, which means it manages the administrative and legal complexities of sales so developers can focus on product development rather than financial compliance.

Users deploy Polar to sell access to various digital assets, including GitHub repositories, Discord support channels, and downloadable files. It handles the creation of license keys and the management of recurring subscriptions. The system is designed to automate the delivery of benefits to customers upon successful payment, reducing the manual overhead associated with granting access to paid software or services.

Key features

  • Merchant of record services for billing and receipts
  • Automated sales tax and VAT handling
  • Support for both one-time digital product sales and recurring subscriptions
  • Integration with GitHub repositories and Discord channels
  • Generation and management of license keys
  • Public API and Webhook API for external integrations
  • Official SDKs for JavaScript and Python
  • Customer account management and geolocation for checkout

The software is built with a modern technical stack consisting of TypeScript, React, and Next.js for the frontend, while the backend utilizes Python with FastAPI. It employs a Turborepo structure and leverages SQLAlchemy for database management, Pydantic for data validation, and Dramatiq for task processing. The architecture allows developers to integrate the payment flow into their own documentation, websites, or services via the provided SDKs. It also integrates IPinfo to provide geolocation data for customers during the checkout process to ensure accurate tax calculations.

Polar is a comprehensive monetization platform for SaaS businesses and independent developers who require a managed payment layer that handles the boilerplate of digital commerce.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity14 days ago
Repository Age3 years
LicenseApache-2.0
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.