Case Study Trading Tools / SaaS / FinTech 2024

Automated MT5 Licence Subscription Platform for TradingSmarter

0
Manual Steps Per Sale
100%
Automated Licence Delivery
3
Technology Layers (WP + Flask + FastAPI)
5/5
Client Rating
Client
TradingSmarter
Industry
Trading Tools / SaaS / FinTech
Engagement
Full-Stack Development + VPS Deployment
Timeline
Completed & Deployed
Outcome
Fully automated MT5 licence delivery platform with zero manual steps from purchase to activation
01
The Challenge

The Problem: Manual Licence Delivery Was Killing Growth

The client was selling MetaTrader 5 indicators and Expert Advisors but had no automated system. Every sale meant manually generating and sending a licence key. They needed a professional platform where payment triggers instant, automated licence delivery — and where MT5 tools could validate licences server-side rather than embedding keys in the files themselves.

  • 01
    Zero Automation
    Every customer purchase required manual intervention to generate and send a licence key — unscalable and prone to delays that hurt customer trust.
  • 02
    No Licence Validation System
    Without server-side validation, licence keys embedded in MT5 files could be extracted and shared. A proper validation API was needed so indicators check against a live endpoint before running.
  • 03
    Full Subscription Lifecycle
    The system needed to handle not just initial purchases but renewals, cancellations, dunning, free trials, and refunds — every state transition automatically updating the licence status.
  • 04
    Complete VPS Deployment
    Previous developers had handed over code without helping with hosting. This time the client needed everything — WordPress, Flask, FastAPI, SSL, backups, process management — set up and running on a VPS with no loose ends.
02
The Approach

How We Built It

We architected three separate layers: a WordPress marketing site for conversions, a Flask subscriber portal for customer licence management, and a FastAPI service for high-performance licence validation. LemonSqueezy webhooks tie everything together — every payment event triggers the right action automatically.

01 — Marketing

WordPress Marketing Site

Custom-designed WordPress site with product pages per MT5 indicator and EA, LemonSqueezy checkout integration, blog-ready structure for SEO, and trust content optimized for the trading tools niche.

02 — Backend

Flask Subscriber Portal

Built a secure subscriber portal in Flask where customers log in to view active licences, copy keys, check subscription status, access invoices, and manage their account — all scoped per product.

03 — API

FastAPI Licence Validation Service

High-performance FastAPI endpoints handle licence generation (triggered on payment) and real-time validation (called by MT5 indicators before running). Rate-limited, secured, and scoped per product namespace.

04 — Payments

Full LemonSqueezy Integration

Complete LemonSqueezy store setup with webhook handlers for every subscription lifecycle event — order.created, renewal, cancellation, dunning, free trial expiry. Every state change automatically updates licence status.

05 — Deployment

End-to-End VPS Deployment

Provisioned and configured the full VPS from scratch: Nginx reverse proxy, WordPress, Flask and FastAPI under Gunicorn, SSL via Let's Encrypt, automated backups, firewall rules, and PM2 process management.

03
The Results

What We Delivered

A complete, production-deployed SaaS platform where every step from payment to active licence is automated. The client went from manually handling every sale to a system that runs itself — renewals, cancellations, free trials, and all.

0
Manual Steps Per Sale
From fully manual
100 %
Automated Licence Delivery
Instant on payment
5 /5
Client Rating
Highly recommended
3
Tech Layers Deployed
WP + Flask + FastAPI
Licence Delivery Speed
Before (manual hours) After (instant, automated)
Subscription Event Coverage
Before (purchase only) After (full lifecycle)
The Process

Project Breakdown

Five parallel workstreams delivered as a single integrated platform — each layer built to connect cleanly with the others.

01
WordPress Marketing Site
Weeks 1–2
02
Flask Subscriber Portal
Weeks 2–3
03
FastAPI Licence Service
Weeks 2–3
04
LemonSqueezy Full Integration
Weeks 3–4
05
VPS Deployment & Hardening
Week 4
Tech Stack

Technologies
& Tools

A three-layer Python + WordPress architecture — Flask for the subscriber portal, FastAPI for high-performance licence validation, WordPress for the marketing site — all deployed on a single hardened VPS behind Nginx.

Flask (Python) FastAPI Python Scripts WordPress Bootstrap 5 JavaScript/AJAX LemonSqueezy Webhooks Subscription Billing MySQL SQLite Nginx Let's Encrypt Gunicorn VPS (Linux)
What I appreciated most was the server deployment. I've worked with developers before who hand over code and say 'good luck with hosting'. That didn't happen here. Everything was set up on the VPS, SSL sorted, the Flask and FastAPI services running properly in the background, backups configured. I didn't have to touch anything. Really solid work. If you're looking for someone who actually delivers and doesn't cut corners, I'd recommend without hesitation.
G
Godfrey
Client — TradingSmarter.online
SHIP

Need a SaaS platform or licence management system?

We build subscription platforms, licence delivery systems, and payment-integrated backends that run themselves. Book a free call to scope your project.

Free consultation No commitment required Response within 24 hours