E-Commerce Platform App Development

Build custom app solutions with Scrums.com's expert development team. With an NPS (Net Promoter Score) of 82, Scrums.com crafts cost-effective, custom applications that drive results.

Building an e-commerce platform (a system that enables other businesses to sell) is an order of magnitude more complex than building a single-brand storefront. Every feature must work for merchants with different product types, fulfilment models, tax jurisdictions, and compliance requirements, while the platform operator manages onboarding, revenue sharing, dispute resolution, and fraud at scale. Scrums.com builds dedicated engineering teams for marketplace operators, platform-as-a-service companies, and enterprises building headless commerce infrastructure for multiple brands or resellers.

Multi-Tenant Platform Architecture and Merchant Onboarding

Multi-tenancy in an e-commerce platform is not just a database question: it is an architectural decision that propagates through every layer of the system.

Row-level security (RLS) on a shared PostgreSQL schema covers most platform use cases: each merchant's data is isolated by a merchant_id column, a session variable is set to the authenticated merchant at connection time, and RLS policies enforce that all queries are automatically scoped. The CI test suite includes an RLS audit step that verifies no query can retrieve another merchant's data regardless of how the application code constructs it.

For enterprise-tier merchants with contractual data isolation requirements (common in regulated industries), a schema-per-tenant pattern provides stronger guarantees: each merchant's tables live in a separate PostgreSQL schema with no shared tables. PgBouncer pools connections across schemas so that provisioning a new merchant schema does not require a new connection pool.

Merchant onboarding automation is a first-class workflow: a Temporal-orchestrated onboarding sequence handles identity verification (KYC via a verification provider), bank account validation, contract signing (DocuSign/PandaDoc webhook), payment method setup, and catalogue import. Each step is retryable and produces an audit trail. Failed onboarding steps transition the merchant to a pending_remediation state with a support ticket created automatically; they never silently fail.

Marketplace Payments and Revenue Splitting

Marketplace payment architecture is fundamentally different from single-seller e-commerce because the platform operator collects funds and distributes them to multiple merchants, which creates money transmission obligations in most jurisdictions.

The cleanest architecture uses a payment platform with native marketplace support (Stripe Connect, Adyen Marketplaces): the buyer pays into the platform's escrow account, and a payout instruction splits the funds between the merchant (goods value minus commission) and the platform operator (commission) at capture or at configurable settlement intervals. This approach delegates money transmission licensing to the payment provider rather than the platform operator.

Commission structures are stored as configuration data: a commission_rules table with merchant_id, product_category, and rate fields, evaluated at order calculation time. A rule hierarchy (platform default, merchant override, category override) allows flexible pricing without code changes. Commission calculations are written to an immutable commission_events ledger alongside order events so that finance reconciliation is always traceable.

Refunds on a marketplace split require reversing both the merchant payout and the platform commission. The refund flow reads the original commission event, computes the reversal amounts, and issues the split reversal via the payment provider's API. Partial refunds are handled at the line-item level, with the commission reversal calculated against the refunded lines only. All refund events reference the original commission event by ID for audit traceability.

E-commerce platforms like these are built and delivered by dedicated engineering teams through our mobile app development service.

Headless Commerce APIs and Catalogue Governance

Headless commerce separates the storefront presentation layer from the commerce infrastructure, allowing the same platform to power web storefronts, mobile apps, voice interfaces, and in-store kiosks from a single API surface.

The API layer exposes a GraphQL interface for storefront queries (product browsing, search, cart operations) and a REST API for administrative operations (merchant management, order management, reporting). The GraphQL schema is designed to be additive: new fields can be added without breaking existing clients, and deprecated fields are kept alive for a migration period with a deprecation notice in the schema documentation.

Catalogue governance becomes critical at platform scale: a merchant who publishes a product with an incorrect category or a prohibited item creates moderation work and potential liability for the platform. A moderation layer intercepts new product listings and applies automated checks (prohibited keyword detection, price sanity checks, image content policy via a vision API) before publishing. Items that fail automated checks are routed to a human moderation queue. Approved items are indexed in the search layer within a configurable delay (1 to 5 minutes for standard catalogues).

The catalogue serves search through an Elasticsearch index maintained by a Kafka consumer that subscribes to product_created and product_updated events from the catalogue service. This event-driven design decouples catalogue writes from search index updates: a catalogue write returns immediately, and the search index update is eventually consistent (typically within 30 seconds). For time-sensitive operations (flash sale price changes, stock updates), a priority event channel allows near-real-time index updates without queue starvation.

Platform Fraud, Trust, and Seller Quality

Running a marketplace means managing fraud from two directions: fraudulent buyers (stolen payment methods, chargeback fraud) and fraudulent sellers (counterfeit goods, non-delivery).

Buyer fraud signals feed a scoring model that runs at checkout: order value, velocity (multiple orders in a short window from one device), delivery address mismatch, device fingerprint, and account age produce a risk score. Orders above the risk threshold are flagged for manual review or challenged with 3DS authentication. The scoring model is a rules-based engine initially (fast to deploy, interpretable) with ML gradient boosting replacing rule components as labelled fraud and legitimate data accumulates.

Seller fraud detection runs asynchronously. Signals include dispute rate above threshold, negative review velocity, tracking number patterns that do not match carrier APIs, and fulfilment SLA miss rate. A seller health score (0 to 100) is computed daily as a projection over these signals. Sellers below a threshold automatically enter a remediation review; sellers at critical risk levels have payouts held until the review completes.

