Skip to content
NERDS IV
← All case studiesE-Commerce & Retail

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

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.

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.

The Solution

  • Every 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
  • Row Level Security policies enforced at the database layer on products, orders, affiliates, and cart data, not just in application code
  • An affiliate program with commission tracking and withdrawal requests, with payouts automated via Paystack Transfers
  • Secrets — the Paystack secret key, Resend API key, Supabase service role — live only in server-side Edge Function secrets and never reach the client bundle
  • Automated email alerts to admins on new orders, purchases, and withdrawal requests, and to customers on order status changes and affiliate application outcomes
  • Restock notification emails for customers waiting on an out-of-stock product

Technologies

ReactViteSupabase (Postgres, Auth, Edge Functions)PaystackResendCloudflare Pages

Where It Stands

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

Have a similar project in mind?

Start a Project