PDA

View Full Version : How best to do this?


Flo
10-16-2001, 11:18 AM
I have a client that doesn't need a shopping cart per se, but will need customers to be able to fill out a form and also give their credit card numbers. I was thinking of installing agora.cgi but that's a fullout cart system which is overkill since there won't be any "items" to buy. Really all I want to do is to split the credit card number for security as agora.cgi does (emails 1/2 the number and you have to go online to retrieve the other half).

Is there an alternative method that would be simple to do?

Thanks,
Flo

Stoker
10-17-2001, 01:27 AM
That should be very easy.. basically all you need is a form which uses php tags echoing their own variable as value (in case validation fails), make the form post to itself, and validate the CC info and put in a MySQL table (encrypted in a blob-field).
I don't know of any premade scripts, I would look for functions/partial-scripts at http://php.resourceindex.com and http://cgi.resourceindex.com
..wouldn't take more than a couple of hours to put together when you have the key info needed :)

mopey
10-17-2001, 01:41 AM
http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/

has things split into catagories from full carts to billing, to CC validation. There should be something to suit your needs there.

Greg

Flo
10-17-2001, 09:36 AM
Thanks guys,
Found a free script on the CGI Resource site that will work perfectly.
http://www.dtp-aus.com/cgiscript/afrmscrp.shtml

Have a lovely day!

mopey
10-17-2001, 09:42 AM
Originally posted by Flo

http://www.dtp-aus.com/cgiscript/afrmscrp.shtml


Did you take a look at his listmerge and elists scripts? I've used them a few times - very good. :)

Greg