Skip to content

ronishpaudel/Payment-Gateway

Repository files navigation

Next.js Payment Gateway Integration

A modern payment gateway integration demonstrating the implementation of eSewa and Khalti payment services in Next.js 14 with API Routes.

Overview

This project showcases a seamless integration of popular Nepali payment gateways using Next.js and TypeScript. It features a clean, responsive interface and implements secure payment processing using API routes.

Live Demo

Experience the payment gateway integration in action: Live Demo

Features

  • eSewa payment integration
  • Khalti payment integration
  • API routes for secure payment processing
  • TypeScript implementation
  • Responsive design
  • Error handling and validation
  • Test environment setup

Documentation

For a detailed guide on implementing these payment gateways, check out our comprehensive blog post: Integrating eSewa and Khalti Payment Gateways in Next.js 14

Getting Started

  1. Clone the repository
  2. Set up environment variables
  3. Install dependencies
  4. Run the development server

For detailed implementation instructions and code examples, please refer to the blog post.

Support

If you find this project helpful, please consider giving it a star ⭐

License

MIT License - feel free to use this project as a reference for your own implementations.