Shopify, WooCommerce, headless or custom?
The answer depends on your products and your team.
| Option | Best for | Watch out for |
|---|---|---|
| Shopify | Standard products, small teams, fast launch | Transaction and app costs; checkout customisation limits |
| WooCommerce | Teams already on WordPress who want ownership | Plugin sprawl, hosting and security upkeep |
| Headless (commerce API + custom storefront) | Brands needing full design control on a proven engine | Two systems to run; more engineering |
| Fully custom | Unusual product logic, regional payments, stores inside a larger app | You own everything, including maintenance |
I’ve built the custom and headless end of this spectrum. If a hosted platform fits, I’ll say so.
Checkout and payment rules
- The server computes the price. Totals, discounts and shipping are recalculated server-side from product IDs, never accepted from the client.
- Only a verified webhook marks an order paid. A redirect back from the payment page doesn’t prove the customer paid. Orders change state only after a verified webhook, confirmed against the provider’s API where possible.
- Webhook handlers are idempotent. Providers retry webhooks, so receiving the same event twice must not double-fulfil an order.
- A scheduled job reconciles missed payments. A scheduled job finds paid-but-unfulfilled orders and completes them, so a missed event doesn’t become a support ticket.
Evidence
On the Ekonavi marketplace I worked on the commerce API (cart, checkout, Mercado Pago payments, order lifecycle, shipping) and the seller dashboard. Separately, I built a digital-products store end to end: Hono on Cloudflare Workers, Razorpay with signed webhooks feeding a queue, Postgres via Drizzle and Neon, private files in R2, expiring download links and a six-hourly fulfilment sweep.