CREDIT CARD PROCESSING SYSTEM
AIM
To develop a project credit card system using Umbrello Tool for the UML diagram
and to implement using Visual Basic
PROBLEM ANALYSIS AND PROJECT PLANNING
The Credit Card Processing System which is use to purchasing an item from any shop
mall, and it is used to maintain the limitation of credit card balance and current transaction
process could be update via credit card machine. This project mainly used for large amount of
item can be easy to buy from anywhere and required transaction process should be
maintained them.
PROBLEM STATEMENT
The customer should select the item to be purchase from the shop by using credit card
payment then the vendor should give a bill for the selected item .The customer should give
his card to swap and request for the kind of amount transaction. After processing the
transaction, the CREDIT CARD MACHINE should give the balance print statement or
receipt.
Customer should select the item from the shop.
Vendor makes the bill for the selected item.
Customer gives the credit card to the vendor to swap the card.
They required amount transaction is done by the card reader.
Vendor will issue the balance statement to the customer.
Customers put the signature in the receipt and return to the vendor.
SOFTWARE REQUIREMENT SPECIFICATION
SNO SPECIFICATION
1 INTRODUCTION
1.2 Purpose
1.3 Scope
1.4References
1.5 Technology To Be Used
1.6 Tools Be Used
1.7 Overview
CS8582- Object Oriented Analysis and Design Lab
2 OVERALL DESCRIPTION
2.1 Product Perspective
2.2 Functionality
2.3 Usability
2.4 Performance
2.5 Reliability
2.6 Assumption and Dependencies
1. INTRODUCTION
PURPOSE
The customer should purchase an item from the shop by using credit card payment
then the vendor should give response to the customers view while a purchasing item from the
shop and required processing of transaction should be done by the vendor by using a credit
card reader.
In the specification use define about the system requirements that are part from the
functionality of the system. It tells the usability, reliability defined in the use case
specification.
REFERENCES
IEEE Software Requirement Specification format.
TECHNOLOGY TO BE USED
Microsoft Visual Basic 6.0
TOOLS TO BE USED
Umbrello Tool (for developing UML Patterns)
OVERVIEW
SRS includes two sections overall description and specific requirements - Overall
description will describe major role of the system components and inter-connections. Specific
requirements will describe roles & functions of the actors.
CS8582- Object Oriented Analysis and Design Lab
2. OVERALL DESCRIPTION
PRODUCT PERSPECTIVE
The CCP acts as an interface between the 'Customer' and the 'Card Reader'. This
system tries to make the transaction as simple as possible and at the same time not risking the
security of data transaction process. This minimizes the time duration in which the user
receives the item.
FUNCTIONALITY
Many members of the process lives to checking for the occurrence and transaction we
all have to carry over sometimes user interface to make the transaction to be efficient.
USABILITY
The User interface makes the Credit Card Processing System to be efficient.
PERFORMANCE
It is of the capacities about which it can perform function for many users
at the same times efficiently that are without any error occurrence.
RELIABILITY
The system should be able to process the user for their corresponding request.
ASSUMPTION AND DEPENDENCIES
The Vendor and Customer must have basic knowledge of computers and English
Language. The vendor may be required to delivered the item purchased by the customer.
UML DIAGRAMS
The following UML diagrams describe the process involved in the online recruitment system
• Use case diagram
• Class diagram
• Sequence diagram
• Collaboration diagram
• State chart diagram
• Activity diagram
• Component diagram
• Deployment diagram
• Package diagram
CS8582- Object Oriented Analysis and Design Lab
USE CASE DIAGRAM:
purchase item
issue bill
vendor
customer swipe the card
make transaction
card reader
print the statement
signature
deliver the item
DOCUMENTATION OF USE CASE DIAGRAM:
The actors in this use case diagram are customer, vendor and card reader. The use
cases are the activities performed by actors.
The actors in this use case diagram are
Customer – used to purchase some item from the shop by using credit card
payment.
Vendor – used to issue a bill for selected item and verify the card holder
signature and then delivery the item.
Card reader – its make the amount transaction for required credit card and
print the balance statement.
Purchase item – customer enter the shop to purchase some item by using
credit card payment.
Bill issue – vendor will make a bill for the selected item.
Swap the card – vendor will swap the card.
Make transaction– card reader will processes the amount transaction.
Print the statement – after the transaction, balance amount should be printed.
Signature – customer should put the signature and give it to vendor.
Deliver the item–vendor issued to deliver a item.
CS8582- Object Oriented Analysis and Design Lab
CLASS DIAGRAM:
DOCUMENTATION OF CLASS DIAGRAM:
The Classes used in this project are:
• Customer – is the class name. Its attributes are name, age, signature, and card
number. The operations performed in the customer class are purchase item and
swap the credit card.
• Vendor – is the class name. Its attributes are name, address, and phone number. The
operations performed are make bill and then delivered item purchased by the
customer.
• Card Reader – is the class name. Its attributes are machine number, software and
company. The operations performed are make the transaction and print balance
statement.
SEQUENCE DIAGRAM:
customer vendor
vendor card reader
reader
select item
issue bill
swipe the card
amount transaction
print the statement
issue the statement
signature
item delivery
CS8582- Object Oriented Analysis and Design Lab
DOCUMENTATION OF SEQUENCE DIAGRAM:
The customer wants to purchase some item from the shop; Vendor makes a bill for the
selected item. The Customer gives the credit card to the vendor to the swap the card. The
further transaction is proceeding for if the credit card is validated. Vendor will issue the
required balance statement to the customer. Customer put the signature in the receipt and
returns the one copy of statement to the vendor.
COLLABORATION DIAGRAM:
1: select item
7: signature
customer vendor
2: issue bill
6: issue the statement
8: item delivery
3: swipe the card 5: print the statement
4: amount transaction
card
reader
DOCUMENTATION OF COLLABORATION DIAGRAM:
In this diagram there is sequence of ordered relationship should performing in the
CCP, then Customer will performed a selecting item, putting signature, and deliver the item,
Vendor should perform the swap the card, issue the statement and Card reader should
perform amount transaction and print the balance statement.
STATE CHART DIAGRAM:
select item issue bill swipe the make print bill
card transaction
DOCUMENTATION OF STATE CHART DIAGRAM:
The Entire process of CCP could be shown in the start state to goal state behavior
should be performed by the Customer, Vendor and Card reader in this credit card processing
system.
CS8582- Object Oriented Analysis and Design Lab
COMPONENT DIAGRAM:
credit card
processing system
customer vendor card
reader
DOCUMENTATION OF COMPONENT DIAGRAM:
In this diagram there link between the actor is present in the CCP, that could be
shown in diagrammatically way in the component diagram. Each every actor is having a
bidirectional link to process further details present in the system.
DEPLOYMENT DIAGRAM:
credit card processing
system
swipe card make signature deliver item
purchase
transaction
item
DOCUMENTATION OF DEPLOYMENT DIAGRAM:
The processor in this deployment diagram is the credit card processing system which
is the main part and the devices are the purchase item, swap the card, make transaction, verify
signature, delivery item which are the some of the main activities performed in the system.
CS8582- Object Oriented Analysis and Design Lab
OUTPUT :
Form1:
Private Sub Command1_Click()
[Link]
End Sub
Private Sub Command2_Click()
[Link]
End Sub
Form2:
CS8582- Object Oriented Analysis and Design Lab
Private Sub Command1_Click()
If [Link] = "customer" And [Link] = "cust@123" Then
[Link]
Else
MsgBox ("Invalid Username and Password")
End If
End Sub
Private Sub Command2_Click()
[Link]
End Sub
Form3:
Private Sub Command1_Click()
[Link]
End Sub
Private Sub Command2_Click()
If [Link] = "Burger" Then
[Link] = [Link] * 100
CS8582- Object Oriented Analysis and Design Lab
ElseIf [Link] = "Pizza" Then
[Link] = [Link] * 150
ElseIf [Link] = "Soft Drinks" Then
[Link] = [Link] * 40
End If
[Link] = 50000 - [Link]
End Sub
Private Sub Command3_Click()
[Link]
[Link]
Unload Me
End Sub
Form4:
Private Sub Command1_Click()
MsgBox ("Please Pay In The Cash In The Cash Counter")
End Sub
Private Sub Command2_Click()
CS8582- Object Oriented Analysis and Design Lab
[Link]
End Sub
Form5:
Private Sub Command1_Click()
[Link]
End Sub
Private Sub Command2_Click()
[Link]
End Sub
CS8582- Object Oriented Analysis and Design Lab
Form6:
Private Sub Command1_Click()
If [Link] = "Visa Card" Then
[Link]
ElseIf [Link] = "Master Card" And [Link] <> "India" Then
MsgBox ("Your Card Is Not Valid In This Country")
Else
[Link]
End If
End Sub
Private Sub Form_Load()
[Link] = [Link]
End Sub
CS8582- Object Oriented Analysis and Design Lab
Form7:
Form8:
CS8582- Object Oriented Analysis and Design Lab
Form9:
Form10:
Private Sub Command1_Click()
MsgBox ("Your bill is printing...")
End Sub
Private Sub Command2_Click()
[Link]
CS8582- Object Oriented Analysis and Design Lab
End Sub
Private Sub Form_Load()
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
End Sub
Form11:
Private Sub Command1_Click()
End
End Sub
CS8582- Object Oriented Analysis and Design Lab
BACK END:
RESULT:
Thus the project to develop credit card processing system using Umbrello Tool and to
implement using Visual Basic is done successfully.
CS8582- Object Oriented Analysis and Design Lab