CTI_RunSingleTransQuery()
This subprocedure has been removed as of CTI version 3.5.0.
This subprocedure can be used to download and/or process a CyberSource Single Transaction Query report for a given transaction.
When downloading a report, or processing a manually downloaded report, a record in CTIRPT will be created for the report file.
When processing the report, the data will be stored in the following DB2 physical files:
If an error occurs, this subprocedure will return *OFF, and information about the error will be present in the pErrorDS parameter which contains a CTI_ErrorDS_t data structure.
Subprocedure Prototype
|
Returns *OFF if an error occurs during processing, *ON otherwise. |
|
A unique ID generated with CTI_NextUniqueID(), used to identify the report in CTIRPT Required |
|
A datastructure containing configuration information for the Single Transaction Query Required |
|
Error data structure used to capture subprocedure and CyberSource errors Required |
Data Structures
|
|
|
Merchant ID used to process the transaction Required |
|
If Operation is set to CTI_DOWNLOAD_REPORT (or set to perform both operations), this field can be used to specify an IFS filepath where the downloaded report to be saved. If no value is provided, the report will be saved in the default download directory set in CTICFG. If Operation is set to CTI_PROCESS_REPORT, this field can be used to specify an IFS filepath to a previously downloaded report file that is to be parsed. If no value is provided, the subprocedure will retrieve the filepath from the associated CTIRPT record or look in the default download directory. |
|
Which operation(s) is to be performed by the report subprocedure Valid Values:
Default Value: |
|
The request ID of the transaction to be queried. If this field is specified, do not specify values for MerchRefNbr and TransDate. |
|
Merchant reference number of the transaction to be queried. If this field is specified, TransDate must also be set. |
|
The date of the transaction to be queried |
|
Used when querying the status of a capture request Valid Values:
|
|
|
|
Name of subprocedure returning error |
|
Message ID of error message |
|
Error message text |
|
Error message source |
|
IFS filepath of generated log file |