ACT III · Build
E-Commerce Basics: Payment Gateways, Shipping, and Inventory Explained Simply
The three systems that actually make an online shop function — explained without the jargon.
"I want to sell products online" sounds like one request. Underneath it are three separate systems that all need to work correctly together: how you get paid, how the product gets to the customer, and how you know what's actually in stock. Here's each one, plainly.
Payment gateways
A payment gateway is the system that securely processes a customer's payment and moves the money to your account — it sits between your checkout page and the actual banking infrastructure. In Malaysia, this increasingly includes DuitNow QR alongside cards and online banking; Bank Negara Malaysia reported over 18.4 billion e-payment transactions in 2025, with DuitNow QR transactions alone doubling to 3 billion, supported by over 3 million registered merchant touchpoints nationwide. A modern Malaysian e-commerce site needs to support this shift, not just cards.
18.4B
e-payment transactions in Malaysia in 2025 (Bank Negara)
3B
DuitNow QR transactions alone, more than doubling year over year
Shipping
The logistics layer — how a physical product actually gets from you to the customer, and how that cost and timeline is calculated and shown at checkout. A properly built e-commerce site needs shipping rules that reflect reality: different rates for different zones or weights, realistic delivery estimates, and integration with whichever courier service you actually use, rather than a flat guess that doesn't match reality.
Inventory
The system tracking what you actually have in stock, so the site doesn't sell something you can't deliver. This sounds simple until a product sells out and the site keeps accepting orders for it — a genuinely common failure on poorly built e-commerce sites, and one that directly damages the trust this whole archive keeps returning to.
Where these three systems have to work together
- ■A sale only completes properly if payment, shipping calculation, and inventory deduction all happen correctly and in sync
- ■A failure in any one of the three — a payment that doesn't register, a shipping cost that's wrong, stock that isn't actually deducted — creates a real operational problem, not just a technical bug
- ■This is why e-commerce builds take meaningfully longer than a standard multi-page site — see our guide on realistic website timelines
Product variations (size, colour), discount codes, and customer accounts all layer on top of these three core systems — worth planning for from the start if you'll need them, since retrofitting them later is more disruptive than building them in from day one.
What to check before launching an online shop
Test the full path yourself — add a product to cart, complete checkout with a real (small) payment, confirm the order shows correctly and stock updates. If any part of that chain feels uncertain, it needs to be fixed before real customers find the gap for you.
Sources & further reading
Selling products online?
TFLYX Commerce builds include payment gateway, shipping and inventory — all working together properly.
More from ACT III · Build
What a Website Maintenance Plan Actually Covers (And Why "Set and Forget" Is a Myth)
A website isn't a purchase you complete once. Here's what actually needs ongoing attention, and why.
Building CounterMate: Designing Software for Retail Counters, Not Boardrooms
The second blade of the SME toolkit — still in development, and being designed for a very different user than most business software assumes.
What Happens After You Book a Website Package — A Behind-the-Scenes Walkthrough
No mystery, no black box. Here's the actual process from booking to launch.