Skip to content
NERDS IV
All work

E-Commerce & Retail

PagezTech: An E-Commerce Platform Built to Verify Every Payment

A Ghanaian retail platform selling phones, laptops, data bundles, and WAEC vouchers, with every payment verified server-side before anything ships.

01 / Overview

PagezTech Ventures is a Ghanaian technology retailer selling phones, laptops, and accessories, plus data bundles and a WAEC/WASSCE results checker, with an affiliate/referral program on top. Nerds IV built and continues to operate the platform it runs on.

02 / The challenge

Retail e-commerce in Ghana has to handle three very different fulfillment paths — physical goods needing delivery, instant digital data bundles, and WAEC voucher codes — without trusting the client to confirm its own payment, which is a common fraud vector. Layering an affiliate program with real commission payouts on top raised the stakes on getting payment verification and access control right.

03 / What we built

  1. 01Every order, data bundle purchase, and WAEC voucher purchase is verified server-side via Supabase Edge Functions before the order is created or anything is delivered, rather than trusting a client-side payment confirmation
  2. 02Row Level Security policies enforced at the database layer on products, orders, affiliates, and cart data, not just in application code
  3. 03An affiliate program with commission tracking and withdrawal requests, with payouts automated via Paystack Transfers
  4. 04Secrets — the Paystack secret key, Resend API key, Supabase service role — live only in server-side Edge Function secrets and never reach the client bundle
  5. 05Automated email alerts to admins on new orders, purchases, and withdrawal requests, and to customers on order status changes and affiliate application outcomes
  6. 06Restock notification emails for customers waiting on an out-of-stock product

04 / Where it stands

Live at pageztech.com, in active production use with continuous deployment via GitHub Actions on every push.