0

How to create a credit card payment php code, can someone help me please

user present their credit card information (e.g., credit card number, expiration date, and credit card verification number

4th Feb 2017, 2:54 PM
Nico Thompson
6 Respostas
+ 2
Again:" Bad Idea! If you are asking here, you are asking for trouble. " There is a tutorial about php form with input filtering and validation on w3school http://www.w3schools.com/php/php_form_complete.asp Better suggestion: if you are not sure about what you are doing, don't mess with credit cards and consider using reliable modules and services like paypal.
4th Feb 2017, 3:35 PM
seamiki
seamiki - avatar
+ 1
Bad Idea! If you are asking here, you are asking for trouble.
4th Feb 2017, 3:23 PM
seamiki
seamiki - avatar
0
Method use post You can create input type text its very simple to create
4th Feb 2017, 3:20 PM
Shubham Surya
Shubham Surya - avatar
0
i have to performing server-side validations, with minimal client-side validations. design a credit card payment page that asks the user to: select which credit card is being used (radio buttons) Types: VISA, MAGNA, MASTER CARD, enter the credit card number (textbox), select its expiration date: ask the user to input the month and year of the expiration date, and then a drop-down menu of twelve choices (January through December) for the month, and a drop-down menu of six choices (2017-2022) for the year.
 enter the credit card’s CCV. (textbook)
4th Feb 2017, 3:30 PM
Nico Thompson
0
@ Trickzn Trick ... how do I do it...I really need help
4th Feb 2017, 3:35 PM
Nico Thompson
- 1
If the credit card selected is VISA, then the:
 credit card number (CCN) must contain only digits;
 CCN must be exactly 15 digits in length;
 CCN must not be all zeroes;
 credit card number, taken as a 15-digit integer, must be a multiple of 113. Example: 139506171583899 is a multiple of 113, whereas 224604938284130 is not. If the credit card selected is MAGMA, then the CCN: must contain only digits;
 must be exactly 16 digits in length, but no larger than 9007000000000000; must not be all zeroes; taken as a 16-digit integer, with the digit positions numbered from 1..16 from most- to least-significant, must have the sum of the four digits in positions 5..8 equal the sum of the four digits in positions 9..12.
Example: 2857463206813856 is valid because 4+6+3+2=15 and 0+6+8+1=15. If the credit card selected is MasterCard, then the CCN: must contain only digits; must be exactly 16 digits in length, but no larger than 9007000000000000; must not be all zeroes; taken as a 16-digit integer, with the digit positions numbered from 1..16 from most- to least-significant, must have the digit in position 8 be even, the digit in position 12 be odd, and the digit in position 16 be even.
Example: 8473658671239584 is valid because 6 is even, 3 is odd, and 4 is even. Ensure that none of the controls are left blank.
4th Feb 2017, 3:32 PM
Nico Thompson