Difference between revisions of "CreditLine Command Line"
(→Simple Settlement Example) |
(→Security Parameters) |
||
Line 41: | Line 41: | ||
;Password=''password'':specifies password | ;Password=''password'':specifies password | ||
''Example''<br> | ''Example''<br> | ||
− | ;CCV_MANAGER | + | ;CCV_MANAGER NetworkName Action=Settle User=test1 Password=test1234 ResultFile=result.txt |
==Changing Merchant Index== | ==Changing Merchant Index== |
Revision as of 18:36, 21 September 2007
This article is part of the Payment Processing Software Library |
|
Get it... | |
Install it... | |
Connect to it... | |
Set it up... | |
Learn to use it... | |
→ Manual & User Guide | |
Fix it... | |
→ Errors & Troubleshooting | |
Get Help... | |
More Info ... | |
See also... | |
CreditLine Payment Processing Software Manual. This site can also be reached at http://docs.911software.com
→ Looking for better rates? Get a Free Credit Card Processing Cost Comparison!
Contents
Important Notes
Version Compatibility
This article describes the functionality present in the latest version. For more information, please see [Release Notes]. Make sure to [download and upgrade to the latest version] to be able to take advantage of the latest features.
Working Directory
Examples below assume that you are running the commands from the command line in the 911\bin directory. Enter the full path as necessary.
CreditLine Server Commands
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.
CreditLine Manager Commands
Scheduling Command Line Functions
Command Line Functions can be scheduled to run automatically through Windows Scheduled Tasks Service. Click here for more details. Make sure to add the Start In (working) path to the examples below as necessary.
Format
CCV_MANAGER NetworkName MerchantIndex=N Action=Action_Name Parameter1=Value1 ResultFile=file_path
→This starts a separate program and exits when the action is complete
- Network Name
- Identifies a unique client 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.
- ResultFile
- Path to a text file that will contain 1 if command is successful, or 0 if it fails. If only the file name is specified, it will be saved to the current directory.
CreditLine Manager Actions
Security Parameters
→ Supported Versions 3.01.09 and up.
If the action is protected and requires user name a password use the following parameters
- User=username
- specifies user name
- Password=password
- specifies password
Example
- CCV_MANAGER NetworkName Action=Settle User=test1 Password=test1234 ResultFile=result.txt
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 NetworkName Action=Settle ResultFile=result.txt
- Close out the current batch and settle it with the processor. Exit when done.
- 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.
Scheduled Batch Example
Here is an example of scheduled batch parameters:
→ Note: the server must be running for the batch to go through.
Controlling 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 ResultFile=result.txt
- runs the batch and exits; no report is printed
Multiple Merchants
For Multiple Merchant Setup you can enter the Merchant Index like so:
- CCV_MANAGER.EXE MyName MerchantIndex=1 Action=Settle ResultFile=result.txt
- runs the batch for merchant index 1 and exits; no report is printed
→ Use one task per Merchant Index.
See Changing Merchant Index for more details.
Reports
- BatchReport
- Print the batch report
- CardDetailReport
- Print the card detail report
- IrregularityReport
- Print the irregularity report
Saving Report To A File
See Export
Report Example
- CCV_MANAGER MyName Action=BatchReport ResultFile=result.txt
- Print batch report. Exit when done.
Export
- Export
- Export the journal (batch contents). Exit when done.
- BatchReportExport
- Save Batch Report to a file. Exit when done.
Export Parameter Format
- Action=Export BusinessDate=date OutputFile=file_path ResultFile=res_file_path
- export batch data
- Action=BatchReportExport OutputFile=file_path ResultFile=res_file_path
- save batch report to a file
Parameter Description
- 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 ResultFile=res_file_path
CCV_MANAGER CCVMGR1 Action=Export BusinessDate=Current OutputFile=\ExpCurrent.txt ResultFile=res_file_path
CCV_MANAGER CCVMGR1 Action=BatchReportExport OutputFile=\ExpBatchReport.txt ResultFile=res_file_path
See Also
Import
- Import
- Import the journal (batch contents). Exit when done.
Import Parameter Format
Action=Import InputFile=file_path ResultFile=res_file_path
- file_path
- specifies the file to import the journal from.