Skip to content
KayD
All work

Project story

PNM Online Pharmacy

A full-stack online store for Polpithigama New Medical (PNM), a pharmacy, with card payments through iPay, branch pickup and an admin panel.

PNM Online Pharmacy screenshot

About the project

Customers order for delivery or pick up at a branch, and pay by card or at the branch. Card payments go through iPay: the API generates the payment form checksum, and a webhook verifies the payment notification before it marks the order paid.

Decisions

  1. The API generates the iPay payment form checksum, and a webhook verifies the payment notification before an order is marked paid.

What it covers

  • iPay card payments with checksum verification
  • Delivery or branch pickup at checkout
  • Admin pages for products, categories, orders, customers, branches and settings
  • Dashboard statistics with charts
  • Product image upload with re-encoding
  • JWT auth with roles and protected routes
  • Contact form email

My part

I built the whole system on my own: the storefront, the admin panel and the REST API behind them.