r/webdev • u/artensonart98 • 5h ago
Question Most mature open-source eCommerce system with a ready starter template?
I'm looking for a battle-tested, open-source eCommerce backend that handles commerce and payment edge cases reliably, including successful, failed and pending payments, webhooks, reconciliation, background jobs, retries, order lifecycle, etc.
Ideally, I'd prefer a serverless architecture using Hono or a similar framework that can run on Cloudflare Workers or comparable platforms.
My preferences:
- Production maturity and payment reliability.
- Ready-to-use starter template.
- Lowest possible hosting and operational costs.
- Minimal infrastructure and maintenance overhead.
What would you recommend? I'd rather build on a proven system than reinvent critical commerce and payment logic.
9
Upvotes
11
u/EngYehiaMahmoud 5h ago
No mature OSS commerce backend runs natively on Workers today. The ones that actually handle payment edge cases all assume a long-running Node/Python/Ruby process plus Postgres, so the real choice is: accept a container host, or keep the commerce core off Workers.
Worth a look:
npx create-medusa-appgives you backend + starter storefront. It deploys as a normal Node service with Postgres and Redis, so Railway/Render/Fly stays cheap.@vendure/createscaffolds a project.On the payment lifecycle specifically: don't reimplement reconciliation. Make your PSP the source of truth. Idempotency keys on every charge, a webhook handler that verifies signatures and is itself idempotent, and stored webhook events that your order state machine derives from. Pending/failed/succeeded should come from those events, not from polling the API.
If Workers is non-negotiable, the pragmatic split is Stripe for payments, Hyperdrive plus Postgres for order tables, Queues for background jobs and retries, and a small Hono API on top. What you lose is the ready-made admin and fulfillment backend, and you end up writing order state transitions yourself, which is the part you said you don't want to reinvent. Honest take: run Medusa or Vendure on a container host and put Cloudflare in front for DNS and caching.
4
u/Copthill 5h ago
WooCommerce.
1
u/Greedy_Ad_7658 3h ago
Whatever platform you pick, the payment edge cases mostly come down to a few habits, so check that the system you choose does them (or add them yourself):
On the Workers side, the awkward part is usually DB connections and long jobs, which is why most of the mature options want a container. Splitting it works well: commerce core on a small container or VPS, storefront on the edge.
1
u/ArseniyDev 3h ago
For something production mature id look at woo first because it have more then 2 mil stores on production while medusa have much less adoption. Medusa you can technically put on worker maybe but you will have to deal with making pg working server-less.
1
u/Ahmed_Hisham0 3h ago
depends what "mature" means to you, but roughly in order of how safe i'd feel shipping one:
medusa is the one most people land on now. node, good docs, headless by default, and the admin is usable. it's not as deep as the old php ones but the ecosystem is active, which matters more.
saleor if you want python and a more opinionated graphql api. heavier, but it's the closest thing to a proper commerce platform in that stack.
vendure if you're on node and want to own more of it. plugin system is the nicest of the bunch.
sylius if you're a symfony shop already. spree or solidus if you're ruby.
and bagisto or magento if you genuinely need the full traditional feature set and don't mind the weight.
the honest caveat: "ready starter template" is where these all fall down. the starter gets you a storefront that looks finished and then you spend three weeks on tax, shipping rules and returns, which is the actual work in ecommerce. pick the one whose admin you can live in, because you'll be in it more than the code.
1
u/Haunting_Affection 3h ago
Vendure is underrated for this. TypeScript, very solid job queue, and the payment handling is clearly built by people who've been burned by edge cases before. Less hype than Medusa but feels more stable release to release.
1
u/SoundSpecific9751 2h ago
If you want battle-tested maturity, MedusaJS or Saleor are the best open-source picks
1
u/NoNewspaper1837 1h ago
WooComerce is the best
•
u/NadirDev 23m ago
if you are a WordPress user, then WooCommerce is best. And in this AI era, literally, whatever you need you can do with it.
•
u/thekwoka 13m ago
Basically none are good. Most are pretty objectively awful.
0
u/clearlight2025 5h ago
Drupal Commerce can all that, but you’ll need a container to host it.
0
u/[deleted] 4h ago
[deleted] — view deleted comment