Built on Y Build Go from prompt to a deployed app on your own domain — no server. Start free
BuildShipCompareThe LabAbout Start building →
ybuild / Scenarios

Build an Online Store with WhatsApp Checkout

In many markets the real storefront is a WhatsApp thread: shoppers discover a product, then finish the sale in chat over a mix of bank transfer, payment link and cash on delivery. That works until volume grows — screenshots pile up, stock is guessed, and there is no record of who ordered what. This scenario builds the missing layer: a hosted catalog on your own domain that hands checkout to WhatsApp while quietly keeping a real order and inventory database behind it.

The problem

What you’d build

Catalog storefront on your own domain

A fast, mobile-first product catalog with categories, variants, prices and live stock — served on your own domain, not a marketplace listing or a WhatsApp catalog card.

WhatsApp checkout handoff

A 'Checkout on WhatsApp' button that opens the shopper's WhatsApp to your business number with a pre-filled order summary and reference number, while the pending order is saved to your admin so it exists even if they never hit send.

Order and fulfilment console

An admin to confirm orders, mark them paid, decrement stock, advance status, send order-status messages and track opt-in — the operational spine that WhatsApp on its own never gives you.

The data model

products
id, name, sku, category, price, currency, stock_qty, variant_options, image_url, is_active, whatsapp_eligible
customers
id, name, whatsapp_number (E.164), city, delivery_address, opt_in_status, opt_in_source, opt_in_at, last_order_at
orders
id, order_number, customer_id, status, subtotal, delivery_fee, total, payment_method, paid, service_window_opened_at, created_at
order_items
id, order_id, product_id, variant, qty, unit_price, line_total
whatsapp_messages
id, customer_id, order_id, direction, template_name, category, status, sent_at

A day in the system

  1. Morning open: a staffer logs into the admin on your domain and finds every order that came in overnight through WhatsApp checkout, each already parsed into an order with line items, a customer number and a status of awaiting confirmation.
  2. A shopper lands on the storefront from an Instagram link, filters by category, opens a product with variants and price, and adds two items to the cart.
  3. At checkout they tap Checkout on WhatsApp; the store opens their WhatsApp to your business number with a pre-filled summary and an order reference, and saves the pending order so it exists even if they never send the message.
  4. The customer sends the message, which opens a 24-hour service window; the staffer replies for free to confirm stock, quote the delivery fee, and share payment options — bank transfer, a payment link, or cash on delivery.
  5. Once the transfer lands or COD is agreed, the staffer marks the order paid; only now does stock decrement, so nothing is oversold while confirmations sit half-finished in the thread.
  6. On dispatch the order moves to out for delivery, which sends an order-update utility message with the courier and ETA — a category that is allowed and cheap because it is tied to the customer's own order.
  7. Carts that reached WhatsApp but were never confirmed surface in an abandoned list; opted-in numbers get one follow-up nudge, using an approved template if the free window has already closed.
  8. At close, the dashboard shows orders by status, today's revenue, low-stock items to reorder, and a growing opt-in list you can later use for genuine broadcasts.

Where AI trips up

✓ Build first
  • Storefront with cart and a Checkout on WhatsApp deep link that pre-fills the order and saves a matching pending order in the admin.
  • Order admin: confirm, mark paid, advance status, decrement stock only on paid, plus a low-stock view to reorder from.
  • Customer records with E.164 numbers, opt-in capture (source and timestamp), and one order-status utility message on dispatch.
— Skip for now
  • Automated marketing broadcasts and segmented flows — add them later, once you have a healthy opted-in list.
  • In-chat or native WhatsApp Pay collection — keep payment manual via transfer, link or COD in v1.
  • A multi-agent shared inbox, chatbot auto-replies and multi-language template sets.

FAQ

Do customers actually pay inside WhatsApp?

In v1, no. The store hands off a pre-filled order to your WhatsApp number and you confirm payment — bank transfer, a payment link, or cash on delivery — in the chat. The difference is that the order, its line items, the amount and the status all live in your admin on your domain, so nothing is lost in the thread.

Can I message customers again after they leave without replying?

Only if they opted in to WhatsApp, and outside the 24-hour service window you must use a Meta-approved template in the correct category. The system stores the opt-in and the window timing so you do not accidentally break policy or get your number's quality rating cut.

Why not just use WhatsApp's built-in catalog?

The native catalog has no real inventory, no order records, no stock decrement and no reporting. This gives you a proper storefront on your own domain plus an order and customer database behind it; WhatsApp stays as the checkout and confirmation channel, which is what it is genuinely good at.

What stops two people from buying the last item?

Stock is not reduced at the WhatsApp handoff. It decrements only when you mark an order paid, so asynchronous chat confirmations cannot oversell, and the storefront shows availability you can actually honour.

Can I sell anything through the WhatsApp checkout?

No. Meta's commerce policy prohibits categories such as alcohol, tobacco, drugs, supplements and downloadable digital goods, and selling them puts your whole WhatsApp account at risk. The build lets you flag restricted products and keep them off the WhatsApp handoff while still listing compliant items.

Sources

Build this for your business

Describe it, go live on your own domain in one pass — hosted, full-stack, no server. Free to start.

Start building free →
Related on ybuild
retail & local shopsSMB back-office Managed DatabaseCustom Domain HostingPayments & Billing Full-Stack AppCRUD AppDatabase Schema
Related scenarios
Build an Appointment App for Your SpaBuild a Booking App for a Dental ClinicBuild a Booking App for Your SalonBooking App for Tutors: Recurring Lessons, Prepaid Hours & No-Show ControlBookkeeping App for Small BusinessCRM for Law Firms
Build your own app
Free · no card
Start free →