Re: [PHP] credit card validations..
- Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Php. Net [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:50 AM Subject: [PHP] credit card validations.. The owner of the php site I am working on just told me he want to do credit card validations on the site. Currently, we aren't doing anything with credit cards. I have no idea as to where to even start with this. Should I simply go the paypal route? Thanks, Eddie Credit card validation is somewhat involved but not terribly difficult. There are several good tutorials (such as the one below) and many classes and functions already written if you don't feel like reinventing the wheel. Good luck. http://www.sitepoint.com/article/728 -Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] credit card validations..
Thanks Kevin! Forgive my ignorance of the subject but would this just say the card was valid? How do you go about actually charging the users card and get the funds? Thanks, Eddie -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:58 PM To: Edward Peloke; [EMAIL PROTECTED] Php. Net Subject: Re: [PHP] credit card validations.. - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Php. Net [EMAIL PROTECTED] Sent: Thursday, March 20, 2003 11:50 AM Subject: [PHP] credit card validations.. The owner of the php site I am working on just told me he want to do credit card validations on the site. Currently, we aren't doing anything with credit cards. I have no idea as to where to even start with this. Should I simply go the paypal route? Thanks, Eddie Credit card validation is somewhat involved but not terribly difficult. There are several good tutorials (such as the one below) and many classes and functions already written if you don't feel like reinventing the wheel. Good luck. http://www.sitepoint.com/article/728 -Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] credit card validations..
At 20:00 20.03.2003, Edward Peloke spoke out and said: [snip] Forgive my ignorance of the subject but would this just say the card was valid? How do you go about actually charging the users card and get the funds? [snip] To be able to actually charge a CC you need a contract with a clearing house (FirePay, for example). There's no standard to it; every clearinghouse I've ever dealt with uses its own protocol. Generally this involves transmitting data via POST and receiving (asynchronously) transaction data via SSL. You might consider using cURL for this kind of stuff; most of them have working examples in Java, PHP, ASP, etc. -- O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] credit card validations..
--- Edward Peloke [EMAIL PROTECTED] wrote: Forgive my ignorance of the subject but would this just say the card was valid? How do you go about actually charging the users card and get the funds? I think (without looking) Kevin's advice was to help you determine whether a credit card number was of the valid format. Charging a credit card is not too different online than it is at a physical cash register - you need a merchant account, etc. Many banks provide some sort of API for you to use if you establish a merchant account with them, especially since online transactions have become more important. Things like PayPal charge you a bit of money in exchange for them being the merchant (as I understand it anyway). So, there is no magic PHP code that is going to set this up for you. You need to fill out some paperwork somewhere. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php