Abdullah
← All work

Case study · Marketplace platform

Commonplace

Commonplace is a marketplace where people sell big used items, such as hot tubs, saunas and fitness equipment, and the platform handles inspection, pickup and delivery. I built the original marketplace on WordPress and WooCommerce from scratch: the architecture, the backend, the payment logic and the marketplace mechanics, including the offer system, deposits and paid listing promotion. It grew into a platform with 48 custom plugins, 23 of them carrying my name as author, and I stayed on as its engineer when it moved to a new stack.

Commonplace project preview
Role
Original developer, then long-term engineer
Period
2024 to now
Platform
WordPress and WooCommerce, then a new web platform
Type
Peer-to-peer marketplace for big used goods
48custom plugins running in production
11,000+listings on the platform by mid-2026
$5,888earned by the listing-promotion feature I built, January to August 2026
128paid promotions in that time, from a feature that still earns today

The live site

What it looks like today.

trycommonplace.com
Commonplace home page with seller videos, categories and listings near you
Home: seller-filmed videos, categories, and inspected listings near you.
trycommonplace.com/product/...
A Commonplace listing page with delivery quote, $1 reserve, financing and Make an offer
A listing: delivery quoted by ZIP, a $1 reserve, financing, and Make an offer.
trycommonplace.com/sell
The Commonplace sell flow with AI listing help and a live preview
The sell flow: name the item and the listing writes itself.
trycommonplace.com/product-category/...
A Commonplace category page with filters by price, seats, power and brand
A category page with filters by price, seats, power and brand.
A Commonplace listing on a phone
A listing on a phone.
The Commonplace home page on a phone
The home page on a phone.

These are live pages from trycommonplace.com. The site has since moved to a newer platform, and many of the rules you can see here, such as offers, the $1 reserve, delivery priced into the item and seller confirmation, started as systems I built on WordPress.

How a sale works

Every step of a sale runs on something I built.

A standard store cannot sell a one-of-a-kind hot tub: it needs negotiated prices, deposits, delivery priced by distance, and a seller who confirms before anyone is charged. These are the real systems, in the order a sale uses them.

  1. A seller lists an item

    The listing writes itself, gets the right category, and the fees follow from it.

    • AI writes and prices the listing

      Grok AI writes the title and description and picks the category, and the category sets the pickup and transaction fee. The full detail is under AI integrations below.

      Grok AIFee ladders
    • Sell landing pages

      An AI tool builds an SEO landing page for every category, so people searching to sell an item land on the right page.

      SEOAI
    • Photo privacy

      Strips GPS, camera and copyright data from every photo that is uploaded.

      EXIFPrivacy
  2. A buyer finds it and sees a price

    Search and browsing by distance, with delivery priced into the item.

    • Location filter and search

      Filter by distance from the visitor, and real-time search that respects the same location.

      GeoAJAX
    • Distance-based delivery

      Delivery priced per cart by distance, with free delivery inside a set radius. Delivery is built into each item's price, so the buyer sees one all-in number.

      ShippingA/B tested
    • Buy Box Pro

      Picks the best listing for each category page by price, recency, condition and distance, and writes the page's own SEO and schema markup. About 13,000 lines, built with a teammate.

      ElementorSchema
    • One item, one sale

      Sold Once Manager makes sure a one-of-a-kind item can only be sold once: stock drops to zero the moment an order is active. A price history is kept for every listing.

      StockWooCommerce
  3. They make an offer

    Buyers negotiate, and the seller answers from a text or an email with no login.

    • Offer system

      A buyer's offer goes to the seller as a tokenised email or SMS link. Accepting rewrites the item's price and sends the buyer a checkout link. It had handled nearly 2,000 offers by April 2026.

      OffersSMSEmail
    • Floor prices and counters

      Hidden seller floor prices drive suggested offers, and sellers can counter. I aligned both with the delivery-in-price model, so every number matches what the buyer and the seller each see.

      PricingCounter-offers
    • Safe discounts

      Exit-intent and abandoned-cart offers that can never take a price below the seller's floor.

      CouponsFloor price
  4. They pay

    Deposits, self-pickup holds and different rules for expensive items.

    • Deposits and partial payments

      Pay a deposit now, such as the $1 reserve, and the balance is charged to the saved card when the order completes, with daily retries. Coupons subtract correctly from the deposit and the balance.

      StripeOff-session
    • Self-pickup with a security hold

      The buyer authorises the full amount plus a 5% hold. The seller enters a 6-digit pickup code, only the real amount is captured and the hold is released. A no-show captures only the hold, and a seller cancel voids everything. About 4,000 lines, built with a teammate.

      StripePickup codes
    • Rules for big tickets

      Orders over $8,000 use ACH or a card deposit with the rest by wire, and the remaining balance is never charged automatically.

      ACHWire
  5. The seller confirms before anyone is charged

    A card is only charged once every seller says the item is still there.

    • Delayed payment capture

      Each order waits in a custom status. Every seller confirms by link or by replying to a text. Only then is the card charged. If a seller says no, the order cancels and the buyer is shown similar listings. I extended it from version 2.3 to 2.8.

      StripePayPalOrder status
    • Two-way SMS platform

      One messaging layer over two providers. Sellers can simply reply AVAILABLE or UNAVAILABLE. 21,096 messages have been sent, 96.3% delivered.

      OpenPhoneTwilioWebhooks
    • Reminders that never cancel

      Sellers who do not answer get reminders every 12 hours for up to 72 hours across text and email. Then it stops and tells an admin. It never cancels on its own.

      WP-CronEscalation
  6. The seller is paid, and the platform grows

    Payout emails, referrals and paid promotion.

    • Payout breakdown

      A friendly "Your listing has sold" message with the seller's net payout, after fees and any discount.

      EmailSMS
    • Referrals

      A two-way referral system of about 5,000 lines: a friend gets a coupon and the referrer earns a coupon or cash, and a referred seller gets a pickup-fee discount. Bonus tiers stack on top.

      GrowthCoupons
    • Paid listing promotion

      Sellers pay to promote a listing, priced as a share of its value with an A/B-tested rate. It is a real revenue line and still earns income today.

      RevenueA/B testing

