Commerce Core
Universal Product Model
ArchitectureOne CatalogueProduct model handles FOOD, RETAIL, AUTO, DIGITAL, SERVICE, and PHARMACY. No schema sprawl. JSONB metadata for vertical-specific fields.
Product Variants
ProductsJSONB variant engine — Size, Colour, Material, or any custom dimension. Per-variant stock, price adjustments, and SKU management.
Order Fulfilment State Machine
Operations11-state machine: PENDING_PAYMENT → PROCESSING → AWAITING_REVIEW → DISPATCHED → DELIVERED. Full audit trail on every transition.
Cart & Checkout
UXPersistent cart (Django-backed REST), CartDrawer, CheckoutForm. Works across all template types — restaurant, retail, mechanic.
Payments
Stripe Connect
StripeSplit payments between BSAPH and client merchants automatically. One gateway, hundreds of sub-merchants. Onboarding in minutes.
PayPal REST v2
PayPalFull PayPal checkout flow as an alternative to Stripe. Swap per-tenant via config — no code changes needed.
Fiserv Hosted Pages
EnterpriseFor pharmacy and regulated retail requiring PCI-Level-1 card processing via dedicated terminal integration.
Apple Pay & Google Pay
ExpressExpress checkout via Stripe Payment Request Button. One-tap purchase on every PDP — skips cart entirely.
Logistics
GoShippo Multi-Carrier
ShippingRate comparison across 40+ carriers (Royal Mail, Evri, DPD, UPS, FedEx). Auto-dispatch rules by weight, value, destination.
Return Labels
ReturnsReturnRequest model with auto-generated GoShippo return label. Customer self-service via order history page.
QR Table Ordering
FoodScan QR on restaurant table → pre-fills dine-in + table number. Kitchen display system receives order instantly.
Growth & Retention
Abandoned Cart Recovery
Email3-email automated sequence: 30min nudge, 24h with discount code, 72h final. Triggered by detect_abandoned_carts cron.
Promotions Engine
PromotionsFLASH_SALE, BUY_X_GET_Y, BUNDLE, FREE_GIFT, UPSELL_DISCOUNT. Discount codes with usage limits, minimum order, and expiry dates.
Affiliate System
AffiliateAffiliateLink → AffiliateClick → AffiliateCommission. Cookie-tracked (30-day TTL), auto-commission calculated at checkout.
Product Reviews
TrustVerified-purchase reviews with star ratings and moderation queue. Display on PDP with aggregated score.
Communications
Mailgun Transactional Email
EmailMulti-tenant email — send FROM your client's domain automatically. Cloudflare DNS auto-provisioned. EU region for GDPR.
Twilio SMS
SMSOrder confirmations, dispatch alerts, abandoned cart nudges, MOT reminders — all SMS automated via Twilio UK.
MOT & Tax Reminders
AutomotiveVehicleReminder model sends multi-channel alerts at 30/14/7/1 days before MOT, tax, insurance, or service due dates.
Platform & Infrastructure
White-Label Site Engine
HostingDomain-routed multi-tenant sites. nginx → Next.js site-engine → template. Custom domains provisioned via Cloudflare API.
Cloudflare R2 Media
MediaProduct images, logos, documents stored in R2 (S3-compatible). Presigned upload URLs via Django. CDN-served globally.
BSAPH Accounts SSO
AuthSingle identity across all BSAPH platforms. Google & Apple OAuth via centralised gateway. JWT auth, 2FA, account linking.
Pharmacy Consultation Flow
PharmacyChatbot-style questionnaire gates POM products. CONTINUE / REVIEW / REJECT outcomes. Pharmacist dashboard for review.
Ready to get started?
Book a demo and we'll show you the full platform in action.
Book a Demo →