SlideShare une entreprise Scribd logo
1  sur  9
Credit Card Fraud Detection System Python
1) Background/ Problem Statement
Recently, with the advent of technological innovation and the
emergence of new e-service payment solutions, such as e-commerce
and mobile payments, credit card transactions have become
ubiquitous. Because cashless transactions are so widely accepted,
fraudsters carry out fraudulent assaults frequently and modify their
strategies to escape detection. Credit card fraud is defined as
unauthorized card usage, unusual transaction behaviour, or
transactions on an inactive card. Credit card breaches have been
trending alarmingly in the past couple of years.
Our python-based Credit Card Fraud Detection System is designed as a
countermeasure to combat illegal activities. It ensures secured
transactions for credit-card owners when using their credit cards to
make electronic payments for goods and services. In the proposed
system, we used Random Forest Algorithm (RFA) for finding the
fraudulent transactions and the frequency of those transactions.
2) Working of the Project
Our Python-based Credit Card Fraud Detection System consists of 1
module: Admin. To access the system, the admin will need to login into
the system. The login is of two-factor authentication. Admin will enter
their email address and password. After entering the registered email
address, OTP will be sent to their respective email address.
After successfully logging into the system, the admin can view customer
details, create payment links, generate payment links and view
fraudulent customers. In View Customers, the admin can view all users
and their details like Name, Address, Phone number, Transaction
History, etc. In Create Payment Link, they will need to enter the amount
and country, and further, the payment link will be created.
After the Payment Link is created, the customer will need to enter their
Name, Phone number, Billing Address, Shipping Address, and CNIC
number. When all this data is entered and submitted rules are applied
accordingly, it will check which type of transaction it is like Completed
Transaction, Under-Review Transactions, Declined Transactions, and
Flagged Transactions. If all the rules are passed, only then the payment
will be successful.
The payment will be not successful if
1: More than 3 different credit card details are used for purchases.
2: If the customer’s IP address, Mac address or Email was flagged as
fraudulent already in the system when they tried to make transactions
in the past.
3: If the customer’s email address is from an unusual domain.
4: Transaction frequency is not normal.
5: The billing address is not the same as the shipping address.
6: Payment is made outside of the country set by the admin.
7: If the customer’s email address or CNIC number is used with more
than 3 credit cards for transactions in the past.
8: If the customer is using a VPN to make transactions.
9: The customer will have 24 hours to make payment via the link.
The Random Forest Algorithm is used to keep the transaction frequency
into account. The front end involves Html, CSS, and JavaScript and the
back end involves Python. The framework used is Django and the
database is MySQL. Custom Dataset is created for this project.
3) Advantages
- The system is easy to maintain.
- It is user-friendly.
- Higher accuracy of fraud detection.
- Fewer false declines.
- Faster detection of fraud.
4) System Description
The system comprises 1 major module with their sub-modules as
follows:
 ADMIN:
 Login: (2 Factor Authentication)
- The admin will need to login in using their username and
password.
- After entering their registered email, an OTP will be sent for
accessing the system.
 View Customer:
- The admin can view customers’ names and email IDs.
- They can also view customers’ addresses, phone numbers and
transaction history.
 Fraudulent Customers:
- The admin can see a list of all the Fraudulent Customers & change
the status.
 Generate Payment Link:
- To generate a payment link, the admin will need to enter the
amount and country.
- They will need to add a switch to exempt rules.
 Payment Link:
- The customer would require to enter details like Name, Phone
number, Billing Address, Shipping Address, and CNIC number.
- Then, they will have to enter their credit card details.
- If all the rules are passed, then only the payment will be
successful, otherwise, it will fail.
- The payment will be not successful if
1: More than 3 different credit card details are used for purchases.
2: If the customer’s IP address, Mac address or Email was flagged as
fraudulent already in the system when they tried to make transactions
in the past.
3: If the customer’s email address is from an unusual domain.
4: Transaction frequency is not normal.
5: The billing address is not the same as the shipping address.
6: Payment is made outside of the country set by the admin.
7: If the customer’s email address or CNIC number is used with more
than 3 credit cards for transactions in the past.
8: If the customer is using a VPN to make transactions.
9: The customer will have 24 hours to make payment via the link.
5) Project Life Cycle
The waterfall model is a classical model used in the system
development life cycle to create a system with a linear and sequential
approach. It is termed a waterfall because the model develops
systematically from one phase to another in a downward fashion. The
waterfall approach does not define the process to go back to the
previous phase to handle changes in requirements. The waterfall
approach is the earliest approach that was used for software
development.
6) System Requirements
I. Hardware Requirement
i.Laptop or PC
 Windows 7 or higher
 I3 processor system or higher
 4 GB RAM or higher
 100 GB ROM or higher
II. Software Requirement
ii.Laptop or PC
 Python
 Sublime Text Editor
 XAMP Server
