This directory contains version 1.0 of an interface to CyberCash for AOLServer. It was written by Jin Choi (jsc@arsdigita.com). Please send me any feedback/modifications you may have. This CyberCash interface is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, as published by the Free Software Foundation; either version 2, or (at your option) any later version. This software was developed under Solaris 2.6 using gcc 2.7.2.3, AOLserver 2.3, and the Cybercash MCK 3.2.0.2. Other environments or versions may or may not require changes. INSTALLATION * Unpack, configure, and build the MCK from CyberCash. * Edit the variables at the top of the Makefile. * Run 'make install'. * Edit your AOLserver nsd.ini to include cybercash=cybercash.so under the modules section. * Restart AOLserver. This module defines three Tcl procedures for the AOLserver API: cc_generate_order_id, returns a unique order ID (not useful if you are generating keys with an Oracle sequence or whatever) cc_send_to_server_21, access to the direct Cybercash API documented in Appendix B of the CashRegister Service Development Guide (1.0) cc_do_direct_payment, access to the directpaycredit facility documented in Appendix A of the CashRegister Service Development Guide (1.0) Usage: cc_generate_order_id -> string cc_send_to_server_21 Takes two ns_sets, for input and output values. Does not clear out the output ns_set before filling it with results. cc_do_direct_payment first argument is URL of Cybercash gateway (http://cr.cybercash.com/cgi-bin/directcardpayment.cgi) Does not clear out POP ns_set and token list ns_set before filling them with results.