Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Razorpay integration initial setup for payment gateway #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

J-B-Mugundh
Copy link
Collaborator

Title:

Added Razorpay integration initial setup for payment gateway

Description:

This PR introduces the initial setup for integrating Razorpay as a payment gateway into the application. The payment flow is implemented with the Razorpay API, and basic functionalities such as order creation are included. The code is designed to be tested with a live Razorpay key once the necessary credentials are obtained.

Related Issues:

Fixes #3

Changes Made:

PaymentController: Implemented the API endpoint for creating orders and initiating payments.
PaymentService: Added service logic for interacting with Razorpay's API to create orders.
pom.xml: Added dependencies for Razorpay integration.
application.properties: Added test key and secret for Razorpay.

Screenshots (If applicable):

image

Implementation Video (If applicable):

NA

Additional note:

To implement the payment flow, I referred to various documentation, blogs, and yt tutorials. I tested the flow with a fake secret key to ensure the code works properly. However, I haven't tested it with a real key yet, coz of the blockers. So, I'm not 100% certain about the accuracy of the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Razorpay integration initial setup for payment gateway
1 participant