AI integrations

AI, built into the marketplace.

AI does real work on Commonplace: it writes listings, prices categories, builds landing pages, and lets AI shopping tools find what is for sale.

  • AI listing writer

    Grok AI writes each listing's title and description in the background, with automatic retries, so the sell form never waits. It has written well over 2,000 listings, and the first version dates to December 2024.

    Grok AIWP-Cron
  • AI categories and fees

    The AI picks a listing's category, and the category sets the pickup and transaction fee. It set pickup fees for 381 of the 400 categories, with a curated override table that always wins.

    AIFee ladders
  • AI sell landing pages

    An AI tool that generates an SEO landing page for every category and every ancestor above it, with an admin to swap pages and 301-redirect the old ones.

    SEOAIYoast
  • A feed for AI shopping agents

    A product feed built on the Agentic Commerce Protocol, so AI shopping tools can find and cite Commonplace listings.

    ACPFeeds
  • ChatGPT connector

    Shoppers can search the catalog from inside ChatGPT, with no account needed for browsing. It was approved and published by OpenAI.

    ChatGPTMCP
  • Read-only Stripe access for the client

    A read-only connection that lets the client's AI tools answer questions about payments without being able to change anything.

    StripeMCPRead-only

Hard problems

Five problems worth telling.

  1. A media account days from being shut off

    About 32 GB moved. $249 a month became under $1, and the old account was cancelled with nothing broken.

    The problem
    The media account shared by the new platform, the old WordPress site and a driver app hit 127% of its monthly limit and was scheduled for deactivation in seven days. Storage was only a small slice of a $249 a month bill, so deleting files could not fix it.
    What I did
    I cleared 4,161 confirmed-dead files (18.8 GB) to buy time, then built the real fix: a database-wide scan that finds every media link in every table and column, copies each file once to Cloudflare R2, and rewrites the references. I ran it for the marketplace and for the driver platform, where it moved 5,495 files and rewrote 6,374 rows, and then fixed a browser permission problem that had broken seller video uploads.
  2. A checkout that could be paid for with $1

    Caught in an audit, before it saw exploit traffic.

    The problem
    In the new platform's checkout, a pay-in-full order could be marked fully paid while only about $1 was ever captured. It was a live money-loss flaw, not a theoretical one.
    What I did
    I found it in a security audit I ran myself, confirmed it in the code, wrote the exact fix, and reported it straight away.
  3. The text-message provider switched off our account

    Messaging now runs on two providers, so no single one can switch it off.

    The problem
    One night in May 2026, the provider that sent the marketplace's login codes disabled the account, citing suspicious activity. Phone login, the sell form and offers all depended on it.
    What I did
    That same evening I added a second provider, Twilio, alongside the first, so the platform can switch between them or keep one as a backup. I added opt-in consent to the login, listing and offer forms, and helped write the reply to the provider showing double opt-in verification.
  4. Email scanners were cancelling orders

    Machine clicks can no longer cancel an order.

    The problem
    A seller's Yes or No link worked on a plain click. Email security scanners open every link in a message, so they were pressing No for sellers. About five of seven unavailable cancellations in one month happened within a couple of minutes of the email, before any person could have read it.
    What I did
    I changed it so the link only opens a page, and the answer is sent by a deliberate button press that needs a security token. Prefetchers and scanners can no longer answer for a seller.
  5. Ads were counting sales that never happened

    Only real sales reach the ad platforms, with the right value and timing.

    The problem
    Orders wait for the seller to confirm, but the purchase event fired at checkout. About a quarter of the purchases sent to Google and Meta were for orders that were later cancelled, and many real sales were confirmed hours after the buyer had left. Earlier, deposit orders had even reported a value of $1, so bidding was optimising for $1 conversions.
    What I did
    I rejected a browser-side fix, which would have swapped false sales for missed ones. I built a server-side conversion import that reports a sale only when the order is really confirmed, keyed on the click IDs saved at checkout, and sends it to Google Ads and Meta. I fixed the $1 values first.

Two years, three phases

Built it. Grew it. Stayed on.

  1. 2024

    Built it from scratch

    The first marketplace on WordPress and WooCommerce: the architecture, the backend, the payment logic and the marketplace mechanics for listings, offers and seller tools, before other developers joined the team.

  2. 2025 to 2026

    Grew and hardened it

    Referrals, paid promotion, deposits, self-pickup, warehouse storage, a text-message platform, and a fee manager with per-category overrides. Alongside it: a full security and performance audit of the WordPress code, including over 150 custom snippets, speed work on category pages and search, fixes for crashes, a clean-up of the category tree, hiding about 2,700 placeholder products from Google, and cleaning up the shopping feed after about 2,000 disapprovals.

  3. 2026

    Stayed on through the move

    When the platform moved to a new stack, I stayed on as engineer. I restored ad tracking for new listings that had silently stopped, separated the team's own phone orders from customer orders, recovered Google click IDs so more sales are credited, and set up a daily Google Ads report in Slack. I fixed Apple Pay and Google Pay when a stale domain setting broke them site-wide, moved the media library to R2, and built a ChatGPT connector, approved and published by OpenAI.