https://github.com/maniklakhanpal/razorpay
Learn how to seamlessly integrate Razorpay into your web application with this concise and practical repository! 💳✨
https://github.com/maniklakhanpal/razorpay
razorpay razorpay-api razorpay-payment
Last synced: 7 months ago
JSON representation
Learn how to seamlessly integrate Razorpay into your web application with this concise and practical repository! 💳✨
- Host: GitHub
- URL: https://github.com/maniklakhanpal/razorpay
- Owner: ManikLakhanpal
- Created: 2024-08-26T16:53:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-26T17:01:05.000Z (about 1 year ago)
- Last Synced: 2025-02-03T08:39:45.636Z (9 months ago)
- Topics: razorpay, razorpay-api, razorpay-payment
- Language: JavaScript
- Homepage: https://example-razorpay.w16manik.ninja
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📦 RazorPay Integration Example
This project showcases a seamless integration of RazorPay, a widely-used payment gateway, into a web application.
It demonstrates the essential steps to process payments securely and efficiently. 💳Example site: [https://example.razorpay.w16manik.ninja](https://example.razorpay.w16manik.ninja)
## ✨ Features
- 🔌 **Easy Integration:** Quickly connect to the RazorPay API.
- 🔐 **Secure Payments:** Ensure safe and reliable transactions.
- 🎨 **Customizable Forms:** Tailor payment forms to your needs.
- 📊 **Real-Time Updates:** Receive instant feedback on payment statuses.
- 🛡️ **Robust Error Handling:** Comprehensive validation and error management.## ⚙️ Installation
1. **Clone the Repository:**
```bash
git clone https://github.com/ManikLakhanpal/razorpay.git
```
2. **Install Dependencies:** Run `npm install` in both the client and server directories.
3. **Configure API Credentials:** Set up your RazorPay API credentials in the `.env` file located in both the client and server folders.
4. **Start the Server:**
```bash
node --env-file=.env index.js
```
Ensure you're using the latest version of Node.js. 🔄
5. **Start the Client:**
```bash
npm run dev
```## 🚀 Usage
1. Open the application in your web browser. 🌐
2. Enter the desired payment amount. 💵
3. Fill in your payment details via the RazorPay portal. 💳
4. Complete the payment using the available methods. ✅
5. Receive a confirmation message and check the payment status on the frontend. 🔄
6. You can check my example [site](https://example.razorpay.w16manik.ninja) that I created for you.## 👥 Contributing
Contributions are highly encouraged! 🙌 If you have suggestions or improvements, please submit a pull request.
Be sure to adhere to the project's code of conduct. 🎯## 📄 License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT). 📜## 📚 Example
To run the project and test the payment integration:
1. **Start the Server:**
```bash
node --env-file=.env index.js
```
2. **Start the Client:**
```bash
npm run dev
```
3. Open your browser and navigate to the application.
4. Enter an amount and complete the payment process.