CreditLine Command Line

From Payment Processing Software Library
Revision as of 01:04, 3 March 2006 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CreditLine Header|Manual

Starting CreditLine Server From Command Line

Format

CCV_SERVER NetworkName

Network Name
Identifies a unique server on the network. The length of NetworkName has to be 7 characters. It has to be the first in the command line string. EVERY INSTANCE has to have a unique name. If you are starting more than one Manager, for instance with a batch command, make sure to assign it a unique network name.

Executing CreditLine Manager Functions From Command Line

Format

CCV_MANAGER NetworkName MerchantIndex=N Action=Action_Name Parameter1=Value1 Parameter2=Value2 ...

→This starts a separate program and exits when the action is complete

Network Name
Identifies a unique manager on the network. The length of NetworkName has to be 7 characters. It has to be the first in the command line string. EVERY INSTANCE has to have a unique name. If you are starting more than one Manager, for instance with a batch command, make sure to assign it a unique network name.

Actions

Changing Merchant Index

→This applies to multiple merchant account setups only. This directive is optional
Changes manager merchant index
The range of merchant index is 0 to 9.

Changing Merchant Index Example

CCV_MANAGER MyName MerchantIndex=2 
starts the manager with MerchantIndex 2

Settlement

Simple Settlement Example

CCV_MANAGER MyName Action=Settle
Close out the current batch and settle it with the processor. Exit when done.

Controling Printing

By default Action=Settle will print a batch report. To control this aspect use the following parameter:

NoPrinting=N
do not print the batch if N=1

Example

CCV_MANAGER MyName Action=Settle NoPrinting=1
runs the batch and exits; no report is printed

Reports

BatchReport
Print the batch report

Report Example

CCV_MANAGER MyName Action=BatchReport
Print batch report. Exit when done.

Export

Export
Export the journal (batch contents). Exit when done.

Export Parameter Format

Action=Export BusinessDate=date OutputFile=file_path

date
yyyymmdd (e.g. 20050109)
exports the journal for specified business date
current
exports the journal for current business date
file_path
specifies the file to export the journal to.

Export Examples

CCV_MANAGER CCVMGR1 Action=Export BusinessDate=20050109 OutputFile=\ExpHistory.txt
CCV_MANAGER CCVMGR1 Action=Export BusinessDate=Current OutputFile=\ExpCurrent.txt

[Category:CreditLine Manual|Command Line]