 |
|
WTS provides a postback handler script called
w_mem.cgi located at
http://www.achdebit.com/files/wts-setup.tar.gz
The w_mem.cgi script supports the following password
management types: NSCA, DBM, NSCA Group, Netscape.
You'll need to take note of the following information:
SubID: This is provided per site and if required, per
billing option per site.
System Password: This is provided in the initial setup email.
|
|
| Below is the contents of
wts_install.txt in the tarball: |
This information is provided by Web
Transaction Services, Inc. for their Merchants. If you have any
questions or concerns about this document please contact support@achbill.com.
Documentation written by: Charles Chambers & John Cruce
1. Unzip wts-setup.tar.gz (gzip -d wts-setup.tar.gz)
2. Untar the wts-setup.tar (tar xcf wts-setup.tar)
3. Move the files in the "cgi-bin" (extracted from the tar file)
directory
to the cgi-bin directory for the website.
4. Move the "wts" (extracted from the tar file) directory, if
necessary. This
directory can be located anywhere but it should be in a convenient
location and
*outside* of the HTML directory for the website.
5. Create (if necessary) "data" and "logs" directories below the "wts"
directory.
The "data" and "logs" directory need to be writable by the web
server.
6. Edit the following paths in the "cgi-bin/w_mem.cgi" file:
$base_dir = "PATH_TO_WTS_DIRECTORY"; *** FROM No. 4 ***
$site_file = "$base_dir/site_config";
$data_dir = "$base_dir/data";
$log_dir = "$base_dir/logs";
7. (OPTIONAL)
A. If you would like to log all data sent to the script, set the
following:
$logalldata = 1;
You can leave this as the default, but to override, change the
following:
$reportfile = "$data_dir/signupdata.txt";
B. If you would like to send out a secondary e-mail, set the
following:
$secondemail = 1;
Edit the location to sendmail if necessary:
$mailprog = "/usr/sbin/sendmail";
8. If Netscape Server, edit the following paths:
$netscape_auth = "PATH_TO_AUTHENTICATION_DB";
DEFAULT: /local/Netscape/ns-home/authdb
$netscape_prog = "PATH_TO_DATABASE_PROGRAMS";
DEFAULT: /local/Netscape/ns-home/extras/database
Note: These should be the physical (not logical) path for the
Netscape Admin. Server
If you have changed the program names, please edit "%netscape_cmd"
to reflect your changes.
9. Edit the "site_config" file in the "wts" directory:
Format: SITE_ID,ACCESS_PASSWORD,PASSWORD_TYPE,PATH_TO_PASSWD_FILE
NSCA example: SITE_ID,bcra500,htpasswd,PATH_TO_ACCESS_PASSWD_FILE
DBM example: SITE_ID,bcra500,dbm,PATH_TO_ACCESS_PASSWD_FILE
NSCA GROUP example:
SITE_ID,bcra500,htgroup:GROUPNAME,PATH_TO_ACCESS_PASSWD_FILE:PATH_TO_ACCESS_GROUP_FILE
Note: Please call for your SITE_ID if you do not know it.
***CAUTION***
Changing the password "bcra500" without calling first will result in
denied transactions!
***CAUTION***
10. Verify that the password file (PATH_TO_PASSWD_FILE and
PATH_TO_ACCESS_GROUP_FILE)
is writable by the web server.
*******************************************Variables Passed to the
w_mem.cgi script**********************************
* Here are the fields that are passed to the w_mem.cgi script during
the transaction.
action (required) -- Tell the script to add, delete, check for, or
change username
siteid (required) -- SiteID/SubID that is given to you from WTS
sys_pass (required) -- System password for anything that the script
does with your password file
username (required) -- Username that was entered by the customer
password (required) -- Customer's password
* These additional fields are passed to the w_mem.cgi script when
the transaction is approved
orderinfo -- Any data that you appended to the end of the join link
like referral information
extra -- Same as above
authno -- Authorization Number
historyid -- Unique Transaction ID
orderid -- Order Number for transaction
result -- Result of the transaction -- whether it was accepted or
declined
amount -- TAmount that the customers account was debited for
In addition, all fields on the signup form are returned to the
script except for the account information.
* The variables listed above can be used for your own site specific
reporting or data collection. |
|
|
|
| |
|
|