Seasonal WhatsApp Commerce Platform

Minim4You WhatsApp Commerce

A WhatsApp shopping bot, operator console and broadcast engine for a Four Species retailer, in production every season from Rosh Hashanah to Sukkot. Customers browse, fill a cart and pay entirely inside WhatsApp, on the official Meta Business API, against the store's Wix catalogue.

Project Overview

Minim4You sells the Four Species for Sukkot. It is a business that does almost all of its year in a few weeks, and its customers would rather send a WhatsApp message than open a website. This system lets them shop without leaving the chat. It runs in production for the season, from Rosh Hashanah to Sukkot, and is shut down for the rest of the year. It is a Spring Boot service on Heroku that sits between the official Meta WhatsApp Business API and the store's Wix catalogue, carts, orders and CRM.

The bot is a full storefront in a chat thread. A customer moves through onboarding, categories, products, variant options, quantity, cart editing and checkout using WhatsApp's own interactive lists, buttons and product cards. The cart is a real Wix eCommerce cart, so stock, pricing and discounts come from the store and are never copied. Payment happens on a signed, expiring checkout link. Each tap on it mints a fresh Wix redirect session, because a Wix session URL only opens once and link-preview crawlers would otherwise use it up before a person ever taps. When Wix reports that an order was approved or shipped, a signed webhook turns that into an approved WhatsApp template message to the customer.

Most of the engineering is about what goes wrong. Meta delivers each message as its own webhook, retries freely and sends the same one more than once. Messages are therefore deduplicated by WhatsApp message ID, both in memory and against the database, and handled one sender at a time under a per-sender lock. Two quick taps can't race each other through the conversation state, and a retry can't get a second answer. Both webhooks are cryptographically verified: an HMAC-SHA256 signature from Meta and an RSA-signed JWT from Wix. Bot sessions live in PostgreSQL rather than in memory, so a dyno restart in the middle of an order continues from a known state.

Next to the bot sits a real-time operator console for the people who answer customers: a self-contained, mobile-first page with no build step, protected by authentication. Operators get a live queue with search and a "waiting for a reply" view, their own colour-coded tags, and real sent, delivered and read receipts taken from Meta's status webhooks. They also see a countdown of WhatsApp's 24-hour customer-service window, and once it closes, a one-click approved template to reopen it. When an operator replies, the bot pauses automatically for that conversation, so a customer never gets a human answer and an automated one at the same moment. The pause always expires, so a conversation nobody hands back returns to the bot on its own. The console can also pull the customer's Wix orders on demand. It asks Wix only when an operator requests it, never just because a thread was opened.

The third part is a broadcast engine for the season's marketing. It builds audiences from bot sessions, Wix orders, Wix contact labels or a pasted list, and shows exactly how many people each exclusion removed. Anyone who asked to unsubscribe is always excluded, with no override, and if the opt-out list can't be read, the campaign isn't created at all. Campaigns are paced under Meta's rate limits and can be paused, resumed and retried. Afterwards, everyone a campaign actually reached can be tagged back into the Wix CRM. That step is idempotent, and it matches phone numbers in all the formats Wix stores them in, so it never creates a duplicate contact.

The codebase is roughly 20k lines of Java plus 12k lines of tests, with hundreds of automated tests. The tests go beyond the Java: they also check that every URL the dashboards call is a route the server actually maps, so a broken endpoint fails the build instead of reaching an operator.

Architecture & Engineering

  • Java 17 / Spring Boot 3 service on Heroku, with Heroku Postgres (Spring Data JPA)
  • Meta WhatsApp Cloud API: interactive lists, buttons, product and CTA messages, approved templates and delivery-status webhooks
  • Wix REST, eCommerce and CRM APIs for the catalogue, carts, checkout, orders, contacts and labels, plus signed Wix webhooks
  • Webhook security: HMAC-SHA256 (Meta) and RS256 JWT (Wix) verification, with HMAC-signed, expiring checkout tokens
  • Concurrency: per-sender locking, deduplication by message ID, and a token-bucket rate limiter for Wix calls
  • Operator and campaign consoles as dependency-free, single-file HTML/JS pages served by the service

Key Features & Highlights

  • End-to-end ordering inside WhatsApp, from browsing and variants to the cart and a secure payment link
  • Automatic order-status notifications to customers from Wix order webhooks
  • Live operator inbox with delivery receipts, tags, search and a 24-hour-window countdown
  • Automatic human handover that pauses the bot while an operator is on the thread
  • Template broadcast campaigns with audience building, opt-out enforcement, pacing and retry
  • Tagging of campaign recipients back into the Wix CRM, without duplicate contacts

Technology Stack

  • Spring Boot
  • PostgreSQL
  • WhatsApp Cloud API
  • Wix APIs
  • Heroku

Screenshots & Visual Artifacts

Operator console: live conversation queue
Bot ordering flow with interactive buttons and lists
Operator reply with the bot paused automatically
Customer orders pulled live from Wix
Broadcast campaigns
Campaign progress and delivery receipts
New campaign: approved template and preview
Operator console in dark mode

Project Repository & Delivery

This repository is private due to client confidentiality, enterprise credentials, or proprietary intellectual property.

Private Repository
Open to Opportunities

Let's Build Something Exceptional

Have a project in mind, an opportunity to discuss, or looking for a specialized Android engineer / fullstack developer? Let's connect.

Jacobel640@gmail.com

© 2026 Jacob Elcharar. All rights reserved.

Crafted with using React, Tailwind CSS, Material Web & Framer Motion