Starting CCVS

To run CCVS for a particular application, you should be logged in as the user account who created that configuration. If you are using a ccvs user account for this purpose and are already logged into the system as a different user, type su ccvs to switch to the correct user.

When logged in as the user set up to run CCVS programs, you will need to start the ccvsd daemon for each merchant account. In addition, you will need to run the cvupload program on a regular basis. Using cron to run cvupload every day will accomplish this task; see the cron man pages for instructions concerning automating processes.

The ccvsd Daemon

To run CCVS, you must run the ccvsd daemon. The ccvsd daemon actually makes the phone calls and conducts the transactions. The ccvsd command must be followed by the name of the account specified when you configured the account.

For example, if you want to start processing transactions for the example sheet music retailer mentioned during the configuration program, and you installed the software in its default location of /usr/sbin, you would type in the following command to start ccvsd:

/usr/sbin/ccvsd music

Every time you add a merchant account, you need to start ccvsd for that account, if you want to process transactions for that account.

For more information on ccvsd, see the ccvsd man page.

The cvupload Command

Some transactions (such as authorizations) occur at the time that the credit card is presented. Other transactions (such as sales and returns) are saved up and are not processed immediately. These transactions are gathered together and are then processed as a group.

CCVS uses the cvupload program to do this batch processing. We recommend invoking cvupload as an (at least) daily cron job, so that cvupload will automatically run every day, without any intervention on your part.

For example, the following command would be used to do the periodic processing for the sheet music retailer:

/usr/sbin/cvupload music

For more information on cvupload, see the cvupload man page.