Overview
Hanzo Commerce - Full-stack e-commerce platform with AI-powered recommendations
Hanzo Commerce is a complete e-commerce backend built in Go, providing order management, payment processing, product catalogs, and AI-powered recommendations out of the box.
Features
Order Management
Complete order lifecycle management with status tracking, fulfillment, and returns
Payment Processing
Multi-provider payment support including Stripe, PayPal, and cryptocurrency
Product Catalog
Flexible product management with variants, collections, and inventory tracking
User Accounts
OAuth2-based authentication via Hanzo ID with secure access tokens
Shopping Cart
Persistent carts with coupon support, discounts, and tax calculation
Analytics
ClickHouse-powered analytics with real-time dashboards and reporting
Architecture
Hanzo Commerce follows a modular architecture:
commerce/
├── api/ # HTTP handlers and routes
│ ├── order/ # Order management endpoints
│ ├── cart/ # Shopping cart endpoints
│ ├── auth/ # Authentication endpoints
│ └── transaction/ # Payment transaction endpoints
├── models/ # Data models and business logic
│ ├── order/ # Order model with status management
│ ├── product/ # Product catalog models
│ ├── user/ # User and account models
│ └── payment/ # Payment processing models
├── datastore/ # Database abstraction layer
├── middleware/ # HTTP middleware (auth, logging, etc.)
└── config/ # Environment-specific configurationTech Stack
- Language: Go 1.21+
- Database: Google Cloud Datastore / PostgreSQL
- Analytics: ClickHouse / BigQuery
- Authentication: OAuth2 via Hanzo ID
- Payments: Stripe, PayPal, Authorize.net, Crypto
Learn More
Quick Start
Architecture
Commerce Modules
Storefront Development
Admin Dashboard
SDK Overview
Guides
API Reference
Recipes
Deployment
In this section
Billing
Usage, credits, invoices, and payment methods for Hanzo Cloud -- usage-based metering, cloud credits, and…
Marketplace
Browse and deploy AI models and providers — real pricing and live availability.
Feature Flags
Native feature flags, percentage rollouts, and A/B experiments — a stateless Rust evaluator embedded in Hanzo…
Analytics SDKs
@hanzo/analytics, @hanzo/insights, @hanzo/event, and @hanzo/flags — which JavaScript package to use, and the…
Referrals & Affiliates
Refer developers to Hanzo Cloud and earn -- both sides get credits, and affiliates earn ongoing commission on…
How is this guide?