Home   |   Products   |   Order   |   Support   |   ? !1 UK Web Hosting
 

Advanced CyberCash CashRegister Installation Directions

NOTE: You must refer to the CyberCash Cash Register Installation instructions (if you haven't already) before continuing.

Connect to your Virtual Server via Telnet or SSH and execute the following commands.

  1. First create a symbolic link in the ~/usr/home/LOGIN-NAME directory which points back to the /usr/home/LOGIN-NAME if it doesn't already exist:

    % cd ~/usr/home/LOGIN-NAME
    % ln -s LOGIN-NAME ../..
    

  2. Install Perl5, if it hasn't already been installed.

  3. Run the install script (be sure to accept the licence agreement):

    FreeBSD
    % cd ~/www
    % /usr/local/bin/install-mck3205-freebsd32
    
    BSD/OS
    % cd ~/www
    % /usr/local/contrib/install-mck-3202-bsdi
    

  4. Rename the mck* directory to cybercash:

    % mv mck* cybercash
    

  5. Run the configuration script:

    % cd ~/www/cybercash
    % ./configure -mdp
    

    Here are the questions that you will be asked and the appropriate answers:

    Q: What type of CGI scripts would you like to support?
    A: Select C or Perl depending on the customer. This will be Perl in most cases.

    Q: Do you wish to copy the build-merchant script to a public location?
    A: No.

    Q: Where do you want to install the Perl utilities?
    A: Accept the default. It should be: /usr/home/LOGIN-NAME/usr/local/etc/httpd/cybercash/perl-api

  6. Run the build merchant script from the ~/www/cybercash directory:

    % ./Install/build-merchant
    

    Here are the questions you will be asked and the appropriate answers:

    Q: Enter your CyberCash ID:
    A: Enter in the customers CyberCash ID without any trailing spaces.

    Q: Enter your Hash Secret:
    A: Enter in the customers Hash Secret without any trailing spaces (CyberCash is no longer using a Hash Secret, so you can use your CyberCash ID here as well).

    Q: Enter your Store Front Name:
    A: Enter in the customers Domain name. EX. www.domain.com

    Q: Enter your Customer Service Phone Number:
    A: Enter in the number if you have it. If not, I enter in the number for 800 information. Ex. 888-555-1212

    Q: Enter your Merchant Key:
    A: Enter in the customers Merchant Key without any trailing spaces.

    Q: Enter the full URL of your cgi-bin alias:
    A: Use "https://domainname.com/mck-cgi

    Q: Enter the full URL of your documents alias:
    A: Accept the default. It should be: https://domainname.com

    Q: Enter the full Unix path to your secure http server cgi-bin directory:
    A: /usr/home/LOGIN-NAME/usr/local/etc/httpd/cybercash/mck-cgi
    (Substitute your Virtual Server login ID for LOGIN-NAME)

    Q: Enter the full Unix path to your secure http server documents directory:
    A: /usr/home/LOGIN-NAME/usr/local/etc/httpd/htdocs
    (Substitute your Virtual Server login ID for LOGIN-NAME)

    Q: Do you want to support Credit Card purchases using the Microsoft wallet?
    A: No, unless the customer has specified otherwise.

    Q: Will you be selling Soft Goods (payloads)?
    A: Yes, unless the customer has specified otherwise.

    Q: Would you like to review your settings?
    A: Yes or No depending on your confidence level of your typing skills.

    Q: Would you like to install the configured files?
    A: Yes

    Q: (Possibly) Target directories already seem to be present. The installer can:
    (O)verwrite ALL existing files
    (P)rompt for disposition of existing files
    (U)pdate non-exisitant files only
    (Q)uit
    A: O for overwrite unless you REALLY know what you are doing.

  7. Copy the example.auth script to the mck-cgi directory and rename it so that the customer knows its a script. Replace CCID with the CCID for the customer:

    % cp CCID-stg/perlscripts/direct/example-auth mck-cgi/example-auth.pl
    

  8. Test the example-auth.pl script:

    % cd mck-cgi
    % virtual ./example-auth.pl
    

    If the script fails with "authtype" errors, change the authtype value in the hash, %result, in the example-auth.pl script to "mauthcapture". Here is the hash:

    %result = &SendCC2_1Server('mauthonly',
                           'Order-ID', $orderID,
                           'Amount', $amount,
                           'Card-Number', $pan,
                           'Card-Name', $name,
                           'Card-Address', $addr,
                           'Card-City', $city,
                           'Card-State', $state,
                           'Card-Zip', $zip,
                           'Card-Country', $country,
                           'Card-Exp', $exp);
    

  9. Create the ScriptAlias entry in the httpd.conf or srm.conf file:

    ScriptAlias /mck-cgi/ /usr/local/etc/httpd/cybercash/mck-cgi
    

  10. Test the test-mck.html form. Go to:

    http://YOUR-DOMAIN.NAME/test-mck.html

    Click submit with the value of 1.50 USD.

    On the second page use:

    Card Number: 4111111111111111 (that a 4 followed by 15 1's)
    Exp Date: 12/00


    Site Map  |  Contact Us!
    Copyright © 1998-2001 Bright Builders, Inc. All rights reserved.
    Last Modified: Mon Apr 30 18:47:48 2001 GMT
    Page Built: Mon Jul 2 19:59:12 2001 GMT

   
A L S O  S E E
· Virtual Server Help