---
title: "GlazeFlow case study"
url: "https://hamzaamalik.com/work/glazeflow"
author: "Hamza Ahmad"
updated: "2026-10-12"
---

# GlazeFlow

Ordering app with trade pricing and payments. An ordering platform for a UK sealed-unit glass manufacturer: configure a unit, see your trade price, pay online.

- Role: Architect and Lead Developer
- When: Jun to Sep 2026
- Platforms: iOS, Android, Web
- Status: Backend and staff admin in production. Mobile apps are store-ready.
- Involvement: Built for a UK sealed-unit glass manufacturer, since packaged as GlazeFlow, a white-label build for glass firms.

Customers configure a made-to-measure sealed glass unit to the millimetre, get flagged when building regulations require toughened glass, see their own trade price and pay online. Staff run orders from a Next.js admin panel.

Prices for Retail, Trade and Trade Plus customers are computed on the server from multipliers the staff can edit, so the app never decides what anything costs. Only the payment webhook can mark an order paid.

## What I built

- Flutter app for iOS, Android and the web (PWA), with guest checkout on web
- 28 TypeScript Cloud Functions, including server-side pricing across three tiers
- Hosted Square checkout behind a provider-agnostic payment layer, with an idempotent webhook
- A 50-mile delivery check using server-side geocoding
- Order lifecycle with push notifications and order emails
- A Next.js staff admin on Cloud Run, and 285 automated tests

## Key facts

- Payment integrations via Square
- 28 Cloud Functions
- 3 price tiers

## Stack

Flutter, Riverpod, Firebase, TypeScript, Cloud Functions, Next.js, Square, Google Geocoding, FCM, Resend

Case study by Hamza Ahmad, senior Flutter developer. Contact: hamza@kmavericks.com
