PX Batch ProcessorThe Payment Express® Batch Processor is designed to process input files containing credit card payment information for authorisation. This application is designed to interface to the Payment Express Server.
Using the Batch ProcessorBatching Scenarios
InstallationAccess the Payment Express Batch Processor download at https://www.paymentexpress.com/pxmi/logon Open this download file and press Install. By default, the application will be installed to the boot drive in directory "Program Files\Direct Payment Solutions\PxBat".
Use the Setup Tab to modify settings for Payment Express Batch Processor. Configuration Settings
Input File FormatInput File format is CSV (Comma Separated Value), Excel style. Each line of the file represents an authorisation, purchase, completion or refund request and has the following format: TxnType,Account,MerchantReference,CardNumber,Expiry,Amount,DpsTxnRef,CPC,
Sample Input Record Format P,9997,Ref1,4111111111111111,1010,1.23,,,TEST NAME1 Output File FormatInput File format is CSV (Comma Separated Value), Excel style. The original filename is used with the suffix "_OUT" appended to the original name. The file type .CSV is preserved. Each line of the file represents an authorisation, purchase, completion or refund result and has the following format: TxnType,Account,MerchantReference,CardNumber,ExpiryDate,Amount,DpsTxnRef(Input), If the output file name already exists (IE: if the same input file name is used before the original output file is deleted), then a date stamp is appended after the _OUT suffix. In this case, the output filename is INPUT_OUTyyyymmddhhmmss.CSV
Sample Output Record Format P,0,Ref1,"4988720008880035",0102,133.20,,345,A J CARDHOULD,1,00,ACCEPTED,886453, The above output line describes a Purchase transaction for account 0, reference "Ref1", card number 4988720007770035, Expiry Date January 2002, amount $133.20, CVC2 value 345, Card holder name is "A J CARDHOULD", Result is 1 (approved), ResponseCode is "00", Text is ACCEPTED, TxnRef is 100035REF1, Date is 12th Sep 1999, Time is 6:09:22pm, Approval Code is 886453 and Date of Settlement is 12 Sept 1999 Batching ScenariosPurchase Transactions
Note: The DPSTxnRef (0000000300a7a5e9) that can be used later for refund transactions is highlighted in the output. Refund Transactions using DPSTxnRef(Version 3.32 & above only)
Note: The DpsTxnRef is highlighted above. This value is given as the output in the original purchase, complete or billing transaction. All refund transactions need to be matched with the original transaction. Authorisation Transactions
Note: The Pre-Authorisation code (00113400a7a5c400000003) is given back and can
be used to complete transactions. Completion Transactions using Pre-Auth number
Note: The Pre-Auth Number is highlighted above. This value was given as the output from the original authorisation transaction. Completion transactions using DPSTxnRef(Version 3.32 & above only)
Note: The DpsTxnRef is highlighted above. This value was given as the output from the original authorisation transaction. A further DpsTxnRef is given back in the completion response and is unique to the complete transaction and would be used to match a refund against the transaction. Billing Transactions using BillingID
Note: On the Setup tab of the PXBAT control panel the check box named "DPS
BillingId" needs to be unchecked. Billing transactions using DpsBillingID(Version 3.32 & above only)
Note: On the Setup tab of the PXBAT control panel the check box named "DPS
BillingId" needs to be checked. Adding billing cards(Version 3.46 & above only)To add a billing card to the Billing Vault and receive a token for subsequent billing purposes you will use a different message format. A format specifier, "X0006", must appear as the first field in every record. Valid TxnTypes are "P", which processes a purchase transaction and stores the card details, "A", which processes an authorisation transaction and stores the card details, and "H", which simply stores the card details without processing a financial transaction. X0006, TxnType, Operation, Account, Merchant Reference, Card Number, Expiry, Amount, Issue Number, Card holder name, Billing ID The Billing ID field can be left blank if you intend to obtain and use the DpsBillingId only. For "H" transaction type use an amount of "1.00" which will be disregarded as no financial transaction takes place.
The output format has the following properties in addition to the input message - AVS TransactionsAddress verification uses a different file format. The following should be used for the AVS message format and the format specifier "X0003" must appear as the first field in every record.
The output format has the following properties in addition to the input message - Airline Transactions(Version 3.44 & above only)Airline data uses a different file format. The following should be used for the
airline data message format and the format specifier "X0004" must appear as the first field in every record.
The output format has the following properties in addition to the input message - Airline and AVS Transactions(Version 3.44 & above only)Airline data can be submitted in conjunction with AVS data. The following should be used for the
airline data/AVS message format and the format specifier "X0005" must appear as the first field in every record.
The output format has the following properties in addition to the input message - Field PropertiesAcquirerDate (output) Max 8 bytes
Contains the date the transaction was processed in YYYYMMDD format. This field may be blank if the transaction was rejected locally or otherwise not
processed by the bank host.
AcquirerTime (output) Max 8 bytes
Contains the date the time of the day the transaction was processed in HHMMSS format. This field may be blank if the transaction was rejected locally or otherwise not
processed by the bank host.
Amount (input) Max 13 characters
Set the amount to be charged or refunded (depending on the TxnType).
Format is d.cc (d=dollars, c=cents). Max amount is 99999.99
AVS Post Code (output) Datatype: BSTR
Max 20 bytes
Address Verification System property. Post Code that is listed on the customer's bank statement.
AVS StreetAddress (output) Datatype: BSTR
Max 60 bytes
Address Verification System property. Address that is listed on the customer's bank statement.
AVS Action (output) Datatype: INT
Max 1 bytes
Address Verification System property. Values are 0,1 & 2.0 - do not check AVS details with acquirer, but pass them through to Payment Express only. 1 - Attempt AVS check. If the acquirer doesn't support AVS or is unavailable, then transaction will proceed as normal. If AVS is supported it will check the transaction and give the result. 2 - The transactions needs to be checked by AVS, even if isn't available, otherwise the transaction will be blocked. The value will most likely be 1 for most circumstances. BillingId (input) Max 32 characters
This is an identifier generated by the merchant application that is
used to identify a customer or billing entry and can be used as input instead
of card number and date expiry for subsequent billing transactions.
CardHolderName (output) Max 64 characters
The cardholder name as it appears on customer card.
CardNumber (input) Max 20 characters
The card number. No leading or embedded blanks are permitted. Must contain a
numeric value.
Corporate Purchase Card (input) Mandatory 30 characters
Amex Corporate Purchase Card transactions. Extended data, which will appear on corporate cardholders statements if your merchant account supports it. This field needs to be exactly 30 characters, with the first character being an "A". The CPC field contains 2 corparate purchase card reference fields, with the 1st 9 characters after the "A" belonging to Corporate Purchase Card data 1 and the last 20 characters of the CPC input field belonging to Corporate Purchase Card data 2. You will need to pad if your reference is shorter than the required field length.
Example - P,9997,Reference,4111111111111111,1010,1.23,,A4387436 Payment March ,TEST NAME DateExpiry (input) Max 4 bytes
Indicates card expiry date. Format is MMYY where MM is month 01-12 and Year
00-99. do not insert "/" or other delimiter. Some acquirers do not require this field - contact DPS for more details. Also not required if BillingId/DpsBillingId is used.
DateSettlement (output) Max 8 bytes
Indicates Date of settlement (when money will be deposited in Merchant bank
account) if this is supported by the Acquirer, otherwise contains the
date the transaction was processed in YYYYMMDD format.
DpsTxnRef (input/output) Max 16 Characters
Returned for every transaction. If the transaction was approved, DpsTxnRef can
be used as input to a Refund or Completion transaction for other DPS products. Used to specify a transaction for
refund without supplying the original card number and expiry date. The
DpsTxnRef value returned by the original approved Auth transaction must be
supplied also when doing a complete transaction.
DpsBillingId (input) Max 16 Characters
When output, contains the Payment Express generated BillingId. Only returned for
transactions that are requested by the application with the EnableAddBillCard
value set to 1 (true) indicating a token billing entry should be created.
MerchantReference (input) Max 32 Characters
Free text to appear on transaction reports.
ResponseText (output) Max 20 Characters
The Response Text is associated with ResponseCode. For successful transactions this is usually Approved and for unsuccessful transactions this can be a number of texts depending on why the transaction declined. For example it could be Card Expired, Declined, Invalid Card, REFER TO CARD ISSUER, DO NOT HONOUR. All acquirers have their own response texts and should be displayed for better understanding of why the transaction got declined.
ResponseCode (output) Max 2 characters
2 character response code from the bank. Explanation of the ResponseCode is usually provided in the ResponseText.
Result (output) Boolean true/false
Indicates success or failure of the transaction. 1 for successful and 0 for an unsuccessful transaction.
TxnType (input) Max 1 Character
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

