RahaTech

RahaBay – Multi-Vendor E-Commerce Platform for Independent Stores

A scalable multi-vendor platform where each store operates independently with its own products, invoices, and settings, offering customers a seamless shopping and checkout experience.
RahaBay – Multi-Vendor E-Commerce Platform for Independent Stores

RahaBay – A Multi-Vendor, Multi-Store E-Commerce Infrastructure

RahaBay is a scalable multi-vendor, multi-store e-commerce platform that allows each merchant to operate an independent storefront with isolated configurations, products, invoices, and financial rules — all within a unified ecosystem. Built on Laravel 12 with an interactive web layer (jQuery + JavaScript) and React Native (Expo) mobile applications, the platform ensures a seamless shopping experience powered by a single-store checkout model that guarantees correct billing and accurate merchant payouts.

Unique Value Proposition (USP)

  • Full store isolation: independent taxes, shipping rules, invoice templates, currencies, and settings per store.
  • Single-store cart: eliminates cross-store mixing and simplifies accounting and invoice generation.
  • Modular scalability: add new payment gateways, shipping methods, or tax engines without affecting the core.
  • Streamlined user experience: a powerful merchant dashboard and a fast, intuitive customer storefront.

Core Modules

  • Storefront: product catalog, search & filtering, public store pages, cart, and checkout.
  • Merchant Dashboard: product & inventory management, orders, invoices, coupons, taxes, shipping, and financial settings.
  • Platform Admin: store licensing, commissions, advanced reporting, customer management, and dispute handling.
  • Catalog & Inventory: categories, attributes, variants, pricing, stock levels, return policies.
  • Checkout & Payments: taxes, shipping, discounts, coupons, and integrations with payment gateways.
  • Invoicing & Taxation: store-specific numbering, PDF templates, and tax snapshots at invoice time.
  • Shipping & Logistics: zones, rate tables, shipment tracking integrations (future phases).
  • Customers & Accounts: profiles, addresses, wishlist, orders & invoices history.
  • Notifications: email, push, and SMS triggered by order creation, payment success, shipping updates, and returns.

Business Rules

  • Single-store cart: if a customer adds an item from a different store, the system prompts to replace or clear the cart.
  • Pricing & tax freeze: all prices, taxes, and shipping fees are captured at checkout confirmation.
  • Store-specific numbering: each store maintains its own invoice and order sequence (e.g., INV-STORE123-2025-000045).
  • Flexible payouts: central aggregation then settlement, or direct marketplace payouts with commission rules.

Technical Architecture

  • Backend: Laravel 12 with Policies & Scopes (store_id), Events, Listeners, Queues, Jobs, API Resources.
  • Web UI: Blade with jQuery + JavaScript (optional gradual migration to Inertia/React).
  • Mobile Apps: React Native (Expo) for merchant and customer applications.
  • Database: MySQL/PostgreSQL with indexes on store_id, status, and created_at.
  • Caching & Queues: Redis for caching, queues, and payment webhooks.
  • PDF Engine: dompdf or wkhtmltopdf with RTL support.
  • Security: CSRF, XSS protection, rate limiting, and fine-grained permissions (Gates/Policies).

Core Entities (Models)

  • Store, StoreSetting
  • Product, ProductVariant, ProductImage, Category, Attribute
  • Customer, CustomerAddress
  • Cart, CartItem (store-bound)
  • Order, OrderItem (finalized cart snapshot)
  • Invoice, Payment, Payout
  • Coupon, DiscountRule, TaxClass, ShippingMethod, Shipment
  • Review, Wishlist, Notification

User Flows

  • Merchant: create store → configure taxes/shipping/payments → add catalog → receive orders → issue invoices.
  • Customer: browse storefront → single-store cart → checkout → payment → notifications & tracking.
  • Platform Admin: manage stores, commissions, performance, and customer complaints.

Storefront Experience

  • Browsing, search, and filtering by category, price, and attributes.
  • Persistent cart with clear store identity.
  • Warnings when mixing products from different stores.
  • Fast checkout with clear taxes, shipping, and discount visibility.
  • Order history and downloadable invoices (PDF).

Merchant Dashboard Features

  • Product and inventory management.
  • Orders, invoices, payments, and settlements.
  • Advanced tax, shipping, and invoice prefix configuration.
  • Coupons, promotions, and campaigns.
  • Sales, inventory, and customer behavior reports.

Mobile Applications (React Native – Expo)

  • RahaBay Customer: browse stores, view catalogs, manage cart, checkout, track shipments, manage account and addresses.

Roadmap (MVP → Expansion)

  • MVP: stores, catalog, single-store cart, checkout, payments, PDF invoices, dashboards, multilingual support.
  • Later: multi-currency, additional gateways, shipping integrations, advanced coupons, analytics, accounting integrations, loyalty programs.

Compliance & Security

  • GDPR compliance (export/delete customer data).
  • Audit logs for sensitive actions.
  • Signed and validated payment webhooks.
  • Rate limits and application firewalls.

Summary

RahaBay delivers a clear and scalable multi-store commerce system with isolated store logic, a single-store checkout engine, and a seamless experience for both merchants and customers. With a modern technical foundation and a modular architecture, the platform is built for long-term growth across web and mobile environments.