Professional Documents
Culture Documents
18CSI85
An Internship Report
on
BACHELOR OF ENGINEERING
in
COMPUTER SCIENCE AND ENGINEERING
by
CERTIFICATE
This is to certify that the internship work entitled “PAYMENT GATEWAY INTEGRATION” is
a bonafide work carried out by JANVEE DIXIT [1EP18CS037],in the partial fulfillment of the
requirements of BACHELOR OF ENGINEERING in COMPUTER SCIENCE AND
ENGINEERING in VISVESVARAYA TECHNOLOGICAL
UNIVERSITY, Belagavi, during the year 2021-2022. It is certified that corrections/suggestions
indicated for internal assessment have been incorporated in the report.
Firstly, I thank the Management and Principal of East Point College of Engineering
and Technology, Bengaluru for providing an opportunity to do the internship work.
I would like to express my sincere thanks to Dr. C. Emilin Shyni, Professor and Head of
the Department of Computer Science and Engineering, EPCET for her valuable suggestions
and encouragement to do my best during the internship.
I would like to express my gratitude towards my guide Dr. C. Emilin Shyni, Head of
Department, Department of CSE and the Internship Coordinators Prof. Nithyananda CR,
Associate Professor, Department of CSE for his valuable guidance and constant supervision
in completing the technical seminar successfully.
I would like to extend my thanks to all the faculty members of CSE department fortheir
valuable inputs as reviewers during the course of the internship.
Finally, I would like to thank my parents and friends for their support and encouragement in
successful completion of the internship.
iii
CERTIFICATE OF COMPLETION
iv
ABSTRACT
Payment Gateway is such a crucial part of an e-commerce platform. Security, is the top-most benefit
of a payment gateway where the entire flow of payment will be secured. This project is developed to
integrate a payment gateway in a website by learning the implementation of HTML and CSS. An
Integrated payment gateway is a responsive website, in which there is a donate button that redirects
the user to the payment gateway page. It collects basic details about the user in order to provide a well-
structured and secured transactions. While running a strict eCommerce site, where the processing of
payments takes place online, there’s no other way to accept online transaction through the internet
without a payment gateway. The project is user-friendly and requires basic human intervention.
Individuals just have to fill up the form that specifies personal questions from all required fields such
as name, phone number, address, etc. The answers provided by the users are stored and the system
automatically and proceeds with the transactions. The transaction mode can be chosen by the user
where at the end of successful transaction an invoice is generated and a well-structured email.
v
TABLE OF CONTENTS
Chapter No. Title Page No.
1 Introduction 1
1.1 Project Introduction 1
1.2 Programming Languages Used 2
1.3 Objectives 2
2 Organizational Profile 3
2.1 Vision 3
2.2 Mission 4
3 Requirement Specification 5
3.1 Hardware Requirements 5
3.2 Software Requirements 5
4 Design and Implementation 6
4.1 Design 6
4.2 Implementation 8
4.2.1 HTML Code 8
4.2.2 CSS Code 11
5 Testing 13
5.1 Unit Testing 13
5.2 Integration Testing 13
5.3 Sub-System Testing 14
5.4 System Testing 14
5.5 Acceptance Testing 14
6 Snapshots 15
6.1 Home Page 15
6.2 About Page 16
6.3 Payment Details 16
6.4 User Detail Form 17
6.5 Payment Mode 17
6.6 Successful Transaction 18
6.7 Invoice and E-mail 18
7 Conclusion 19
References 20
vi
LIST OF FIGURES
vii
Payment Gateway Integration
CHAPTER 1
INTRODUCTION
Full stack development refers to the development of both front end (client side) and backend (server
side) portions of web application. Full stack web developers have the ability to design complete web
applications and websites. They work on the frontend, backend, database and debugging of web
applications or websites. Frontend and Backend are the two most popular terms used in web
development. Each side needs to communicate and operate effectively with the other as a single unit to
improve the website’s functionality. Frontend is the part of a websitethat the user interacts with directly
is termed the front end. It is also referred to as the ‘client side’ of the application. It includes everything
that users experience directly: text colors and styles, images, graphs and tables, buttons, colors, and
navigation menu. HTML, CSS, and JavaScript are the languages used for Front End development.
Responsiveness and performanceare the two main objectives of the Front End. The developer must
ensure that the site is responsive.
Backend is the server-side of the website. It stores and arranges data, and also makes sure everything
on the client-side of the website works fine. It is the part of the website that you cannot see and interact
with. It is the portion of software that does not come in direct contact with the users. The parts and
characteristic developed by backend designers are indirectly accessed by users through a frontend
application.
This project is based on Web Development and its Applications. The main objective of this project
is to learn the implementation of HTML and CSS, and integration of payment gateway in a webpage.
The basic webpage of this project is created using HTML and styling of the webpage is done using
CSS. While Razorpay is used as a payment mode to perform secure transactions.
1.3 Objectives
• To learn the implementation of HTML and CSS.
• To create a simple website where payment gateway is integrated
• To implement a simple, donate button on homepage which on clicking will land the user on the
payment page.
• To design the payment page to select the amount to be paid and the payment type, e.g., credit
card, PayPal, etc.
• To generate the invoice and send email to the user for the payment received.
CHAPTER 2
ORGANIZATIONAL PROFILE
The Sparks Foundation (or TSF) is a brand-new startup that was co-founded by people who believe
that every student should have a chance at greatness, and they have created multiple programs to help
students reach their maximum potential. The first program that they successfully put into play was in
the year 2018 which is their Graduate Rotational Internship Program, or GRIP. This internship program
is based completely online as a part-time internship for students to complete in the span of 1 month.
GRIP offers internships in the areas of tech, marketing, and human resources. This program has been
successfully running, and TSF is expanding its programs to include a wider variety of students from a
variety of different backgrounds.
One-on-one mentorship is the most effective strategy for aiding a student to achieve their maximum
potential. TSF aims to match mentors that are experts in their field to students who want to enter the
field. In their words, they want to, “Help them [the students] shape their dreams into reality.” They aim
to match personalities and careers that will work well together so that the student can achieve the
maximum amount of success when they enter their future field. The mentor is paired up with their
mentee and receives scheduled routine progress monitoring so that they do not fall behind. By receiving
direct attention, mentors are able to directly see their mentee’s strengths and weaknesses and work on
them accordingly. This is the fastest and most effective way to teach students how to succeed both with
their hard and soft skills. By working one-on-one, they are able to develop problem-solving skills and
a deeper understanding of their field at a much more rapid pace.
2.1 Vision
They are committed to going the extra mile to bring success to the clients consistently. They are
dedicated to delivering the right people, solutions, and services to the clients that they require to meet
their technology challenges and business goals. They aim in a world of enabled and connected little
minds, building future.
2.2 Mission
Optimizing client satisfaction with quality services. Delivering the most efficient and the best solution
to our clients to every client leveraging leading technologies & industry best practices. To inspire
students, help them innovate and let them integrate to build the next generation humankind. Some of
the services include:
Development - They develop responsive, functional and super-fast websites. They keep User
Experience in mind while creating websites. A website should load quickly and should be accessible
even on a small view-port and slow internet connection.
Branding and Design - They offer professional Graphic design, Brochure design & Logo design. They
are experts in crafting visual content to convey the right message to the customers. They also design
custom wraps for your products (also known as package designing).
Search Engine Optimization - They help to manage the SEO campaign more efficiently and
effectively. They help to gain market share by leveraging the expertise. The holistic approach to
identify anything that may be hurting the traffic or rankings and show just how to outrank the
competition.
Content Writing - They provide content writing services for blogs and product descriptions; their
team helps to generate content to Increase your Brand Recall. They can amplify the marketing needs &
help to reach the potential customers.
Research - They equip business leaders with indispensable insights, advice and tools to achieve their
goals, their main area of research is in sentimental analysis, having published multiple papers on the
same, they are in the process of creating a virtual bot that is intended to use their sentimental analysis
data to provide real time replies.
Embedded System and IOT - CST works with Consumer Electronics, Lighting, Home Automation,
Metering, Sensor-Technology, Home Appliance and Medical Device companies to help them create
smart and connected products. Through its integrated Embedded and IoT services, they helps build
intelligent & connected devices that can be remotely monitored and controlled while leveraging edge
and cloud computing for a host of intelligent applications and analytics.
CHAPTER 3
REQUIREMENT SPECIFICATION
CHAPTER 4
The system design defines the elements of a system such as the architecture, modules and
components, the different interfaces of the components and the data that goes through the system. It
is meant to satisfy specific needs and requirements through a coherent and well-running system.
Figure 4.1 describes the different modules in which the required system is implemented.
• HOME PAGE : This page consists of three division namely, the home section, the about
section and the donate section, where each section consists of contents regarding the donation.
• DONATE : It is a button present on the home page through which payment process can be
initiated.
• DONATION AMOUNT : The user will be prompted to enter the amount.
• USER DETAIL FORM : The user will be asked to fill-in few basic details.
• PAYMENT MODE : The payment mode to perform transactions must be chosen by the user.
Hypertext markup language (HTML) is the major markup language used to display Web pages on the
Internet. In other words, Web pages are composed of HTML, which is used to display text, images or
other resources through a Web browser. All HTML is plain text, meaning it is not compiled and may
be read by humans. The file extension for an HTML file is .htm or .html. HTML was never designed
for the Web that exists today, as it is just a markup language with severe limitations, in terms of control
and design. Numerous technologies have been used to work around this issue - the most significant
being cascading style sheet (CSS).
Cascading Style Sheets, fondly referred to as CSS, is a simple design language intended to simplify the
process of making web pages presentable. CSS handles the look and feel part of a web page. Using
CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how
columns are sized and laid out, what background images or colors are used, as well as a variety of other
effects.
Razorpay
Razorpay is a payment mode founded by the group of IIT Roorkee alumni. It’s a kind of payment mode
that combines more than one banking system. It is an online payment system that can access the credit,
debit cards, UPI, and popular mobile wallets. It provides Standard Integration and Quick Integration to
integrate the Payment Gateway. The Razorpay Standard Checkout can be integrated to accept payments
in the application since it provides more control over the customization of the checkout compared to
Quick Integration. To integrate the Razorpay in website the following steps can be implemented:
• Create an account on Razorpay’s website by signing up with email and password and add some
basic information such as phone number, etc.
• Inside the setting screen, click on create a new key option and key will be generated. Key ID
and Key Secret will be generated.
• Currently the payments will be in “test mode” i.e., no real transaction would happen and the
payment options are also limited.
• Add an event listener to the payment button so the payment window gets opened once it is
clicked.
4.2 Implementation
<!doctype html>
<html lang="en">
<head>
<title>The Spark Foundation Donation</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<img class="logo" src="logo.png" alt="logo" width="75" height="75">
<div class="container-fluid">
<a class="navbar-brand" href="/SparkDonations">Spark Donation</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="/SparkDonations/index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/SparkDonations/about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/SparkDonations/contact.html">Contact Us</a>
</li>
</ul>
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success" type="submit">Search</button>
</form>
<div class="mx-2">
<button class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#LoginModal">Login</button>
body {
background: linear-gradient(to bottom, #ffcc66 0%, #ffffff 100%);
background-attachment: fixed;
overflow-x: hidden;
font-size: 25;
}
#menu {
height: 100px;
left: 1100px;
position: relative;
}
#bg {
background-image: url('charitybg.png');
background-size: cover;
height : 1000px;
}
.heading {
font-size : 60;
position : relative;
top : 200px;
right : 480px;
}
#pay {
position : absolute;
top : 400px;
left : 300px;
}
#home {
text-align : center;
position : relative;
top : 100px;
}
CHAPTER 5
TESTING
Verification and validation are intended to show that a system confirms to its specification and that the
system meets the expectations of the customer. Verification involves checking that the software
confirms to its specification. We should check that the system meets its specified functional and
nonfunctional requirements. Validation ensures that the software meets the expectations of the
customer. It goes beyond checking conformance of the system to its specification to showing that the
software does what the customer expects as distinct from what has been specified. The testing process
should proceed in stages where testing is carried out incrementally in conjunction with system
implementation. Finally, the system is tested with the customer’s data. The stages in the testing
process are:
CHAPTER 6
SNAPSHOTS
6.1 Home Page
CHAPTER 7
CONCLUSION
A payment gateway authorizes payments for retailers in all business categorizations. They ensure that
sensitive information, such as credit card numbers, entered into a virtual terminal or on an ECommerce
website, are passed securely from the customer to the merchant and from the merchant to the payment
processor through the use of encryption. The main aim of this project was to deliver a payment
integration gateway using different technologies and methods. The paper describes the process and
the required resources for the project, in this project a third-party platform called Razorpay is used.
The main reason for using the Razorpay is, it is popular for creating a payment gateway and it comes
with multiple features. In this project, multiple tags are used like HTML, CSS which is used to create
the webpage. Furthermore, the project is also focused on the secure transaction process, which includes
the all the service provider website. The paper also illustrates the proposed methodology required to
complete the project. The final goal of the project was to deliver the complete website for payment
Integration, with the help of a third-party vendor.
REFERENCES