Dispute resolution creates a structured evidence exchange: buyers and sellers upload evidence (screenshots, tracking information, photos) within a deadline window. The platform operator reviews the evidence and issues a decision that triggers the appropriate payment action (refund to buyer, release to seller, partial split). The decision is logged with the reviewer identity, evidence submitted, and decision rationale: required for payment provider dispute arbitration and regulatory audit.

Explore Scrums.com's dedicated teams for marketplace and e-commerce platform projects, or start a conversation today.

Frequently Asked Questions

How do you handle tax calculation for a marketplace with sellers in multiple jurisdictions?

Tax calculation is delegated to a tax compliance service (Avalara AvaTax, Vertex, or TaxJar) that accepts the buyer address, seller nexus, and product tax codes and returns the applicable rates. The product tax code is stored as a catalogue attribute: merchants classify their products and the platform audits against a prohibited list. The tax calculation result is stored on the order line as an immutable snapshot at the time of purchase, never recalculated retroactively. Sellers receive gross sales figures and the platform's tax reporting integrates with their finance systems via nightly export.

What is the architecture for handling platform-wide inventory across merchants who use different fulfilment systems?

Each merchant maintains their own inventory system of record; the platform does not attempt to unify merchant warehouse management. Merchants push real-time stock updates via webhook or polling API, and the platform maintains a platform_inventory_cache Redis layer per SKU. The cache drives storefront availability display. The hard inventory check at order creation queries the merchant's system directly with a timeout and fallback to the cached value if the merchant's system is slow. Merchant inventory SLAs are tracked against actual response times and displayed in the merchant dashboard.

How should a platform handle a merchant who disputes a chargeback decision that went against them?

The chargeback arbitration workflow creates a second-tier review request: the merchant submits additional evidence within a response window, which is added to the evidence record and re-opens the case for a senior reviewer. Unresolved disputes above a configurable amount are escalated to the payment provider's formal arbitration process, where the platform submits the complete evidence record on behalf of both parties. All decisions and evidence are retained for 24 months to satisfy payment network and regulatory audit requirements.

Want to Know if Scrums.com is a Good Fit for Your Business?

Get in touch and let us answer all your questions.

Book a Demo

Don't Just Take Our Word for It

Hear from some of our amazing customers who are building with Scrums.com Teams.

"Scrums.com has been a long-term partner of OneCart. You have a great understanding of our business, our culture and have helped us find some real tech rockstars. Our Scrums.com team members are high-impact, hard working, always available, and fun to have around. Thanks a million!"
CTO, OneCart
On-demand marketplace connecting users and top retailers
"The Scrums.com Team is always ready to take my call and assist me with my unique challenges. No problem is to big or small. Great partner, securing strong talent to support our teams."
CIO, Network
Leading digital payments provider
"Finding great developers through Scrums.com is easier than explaining to my mom what I do for a living. Over the past couple of years, their top-tier devs and QAs have plugged seamlessly into Payfast by Network, turbo-charging our sprints without a hitch."
Engineering Manager, PayFast by Network
A secure digital payment processor for online businesses
"Our project was incredibly successful thanks to the guidance and professionalism of the Scrums.com teams. We were supported throughout the robust and purpose-driven process, and clear channels for open communication were established. The Scrums.com team often pre-empted and identified solutions and enhancements to our project, going over and above to make it a success."
CX Expert, Volkswagen Financial Services
Handles insurance, fleet and leasing
"The Scrums.com teams are extremely professional and a pleasure to work with. Open communication channels and commitment to deliver against deadlines ensures successful delivery against requirements. Their willingness to go beyond what is required and technical expertise resulted in a world class product that we are extremely proud to take to market."
Product Manager, BankservAfrica
Africa's largest clearing house
“Scrums.com Team Subscriptions allow us to easily move between tiers and as our needs have evolved, it has been incredibly convenient to adjust the subscription to meet our demands. This flexibility has been a game-changer for our business. Over and above this, one of their key strengths is the amazing team members who have brought passion and creativity to our project, with enthusiasm and commitment. They have been a joy to work with and I look forward to the continued partnership.”
CEO & Co-Founder, Ikue
World's first CDP for telcos
“Since partnering with Scrums.com in 2022, our experience has been nothing short of transformative. From day one, Scrums.com hasn't just been a service provider; they've become an integral part of our team. Despite the physical distance, their presence feels as close and accessible as if they were located in the office next door. This sense of proximity is not just geographical but extends deeply into how they have seamlessly integrated with our company's culture and identity.”
SOS Team, Skole
Helping 60k kids learn, every day
"Scrums.com joined Shout-It-Now on our mission to empower young women in South Africa to reduce the rates of HIV, GBV and unwanted pregnancy. By developing iSHOUT!, an app exclusively for young women, and Chomi, a multilingual GBV chatbot, they have contributed to the critical task of getting information & support to those who need it most. Scrums.com continues to be our collaborative partner on the vital journey."
CX Expert, iShout
Empowering the youth of tomorrow
"Scrums.com has been Aesara Partner's tech provider for the past few years; and with the development support provided by the Scrums.com team, our various platforms have evolved. Throughout the developing journey, Scrums.com has been able to provide us with a team to match our needs for that point in time."
Founder, Aesara Partners
A global transformation practice

Find Related App Types

Payment Processing app

Industrial App

Billing App

Online Banking App

Subscription Management app

Lead Management App