7) Limitations/Disadvantages
- Users will need to provide all their details correctly, otherwise, it
will lead to the wrong outcome.
- There is no user module.
- The project is not hosted.
8) Application
- Our credit card fraud detection system is used to identify
suspicious events and report them to an analyst while letting
normal transactions be automatically processed.
9) Reference
 https://www.researchgate.net/publication/326986162_Credit_Card_Fraud
_Detection_Using_Machine_Learning_As_Data_Mining_Technique
 https://link.springer.com/chapter/10.1007/978-3-642-39736-3_17
 https://www.ijitee.org/wp-content/uploads/papers/v9i2/A5041119119.pdf
 http://www.ijtrd.com/papers/IJTRD16726.pdf

Contenu connexe

Similaire à PY088.doc

CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).pptCASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
Jayaprasanna4
 

Similaire à PY088.doc (20)

Online payment system
Online payment systemOnline payment system
Online payment system
 
SRS for Google Pay(Gpay)
SRS for Google Pay(Gpay)SRS for Google Pay(Gpay)
SRS for Google Pay(Gpay)
 
Unit 5
Unit 5Unit 5
Unit 5
 
6. electronic payment systems
6. electronic payment systems6. electronic payment systems
6. electronic payment systems
 
Ch 2
Ch 2Ch 2
Ch 2
 
IRJET- Secured Merchant Payment using Biometric Transaction
IRJET-  	  Secured Merchant Payment using Biometric TransactionIRJET-  	  Secured Merchant Payment using Biometric Transaction
IRJET- Secured Merchant Payment using Biometric Transaction
 
Secure E-payment Protocol
Secure E-payment ProtocolSecure E-payment Protocol
Secure E-payment Protocol
 
e payment system ppt
e payment system ppte payment system ppt
e payment system ppt
 
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).pptCASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
CASE STUDY - THE NEXTGEN POS SYSTEM (2).ppt
 
Document Atm machine using c language mini project.pdf
Document  Atm machine using c language mini project.pdfDocument  Atm machine using c language mini project.pdf
Document Atm machine using c language mini project.pdf
 
10 Best Magento 2 Payment Gateways to Use in Your Store in 2023.pdf
10 Best Magento 2 Payment Gateways to Use in Your Store in 2023.pdf10 Best Magento 2 Payment Gateways to Use in Your Store in 2023.pdf
10 Best Magento 2 Payment Gateways to Use in Your Store in 2023.pdf
 
All What You Need To Know About Merchant Account
All What You Need To Know About Merchant AccountAll What You Need To Know About Merchant Account
All What You Need To Know About Merchant Account
 
How the UK's #1 Mobile Network Enhanced Its Approval Rate by 10%, with Zero F...
How the UK's #1 Mobile Network Enhanced Its Approval Rate by 10%, with Zero F...How the UK's #1 Mobile Network Enhanced Its Approval Rate by 10%, with Zero F...
How the UK's #1 Mobile Network Enhanced Its Approval Rate by 10%, with Zero F...
 
python pre-submission report.pdf
python pre-submission report.pdfpython pre-submission report.pdf
python pre-submission report.pdf
 
SRS on online auction system
SRS on online auction systemSRS on online auction system
SRS on online auction system
 
Safex pay wl-pg-presentation
Safex pay wl-pg-presentationSafex pay wl-pg-presentation
Safex pay wl-pg-presentation
 
All You Need to Know About Mobile Payment Gateways in 2023.pdf
All You Need to Know About Mobile Payment Gateways in 2023.pdfAll You Need to Know About Mobile Payment Gateways in 2023.pdf
All You Need to Know About Mobile Payment Gateways in 2023.pdf
 
Chapter 4 payment systems in e-commerce
Chapter 4  payment systems in e-commerceChapter 4  payment systems in e-commerce
Chapter 4 payment systems in e-commerce
 
Electronic payment systems
Electronic payment systemsElectronic payment systems
Electronic payment systems
 
Tim sloane preparing for rapid payments innovation
Tim sloane preparing for rapid payments innovationTim sloane preparing for rapid payments innovation
Tim sloane preparing for rapid payments innovation
 

Dernier

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Dernier (20)

WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 

