Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Secure Shopping Create a web app consisting of the following pages: Display at least three items that can be purchased along with a quantity field
Secure Shopping
Create a web app consisting of the following pages:
Display at least three items that can be purchased along with a quantity field and price for each. Provide a
submit button that sends the order to the server for processing.
Create an order summary page based on the quantities chosen on the first page. Display a subtotal for
confirmation. When the user confirms the purchase they are sent to the tax calculation page.
Calculate the tax based on the rate in Florence. Display the subtotal, tax, and total. Allow the user to proceed
to the checkout or continue shopping.
To checkout, the user must login first. The password is "imnotbroke". Use the PHP File", authentication.php
which sends authenticated users to the checkout page; invalid users are sent back to the login page.
The checkout page must display the total and simulate payment with a credit card. Only authenticated users
can use the checkout page.
Extra Credit: Validate the credit card number, using the information below, with a message that indicates that
the card was accepted by name or rejected eg Your VISA ending with has been charged $;
Invalid card You must use a function to validate the card number.
You must use the user's session to track conversational state no HTML hidden fields
You must validate all form input to ensure that there are no special characters received as input.
Cards Accepted
MASTERCARD Prefix Length
VISA Prefix Length or
AMEX Prefix or Length
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started