Difference between revisions of "CreditLine Command Line"
(→Format) |
(→Export Examples) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 51: | Line 51: | ||
<br>The range of merchant index is 0 to 9. | <br>The range of merchant index is 0 to 9. | ||
===Changing Merchant Index Example=== | ===Changing Merchant Index Example=== | ||
− | ;CCV_MANAGER MyName MerchantIndex=2 User=test1 Password=test1234 | + | ;CCV_MANAGER MyName MerchantIndex=2 User=test1 Password=test1234: starts the manager with MerchantIndex 2 |
==Settlement== | ==Settlement== | ||
Line 87: | Line 87: | ||
See [[#Export|Export]] | See [[#Export|Export]] | ||
===Report Example=== | ===Report Example=== | ||
− | ;CCV_MANAGER MyName Action=BatchReport | + | ;CCV_MANAGER MyName Action=BatchReport:Print batch report. Exit when done. |
==Export== | ==Export== | ||
Line 104: | Line 104: | ||
===Export Examples=== | ===Export Examples=== | ||
− | '''CCV_MANAGER CCVMGR1 Action=Export BusinessDate=20050109 OutputFile=\ExpHistory.txt User=test1 Password=test1234 | + | '''CCV_MANAGER CCVMGR1 Action=Export BusinessDate=20050109 OutputFile=\ExpHistory.txt User=test1 Password=test1234 '''<br> |
− | '''CCV_MANAGER CCVMGR1 Action=Export BusinessDate=Current OutputFile=\ExpCurrent.txt User=test1 Password=test1234 | + | '''CCV_MANAGER CCVMGR1 Action=Export BusinessDate=Current OutputFile=\ExpCurrent.txt User=test1 Password=test1234 '''<br> |
− | '''CCV_MANAGER CCVMGR1 Action=BatchReportExport OutputFile=\ExpBatchReport.txt User=test1 Password=test1234 | + | '''CCV_MANAGER CCVMGR1 Action=BatchReportExport OutputFile=\ExpBatchReport.txt User=test1 Password=test1234 '''<br> |
− | + | ||
===See Also=== | ===See Also=== | ||
Line 116: | Line 115: | ||
===Import Parameter Format=== | ===Import Parameter Format=== | ||
− | '''Action=Import InputFile=''file_path'' User=''username'' Password=''password'' | + | '''Action=Import InputFile=''file_path'' User=''username'' Password=''password'' |
;''file_path'':specifies the file to import the journal from. | ;''file_path'':specifies the file to import the journal from. | ||
Latest revision as of 19:35, 30 October 2013
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 User=username Password=password ResultFile=file_path
→This starts a separate program and exits when the action is complete.
→Note: All parameters except Action are optional, see action descriptions below.
- 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.
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
CreditLine Manager 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 User=test1 Password=test1234
- 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=1
- do not print the batch
- NoPrinting=0
- force print the batch, even if user is expired (otherwise the report won't print)
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
- 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 User=username Password=password ResultFile=res_file_path
- export batch data
- Action=BatchReportExport OutputFile=file_path User=username Password=password 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 User=test1 Password=test1234
CCV_MANAGER CCVMGR1 Action=Export BusinessDate=Current OutputFile=\ExpCurrent.txt User=test1 Password=test1234
CCV_MANAGER CCVMGR1 Action=BatchReportExport OutputFile=\ExpBatchReport.txt User=test1 Password=test1234
See Also
Import
- Import
- Import the journal (batch contents). Exit when done.
Import Parameter Format
Action=Import InputFile=file_path User=username Password=password
- file_path
- specifies the file to import the journal from.