PY088.doc

  • 1. Credit Card Fraud Detection System Python 1) Background/ Problem Statement Recently, with the advent of technological innovation and the emergence of new e-service payment solutions, such as e-commerce and mobile payments, credit card transactions have become ubiquitous. Because cashless transactions are so widely accepted, fraudsters carry out fraudulent assaults frequently and modify their strategies to escape detection. Credit card fraud is defined as unauthorized card usage, unusual transaction behaviour, or transactions on an inactive card. Credit card breaches have been trending alarmingly in the past couple of years. Our python-based Credit Card Fraud Detection System is designed as a countermeasure to combat illegal activities. It ensures secured transactions for credit-card owners when using their credit cards to make electronic payments for goods and services. In the proposed system, we used Random Forest Algorithm (RFA) for finding the fraudulent transactions and the frequency of those transactions.
  • 2. 2) Working of the Project Our Python-based Credit Card Fraud Detection System consists of 1 module: Admin. To access the system, the admin will need to login into the system. The login is of two-factor authentication. Admin will enter their email address and password. After entering the registered email address, OTP will be sent to their respective email address. After successfully logging into the system, the admin can view customer details, create payment links, generate payment links and view fraudulent customers. In View Customers, the admin can view all users and their details like Name, Address, Phone number, Transaction History, etc. In Create Payment Link, they will need to enter the amount and country, and further, the payment link will be created. After the Payment Link is created, the customer will need to enter their Name, Phone number, Billing Address, Shipping Address, and CNIC number. When all this data is entered and submitted rules are applied accordingly, it will check which type of transaction it is like Completed Transaction, Under-Review Transactions, Declined Transactions, and Flagged Transactions. If all the rules are passed, only then the payment will be successful. The payment will be not successful if 1: More than 3 different credit card details are used for purchases. 2: If the customer’s IP address, Mac address or Email was flagged as fraudulent already in the system when they tried to make transactions in the past. 3: If the customer’s email address is from an unusual domain.
  • 3. 4: Transaction frequency is not normal. 5: The billing address is not the same as the shipping address. 6: Payment is made outside of the country set by the admin. 7: If the customer’s email address or CNIC number is used with more than 3 credit cards for transactions in the past. 8: If the customer is using a VPN to make transactions. 9: The customer will have 24 hours to make payment via the link. The Random Forest Algorithm is used to keep the transaction frequency into account. The front end involves Html, CSS, and JavaScript and the back end involves Python. The framework used is Django and the database is MySQL. Custom Dataset is created for this project.
  • 4. 3) Advantages - The system is easy to maintain. - It is user-friendly. - Higher accuracy of fraud detection. - Fewer false declines. - Faster detection of fraud.
  • 5. 4) System Description The system comprises 1 major module with their sub-modules as follows:  ADMIN:  Login: (2 Factor Authentication) - The admin will need to login in using their username and password. - After entering their registered email, an OTP will be sent for accessing the system.  View Customer: - The admin can view customers’ names and email IDs. - They can also view customers’ addresses, phone numbers and transaction history.  Fraudulent Customers: - The admin can see a list of all the Fraudulent Customers & change the status.  Generate Payment Link: - To generate a payment link, the admin will need to enter the amount and country. - They will need to add a switch to exempt rules.  Payment Link: - The customer would require to enter details like Name, Phone number, Billing Address, Shipping Address, and CNIC number. - Then, they will have to enter their credit card details. - If all the rules are passed, then only the payment will be successful, otherwise, it will fail. - The payment will be not successful if 1: More than 3 different credit card details are used for purchases.
  • 6. 2: If the customer’s IP address, Mac address or Email was flagged as fraudulent already in the system when they tried to make transactions in the past. 3: If the customer’s email address is from an unusual domain. 4: Transaction frequency is not normal. 5: The billing address is not the same as the shipping address. 6: Payment is made outside of the country set by the admin. 7: If the customer’s email address or CNIC number is used with more than 3 credit cards for transactions in the past. 8: If the customer is using a VPN to make transactions. 9: The customer will have 24 hours to make payment via the link.
  • 7. 5) Project Life Cycle The waterfall model is a classical model used in the system development life cycle to create a system with a linear and sequential approach. It is termed a waterfall because the model develops systematically from one phase to another in a downward fashion. The waterfall approach does not define the process to go back to the previous phase to handle changes in requirements. The waterfall approach is the earliest approach that was used for software development.
  • 8. 6) System Requirements I. Hardware Requirement i.Laptop or PC  Windows 7 or higher  I3 processor system or higher  4 GB RAM or higher  100 GB ROM or higher II. Software Requirement ii.Laptop or PC  Python  Sublime Text Editor  XAMP Server
  • 9. 7) Limitations/Disadvantages - Users will need to provide all their details correctly, otherwise, it will lead to the wrong outcome. - There is no user module. - The project is not hosted. 8) Application - Our credit card fraud detection system is used to identify suspicious events and report them to an analyst while letting normal transactions be automatically processed. 9) Reference  https://www.researchgate.net/publication/326986162_Credit_Card_Fraud _Detection_Using_Machine_Learning_As_Data_Mining_Technique  https://link.springer.com/chapter/10.1007/978-3-642-39736-3_17  https://www.ijitee.org/wp-content/uploads/papers/v9i2/A5041119119.pdf  http://www.ijtrd.com/papers/IJTRD16726.pdf