Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello

I want to create an online payment method

I studied the way to verify the credit card, but I still don't know how to:

verify the exp date,

verify the 3 security digits

bind the registered card number to e-bank, or to my credit card

is there any code or article related to my question ?

I tried and searched but I got no thing


thanks all :)
Posted

1 solution

I believe what you have found for verifying the credit card number is actually just ensuring that the number is a valid type (Visa, Mastercard, etc.) Actually verifying the card and the other information you specified would require a connection to the credit card company. This takes an agreement with the company (Visa, Mastercard, etc.) Included in that agreement is the necessity of complying with the PCI standards at the very least. If you actually get into banking issues (storing money electronically for instance), you would have to follow other banking laws. Creating an online payment system is very high-level coding. You need to be dead-certain you know exactly what you are doing so you don't compromise security. My best advice would be to use a payment gateway system and then just use their API. There are a lot of reputable ones out there (including PayPal but there are other ones that are cheaper) that will allow you to verify the cards through them.

Here is an article on how to integrate payments into an ASP.NET site:

http://www.west-wind.com/presentations/aspnetecommerce/aspnetecommerce.asp[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900