Open-source subscription
compliance engine

Checks cancellation flows against ROSCA, 35+ US state laws, EU Consumer Rights Directive, UK DMCCA, and card network rules.

35+ US States EU Directive 2023/2673 UK DMCCA Visa Mastercard AGPL 3.0

Regulatory Coverage

US Federal ROSCA, FTC Section 5, Telemarketing Sales Rule
US States CA, NY, CO, IL, VA, OR, FL, CT, MA, MD + 17 more
European Union Consumer Rights Directive 2023/2673, GDPR Art. 17
United Kingdom DMCCA, 14-day cooling-off period
Visa Subscription enrollment, trial, cancellation rules
Mastercard Billing notifications, receipts, consent rules

What It Does


Stack

BackendFastAPI + Python 3.11
DatabasePostgreSQL 16 + SQLAlchemy 2.0
Task QueueCelery + Redis 7
FrontendReact 19 + Vite + Tailwind
DeploymentDocker Compose (7 services)
Tests~2,000 LOC across 8 test files
LicenseAGPL 3.0

Quick Start

# Clone git clone https://github.com/AiSophical/FairCancel.git cd FairCancel # Configure cp .env.example .env # Run docker compose up -d # API is live at http://localhost:8000 # Dashboard at http://localhost:3000