Developer's Guide

Table Of Contents
Gateway Developer Guide and Reference 07 January 2014 183
Submitting Purchasing Card Level 2 and 3 Transactions
Heartland Purchasing Card Transaction Processing
D
Example Heartland Level 3 MasterCard Transaction Parameter String.
TRXTYPE=S&TENDER=C&PARTNER=Partner&USER=User&PWD=Password&ACCT=552500000000
0005&EXPDATE=1215&AMT=1.00&BILLTOSTREET=5199
JOHNSON&BILLTOZIP=94588&ALTTAX
AMT=1.00&CUSTVATREGNUM=11111&LOCALTAXAMT=1.00&NATIONALTAXAMT=1.00&COMMCODE=
22222&VATAXAMT=1.00&VATAXPERCENT=10&TAXEXEMPT=Y&DISCOUNT=1.00&FREIGHTAMT=1.
00&DUTYAMT=1.00&SHIPTOZIP=33333&SHIPFROMZIP=44444&SHIPTOCOUNTRY=840&ORDERDA
TE=020725&L_COMMCODE1=123456789ABC&L_DESC1=Line
item 1 description&L_UPC1=C
BA987654321&L_QTY1=1&L_UOM1=123456789012&L_COST1=1.00&L_TAXAMT1=1.00&L_TAXR
ATE1=1.00&L_DISCOUNT1=1.00&L_AMT1=1.00&L_TAXTYPE1=TT3
Heartland Level 3 Visa Parameters
To qualify for Level 3 transactions, the authorization response for the transaction must have
the commercial card indicator set and one or more line items should be present in the delayed
capture or sale request.
Level 2 transaction parameters marked as Required are required for Level 3 transactions.
Level 3 transactions that do not include the required Level 2 values are rejected.
IMPORTANT: The values required for Level 3 status vary by bank, so contact your bank for
details.
Heartland Level 2 Visa Parameters Required for Level 3 Transactions
L_QTYn (Required) Quantity.
Character length and limitations: 12 numeric characters
L_UOMn (Required) Unit of measure code.
Character length and limitations: 12 alphanumeric characters
L_COSTn (Required) Unit cost.
Character length and limitations: 12 numeric characters
L_TAXAMTn (Optional) VAT/tax amount.
Character length and limitations: 12 numeric characters
L_TAXRATEn (Optional) VAT/tax rate.
Character length and limitations: 4 numeric characters
L_DISCOUNTn (Optional) Discount per line item.
Character length and limitations: 12 numeric characters
L_AMTn (Optional) Line-item total.
Character length and limitations: 12 numeric characters
Parameter Description
PONUM (Required) Purchase identifier. TheTransaction ID is sent if no value is provided.
Character length and limitations: 25 alphanumeric characters
Parameter Description