Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

πŸ’³ Razorpay Integration with Spring Boot MVC

This project demonstrates how to integrate Razorpay Payment Gateway in a Spring Boot MVC application. It supports payment creation, frontend checkout, and webhook handling for real-world eCommerce or service-based applications.


πŸ“¦ Features

  • πŸ” Secure Razorpay API integration
  • 🧾 Order creation via Razorpay REST API
  • πŸ’³ Dynamic checkout page with Razorpay JavaScript SDK
  • πŸ“₯ Webhook endpoint for payment success/failure
  • βœ… Status tracking for payments
  • πŸ§ͺ Test credentials ready for sandbox mode

🧰 Tech Stack

Component Technology
Framework Spring Boot MVC
Language Java 17
Template Engine Thymeleaf (optional)
JSON Processing Jackson
Build Tool Maven
Payment Gateway Razorpay

πŸ”§ Prerequisites

  • Java 17+
  • Maven
  • Razorpay account (test mode or production)

πŸ”‘ Razorpay Configuration

Update application.properties:

razorpay.key_id=your_key_id
razorpay.key_secret=your_key_secret
razorpay.currency=INR
razorpay.company_name=Your Company Name
razorpay.logo_url=https://yourdomain.com/logo.png
--
# Clone the repo
git clone https://github.com/your-username/RazorPayIntegration.git
cd RazorPayIntegration
# Build and run
./mvnw spring-boot:run

About

Razorpay Payment Gateway in a Spring Boot MVC application. It supports payment creation, frontend checkout, and webhook handling for real-world eCommerce or service-based applications.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /