๐Ÿ› Software ยท LARZ-401 · Session 8 of 8

Trust, Safety & Disputes

A marketplace lives or dies on trust. Handle reviews, bad actors and disputes well and both sides keep coming back; handle them badly and the whole thing unravels.

⏱ 10 min read📅 Updated 2026-07-25📊 Code examples throughout

Two-sided marketplaces have a problem simple shops don't: strangers transacting with strangers. The platform's real job is manufacturing enough trust that they'll do it. That means honest reviews, fast handling of bad actors, and a fair, clear dispute process - the invisible infrastructure that keeps a marketplace alive.

Reviews and reputation

Reviews are your trust engine - protect their integrity. Only let buyers who actually transacted review, show seller reputation prominently, and make identity verifiable.

from larzid import Identity          # self-certifying, verifiable seller identity
# gate reviews behind a real, completed order:
if order.status == 'completed' and order.buyer == req.subject:
    allow_review()

Disputes and payouts

Hold funds in escrow, release on delivery, and have a clear dispute path. Model every movement as balanced double-entry so the money is always accounted for - even mid-dispute.

from larz.contrib import ledger; ledger.enable(app)
app.record_sale('Order 42 (held in escrow)', '100.00')
# on dispute resolution, release or refund - the books always balance
app.record_refund('Order 42 refunded', '100.00')

Takeaways

  • A marketplace's core product is trust between strangers - invest in it deliberately.
  • Protect review integrity (only real buyers), surface reputation, and verify identity (larzid).
  • Escrow + a clear dispute process + double-entry books keep money accountable through conflict.

More in this course

Course home → · Browse all courses →