Money · Independent · 21 Oct 2026

Cubitrek/bazaar-commerce

Open-source multi-vendor marketplace engine for cash-on-delivery markets. Double-entry settlement ledger keyed on courier remittance, anti-RTO order confirmation gate, and an encrypted digital code vault. Built on MedusaJS and Mercur.

← Money
Bazaar Commerce: COD marketplace. Marketplace engine for cash-on-delivery economies.

In simple English

Most shopping software assumes buyers pay online with a card. In countries like Pakistan, buyers pay cash when the courier arrives at the door. Up to two in every five parcels are returned without payment, which causes merchants to lose money. This open-source software is an online store engine built specifically for cash-on-delivery markets. It helps you track courier cash, verify orders before dispatch, and sell digital gift codes safely.

What it is

Bazaar Commerce is an open-source multi-vendor marketplace engine built on MedusaJS (a modular ecommerce framework) and Mercur (a multi-vendor extension) using TypeScript (a programming language that adds safety rules to JavaScript). It provides a double-entry accounting ledger keyed on courier cash delivery, an order confirmation gate to prevent returns, and an encrypted digital code vault.

What it is good for

Solo builders launching an online marketplace in emerging markets where cash on delivery is the primary payment method and standard western shopping software fails.

Stars0
LicenceApache-2.0
LatestNo tagged releasechecked 21 Oct 2026
Last code change2026-09-06
Written inTypeScript
Setup effort
4 / 5
Payoff
4 / 5
Good
  • Includes a double-entry accounting ledger that tracks courier cash remittances and tax withholding.
  • Features an order confirmation check over messaging apps to stop fake orders before you ship.
  • Secures digital game codes and gift cards inside an encrypted database vault using AES-256-GCM (an advanced method for scrambling data so nobody can read it without the secret key).
Watch for
  • Needs several external tools running at the same time, including Docker (a way to run a program inside its own sealed box, so it cannot break anything else on your server) and Bun (a fast JavaScript runtime environment).
  • Pre-production software with open issues, meaning you will need to fix bugs yourself.
  • SMS and WhatsApp messaging gateways are not contracted yet, so verification messages only print to your console during local testing.
Replaces

custom marketplace scripts or poorly adapted western ecommerce software

Works well with

MedusaJS

Similar repositories
  • medusajs/medusa37k stars

    The core modular ecommerce engine that Bazaar Commerce builds upon.

  • saleor/saleor23k stars

    Another open-source ecommerce platform, though designed primarily for card and digital payments rather than cash on delivery.

Also reviewed on Repo Radar
  • hledgerorg/hledger4.8k stars

    Double-entry accounting over plain text files, with command-line, terminal, web and editor interfaces.

  • akaunting/akaunting10k stars

    Self-hosted invoicing and expense tracking, with the double-entry accounting sold separately as an add-on.

  • ledger/ledger6.1k stars

    Double-entry accounting from a plain text file, run from the command line, with no database of any kind.

Install
git clone https://github.com/Cubitrek/bazaar-commerce.git
cd bazaar-commerce
bun install
docker compose up -d
cd packages/api
bunx medusa db:migrate
bun run seed:pk
bun run dev

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Commerce & Finance › Ecommerce & Storefronts › Marketplaces.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.