How can I configure the SMART.CFG file for SSL?

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

How can I configure the file SMART.CFG, to use SSL protocol, I'm not certain of what to do, I will apreciate if somone can help me is this matter.

Thanks

-- Manuel Tavares (mar114@hotmail.com), June 09, 1999

Answers

Hi,

To use the secure server set the "buy1" and "buy2" commands to start with "https://" the "s" is the what sends you to the secure server. Example: "https://www.foo.com/cgi-bin/s-mart.cgi?command=buy1" for "Purchase Items in Cart" that gets the "order.html" file and "https://www.foo.com/cgi-bin/s-mart.cgi?command=buy2" for "Buy It!" at the end of the "order.html" file to complete the transaction.

If you want a custom "order.html" with all the "sort", "exclude" and "required" fields all in place and extra input fields for "Company", "Address1", "Address2" "Country", and a "Ship to diffrent address" you can go to my site at "http://www.team-blankets.com/s-order.html" take a look if you like it feel free to copy it or send me an e-mail and I will send you the file. Just change the "https:/" to what you need for your site. Then set you e-mail address. Hope I helped you.

Jim

-- James L. Farmer (jim@team-blankets.com), June 09, 1999.


Moderation questions? read the FAQ