Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask E-Commerce Expert

Project Assignment: Credit Card Gateway Web Service

This project will give you experience working with web services. In this project,you will create a Web Service used by retailers to manage credit card accounts and transactions. You will create a Web Application(ASPX pages) that will be theWeb Service Client for the Web Service you will create. Important: only the Web Service can access and use the database.

Requirements:

You need to create a Web Application that utilizes a Web Service for a credit card processing gateway. The Web service will be responsible for working with the database, and it will be responsible for verifying, charging, and searching for credit card accounts. The ASPX page should allow the user to entercredit card information, verification information, and purchase information, and record the credit card transaction. The ASPX page (Web Service Consumer) should not contain any database connection code; it should rely on the Web Service to handle all database actions.

Database Requirements:

1. You need to design and implement a complete data model for the required functionality. You will be graded on your data model implementation.

Class Library Requirements:

1. You need to use component-based software design to create classes for this project that perform the necessary functionalities.

Web Application Requirements:

1. The Web Application needs to allow the user to enter credit card information, billing information, purchase information, and submit the transaction for approval.

a. You do not need to create a program where the user buys products. This can be implemented very simply by allowing the user to enter the payment information and a dollar amount to charge the credit card.

2. The Web Application needs to allow the user to add and update a credit card accounts. An employee of a company will need the ability to create credit cards for their customers, make changes to the data in the account, and apply payments to the account.

3. The Web Application should allow the user to retrieve all transactions for a specific credit card account.

4. Build a GUI that allows the user to perform these tasks, and use the Web Service Web Methods to perform the actual operations.

Web Service Requirements:

Your Web Service will contain at least the followingmethods:

1. The Web Service needs to contain a method that receives credit card account information including any verification information, billing information, and purchase information. This information must be passed to the Web Service using an array. This method will be responsible for processing the transaction and recording the transaction in the database. Processing the transaction will involve determining whether or not the transaction was accepted or declined, and the reason using some error code (integer value).

a. The Web Service will return an array containing information about the transaction.

i. It should return whether or not the transaction was accepted or decline, some error number indicating the issue, the date and time of the transaction.

b. The Web Service client will use thisinformation to display the outcome of the transaction.

2. The Web Service needs methods to add a credit card account and update an existing credit card account in the database.

a. These methods are needed for the company to deactivate a credit card that was stolen or cancelled/closed, create new credit card accounts, and apply payments to an account.

b. You must pass a user-defined class that represents this credit card account as input to the function.

c. You need to build in some security like a unique verification code or API key, so others cannot simply add credit card accounts fraudulently.

This code should not be a hard-coded value that gets used by everyone that adds a credit card.

3. The Web Service needs a method to retrieve all credit card transactions for a specific credit card account.

4. The Web Service may require other methods to complete other important operations. This is for you to determine.

a. For example, youshould not write all the logic in the first two methods. You should separate the functionality by creating a private method to verify the account, another private method to charge an account, etc... This can be also be done using component-based software design, so the logic can be reused in other applications.

Design principles:

a. Retailerslike Walmart and Targetwill use the Web Application to perform credit card transactions and manage credit card accounts for their store. A financial institute like Chase or Citibank would normally create the Web Service to allow their retail partners the ability to manage credit card accounts. This Web Service can used by applications written by the retailers to manage their credit cards. Think of this perspective when designing the application.

b. Provide a consistent and logical navigation system. The user should never have to use the browser's Back and Forward buttons to move between pages.

c. The user should be presented with an opening screen that presents the various transactions with links to respective pages to perform the selected transaction.

d. Make your presentation clear to the user, providing on-screen instructions wherever needed both for data entry and error correction. If required data is omitted or entries are incorrect, the user should not have to re-enter data that is already correct.

e. Create a good data model and implement the data model by creating the necessary tables in the database. The tables I listed above are just for explanation purposes. You are free to make a completely different set of tables since I expect you to implement your own data model. You will be graded on the implementation of your data model.

f. You need to use a proper naming convention for all controls and in your code. I expect you to properly name your classes, variables, functions, etc...

g. Your programs should not crash for any reason; it's poor design to have a program crash. Make sure to implement exception handling in appropriate places that can cause errors and handle them gracefully.

h. Perform server-side input validation where necessary.

i. You must use component-based software design. This means writing as much code in classes and functions of classes instead of in the GUI.

Approach to this Project

(1) Implement the Web Service (ASMX)

Create a Web Application Project for the Web Service. Reference your personal ClassLibrary that will contain the classes for this projectand the Utilities class library for the DBConnect class in the Web Service project. Make sure you have appropriate class definitions for all the classes needed by the Web Service.

(2) Create a separate Web Application Project for the Web Service Client and create a CreditCardSvcPxy Web Reference by performing the "Discovery" process on the Web Service Client (ASPX Web Form). The Web Reference should be to a Web Service in the localsolution until your program is ready to deploy. Otherwise, you will not be able to debug your Web Service Web Methods. When you are ready to deploy the project to the Web, right before project submission, you need publish the Web Service (ASMX) to the X:\Project4WS folder, and recreate the Web Reference to use the published Web service.

• After you create a Web Reference, you will be able to create a Web Service proxy object to use the Web Service.

(3) Implement your client Web Application (ASPX)

***If you try to import the Libraries or classes on the web service client (project where the ASPX pages exists) and use the classes to retrieve data from the Web Service, you will get an error message that says that the class definitions from the service side cannot be converted to the class definitions used on the web service clientside.This error is because you must use the web service's version of all user-defined types (complex types).

E-Commerce, Computer Science

  • Category:- E-Commerce
  • Reference No.:- M92522462

Have any Question?


Related Questions in E-Commerce

Create testcase for given project first use piki design to

Create testcase for given project, first use piki design to do test case Want to do it like testcase one file and you can also get right information from saeed testcases Want to piki design all of it and informat like te ...

Assignment - creating dynamic websites and web-based

Assignment - CREATING DYNAMIC WEBSITES AND WEB-BASED APPLICATIONS - AN OVERVIEW This assignment is an overview of the concepts, technologies and design techniques required to build dynamic websites and web-based applicat ...

Overviewassignment 2 asked you to build the front end of

Overview Assignment 2 asked you to build the front end of the assignment, now the client wants you to build the full eCommerce website to the point that orders can be made and stored in a spreadsheet. Requirements 1. Web ...

Assignment requirementsyour web site proposal and

Assignment Requirements Your web site proposal and presentation (Assignment 1) was accepted, subject to any feedback you may have received. You company has been asked to develop website you suggested and build the featur ...

Mobile applications assignment - an ios recipe application

Mobile Applications Assignment - An iOS Recipe Application - Introduction - In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. ...

Secure electronic commerce assignment -part a -based on

Secure Electronic Commerce Assignment - Part A - Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales. Please create a fold ...

Purpose of the assessment with ulo mapping students are

Purpose of the assessment (with ULO Mapping) Students are required to design and develop four different Apps. Students will be able to: b. Apply Java programming concepts, models/architectures and patterns to Android app ...

Html - css assignments assignment 1 - internet programming

HTML - CSS Assignments Assignment 1 - Internet Programming   My grandfather, like many men who lived in rural America, owned a large machine shed where he stored tools, farm equipment, vehicles, lumber, and wonderful gad ...

Research and discuss html 5what are its main featureswhat

Research and discuss HTML 5. What are its main features? What resources are available to support it? Put it in your own words please.

Mobile web application development assignment - android

Mobile Web Application Development Assignment - Android Apps Development Purpose of the assessment - Students are required to design and develop four different Apps. Apply Java programming concepts, models/architectures ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As