Re: Credit Cards

From: Date: Fri, 09 Feb 2001 21:12:05 +0000
Subject: Re: Credit Cards
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39002@lists.php.net to get a copy of this message
on standard transaction servers where you post a string containing the transaction info (card, name, amount, login, password, etc) do the following: get a merchant account sign up for authorize.net, ccnow, ibill, etc. use an application called cURL to post the info to the server from php. dump the returned message into any array. look at the array and dependent on what is returned, either mark the purchase as successful, forward them to a thank you page, update the db, whatever and ship it. otherwise forward to a page that says what went wrong. this is a concise overview, as writing the actual code is beyond the scope of this thread, especially considering you did not post the actual code it will work with. if you're hacking code from another app, you may just want to consider writing a cart form scratch. it ain't hard. if you're decent with php, any cart you write will be better than any pre-existing one. because you can code it to fit your needs to a TEE. ----- Original Message ----- From: Jerry Lake <jerryl@europa.com> To: <php-general@lists.php.net> Sent: Friday, February 09, 2001 11:47 AM Subject: [PHP] Credit Cards > I have a basic shopping cart setup > and I am curious as to how I go about > being able to handle real-time credit > card transactions. I realize there are > card services like cybercash and such, > but how do I go about hooking cybercash > up to the existing cart? (the host already > has a merchant connection kit) > > Jerry Lake - jerryl@europa.com > Web Designer > Europa Communications - http://www.europa.com > Pacifier Online - http://www.pacifier.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#39002) next »