An open API service indexing awesome lists of open source software.

https://github.com/agambagish/next-razorpay-boilerplate

Boilerplate Code for India's Domestic Payment System, UPI (Unified Payments Interface)
https://github.com/agambagish/next-razorpay-boilerplate

nextjs razorpay react shadcn-ui tailwindcss upi

Last synced: 6 months ago
JSON representation

Boilerplate Code for India's Domestic Payment System, UPI (Unified Payments Interface)

Awesome Lists containing this project

README

          

# Boilerplate Code for India's Domestic Payment System, UPI (Unified Payments Interface)

## Integrate Payments With Next.js, TailwindCSS, and Razorpay 💯

![landing](https://github.com/agambagish/next-razorpay-boilerplate/assets/89576841/f0289bb0-ac46-4bda-8608-402aa43694e1)

![gateway](https://github.com/agambagish/next-razorpay-boilerplate/assets/89576841/8c04ba13-c545-4e81-b6e3-4ff5cb60c4b7)

![architecture](https://github.com/agambagish/next-razorpay-boilerplate/assets/89576841/2e89bc67-7327-4516-88bb-dcc38789dcd0)

# Features

- Make secure UPI payments seamlessly.
- Responsive design, optimized for both Mobile and Desktop.
- Easy customization to match your brand's aesthetics.
- User-friendly interface with clear call-to-action buttons.

# Getting Started

1. **Clone the repository:**

```sh
git clone https://github.com/agambagish/next-razorpay-boilerplate.git
cd next-razorpay-boilerplate
```

2. **Install dependencies:**

```sh
pnpm install
```

3. **Run the development server:**
```sh
pnpm dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

# Configuration

- **Environment Variables:**
Create a `.env.local` file in the root directory and add your API keys:
```
RAZORPAY_KEY_ID=""
RAZORPAY_KEY_SECRET=""
```

Happy coding! 💻🚀