Skip to content

Learn how to seamlessly integrate Razorpay into your web application with this concise and practical repository! πŸ’³βœ¨

Notifications You must be signed in to change notification settings

ManikLakhanpal/RazorPay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ 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

✨ 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:
    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:
    node --env-file=.env index.js
    Ensure you're using the latest version of Node.js. πŸ”„
  5. Start the Client:
    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 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. πŸ“œ

πŸ“š Example

To run the project and test the payment integration:

  1. Start the Server:
    node --env-file=.env index.js
  2. Start the Client:
    npm run dev
  3. Open your browser and navigate to the application.
  4. Enter an amount and complete the payment process.

About

Learn how to seamlessly integrate Razorpay into your web application with this concise and practical repository! πŸ’³βœ¨

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published