Apache Server for Windows Little Black Book:Electronic Commerce Schemes
function GetCookie (name)
{
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen)
{
var j = i + alen;
if (document.cookie.substring(i, j) == arg) {
var end = document.cookie.indexOf (";", j);
if (end == -1)
end = document.cookie.length;
return unescape(document.cookie.substring(j, end));
}
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
var m1='';
var gifstr=GetCookie("UsrType");
if((gifstr!=0 ) && (gifstr!=null)) { m2=gifstr; }
document.write(m1+m2+m3);
Keyword
Title
Author
ISBN
Publisher
Imprint
Brief
Full
Advanced Search
Search Tips
Please Select
-----------
Components
Content Mgt
Certification
Databases
Enterprise Mgt
Fun/Games
Groupware
Hardware
IBM Redbooks
Intranet Dev
Middleware
Multimedia
Networks
OS
Prod Apps
Programming
Security
UI
Web Services
Webmaster
Y2K
-----------
New Titles
-----------
Free Archive
To access the contents, click the chapter and section titles.
Apache Server for Windows Little Black Book
(Publisher: The Coriolis Group)
Author(s): Greg Holden with Matthew Keller
ISBN: 1576103919
Publication Date: 01/01/99
function isIE4()
{
return( navigator.appName.indexOf("Microsoft") != -1 && (navigator.appVersion.charAt(0)=='4') );
}
function bookMarkit()
{
var url="http://www.itknowledge.com/PSUser/EWBookMarks.html?url="+window.location+"&isbn=0";
parent.location.href=url;
//var win = window.open(url,"myitk");
//if(!isIE4())
// win.focus();
}
Search this book:
Previous
Table of Contents
Next
Configuring The Ecash Client
To receive payments from customers who use ecash, follow these steps:
1. You can begin using the ecash vendor software only after you have established an account with a bank that issues ecash (see the list of current ecash issuers at www.digicash.com/ecash/issuers).
2. Having obtained your bank account, follow the banks instructions to apply for a account. The requirements for merchant accounts vary from bank to bank.
3. Once your application is approved, the bank will provide you with the ecash Merchant Purse software, complete with an account ID and set-up password, as well as the ecash Merchant Kit.
TIP: When you receive your ecash merchant software, also ask for a graphical user interface client and an extra customer account, which will enable you to test the software.
4. Like CyberCash, DigiCashs ecash system uses scriptsin this case, Perl scripts are the only option. You must have Perl 5.001 or later available on your system. The Charge Script, for instance, is the heart of the system: It determines how much the product costs, sends a payment request to the customer, accepts the payment, and sends the item.
5. Unpack and install the ecash client executable.
6. Start up the ecash client program, which is named ec32t.exe.
7. Create a directory called Shop, and within the directory, create a simple text file called price_conf. This will contain the prices for your items. Create a subdirectory called data within the Shop directory, which will contain any files related to items you sell.
The directory Shop directory and its subdirectories will not be accessed by your customers, so for security reasons, you can close off access to everyone except DigiCash by adding the following to access.conf:
<LIMIT GET POST>
order deny,allow
deny from all
allow from digicash.com
</Limit>
8. Place your Web pages for your online store (this assuming you have your online store Web pages created already) in your server root directory.
9. Copy the Perl scripts nph-chfile.pl and nph-chcgi.pl from the ecash Merchant Kit files you installed into ScriptAlias for the site that will support ecash transactions. Also copy the shop library files shoplib.pl and shoplib_conf.pl into the same directory. (Most likely, this directory will be called cgi-bin, although you can name it anything you want.)
10. Open the shop script nph-chfile.pl in Notepad and edit the following variables:
The $shop_home variable should point to your shops home directory.
The $ecash_dir_parent_dir variable should point to the directory that contains the ecash directory. The ecash directory contains your ecash data files and coins.
The ecash_exe variable should point to your ecash client program.
The $debugOutputToClient variable should be set to yes.
11. Install the descriptions and images of the items you want to sell. You are required to install a We accept ecash logo on your Web page.
You can now start up Apache, launch your Web browser, and test out your site. Debug and log files are stored in the shop directory. You have two options for how customers connect to your ecash-enabled site. One is to accept ecash requests and payments by direct HTTP connection. In this case, the merchant ecash software connects to the client ecash software over port 5654. The second is to serve your storefront files from behind a firewall, if you are using Apache as a proxy server (see Chapter 13 for more details on this).
For more information on configuring and using ecash, download the documentation entitled Setting Up A Shop To Accept ecash. This is a Portable Document Format (.pdf) file, so youll need Adobe Acrobat Reader to view the contents.
Previous
Table of Contents
Next
Products | Contact Us | About Us | Privacy | Ad Info | Home
Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited.
Wyszukiwarka
Podobne podstrony:
291 293291 a293 296293 295291 29616 (293)06 (291)MTA 291 2 V, MTA 331 2 VMahabharata Księga V (Udyoga Parva) str 291 345289 291więcej podobnych podstron