Recently, I built a complete real-time payment gateway integration using PHP, PayHere Sandbox, ngrok, and MySQL to simulate and test online payments in a local development environment.

This project covered:

Secure PayHere checkout integration

Real-time payment callback handling through ngrok

Transaction logging and MySQL database storage