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 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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 - [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]