Implement a credit card verification as a WEB application using ASP.NET. You will get the following information from the user:
The users choice of credit card type to be specified using a drop-down list. Card number, as a text box.
Write an ASP.NET function that checks the validity of a credit card specified by the supplied parameters containing the card number and card type. The function returns true or false, depending on whether the credit card name / number combination is found to be valid. If it is not valid, a numeric code is loaded into a global variable, which may be used to index into a global array of error messages as follows.
- Unknown card type,
- No card number provided,
- Credit card number is in invalid format,
- Credit card number is invalid,
- Credit card number has an inappropriate number of digits etc.
Hint: For more information about Credit Card Number visit:
https://baymard.com/checkoutusability/creditcardpatterns
In an example;
For MasterCard, the card number must consisting from 16 digits and first 6 digits are between 222100272099 or first 2 digits are between 51-55.
You can use only if condition to check validation of card number.
Your homework will be graded based on your design.
Only send asp.net files like below. Send with shortest name and Zip format.
Examle; Name-Surname-HW1.Zip

![[Solved] WebProgramming Homework1-credit card verification as a WEB application](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] WebProgramming Homework3-website that displays book information](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.