PP Pay Flow Pro Guide
PP Pay Flow Pro Guide
2009 PayPal, Inc. All rights reserved. PayPal is a registered trademark of PayPal, Inc. The PayPal logo is a trademark of PayPal, Inc. Other trademarks and brands are the property of their respective owners. The information in this document belongs to PayPal, Inc. It may not be used, reproduced or disclosed without the written approval of PayPal, Inc. Copyright PayPal. All rights reserved. PayPal (Europe) S. r.l. et Cie., S.C.A., Socit en Commandite par Actions. Registered office: 22-24 Boulevard Royal, L-2449, Luxembourg, R.C.S. Luxembourg B 118 349. Consumer advisory: The PayPal payment service is regarded as a stored value facility under Singapore law. As such, it does not require the approval of the Monetary Authority of Singapore. You are advised to read the terms and conditions carefully. Notice of non-liability: PayPal, Inc. is providing the information in this document to you AS-IS with all faults. PayPal, Inc. makes no warranties of any kind (whether express, implied or statutory) with respect to the information contained herein. PayPal, Inc. assumes no liability for damages (whether direct or indirect), caused by errors or omissions, or resulting from the use of this document or the information contained in this document or resulting from the application or use of the product or service described herein. PayPal, Inc. reserves the right to make changes to any information herein without further notice.
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Related Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 How to Contact Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 13
Payflow Pro Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Host Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 How Payflow Pro Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Supported Processing Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Supported Payment Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Payflow Pro Recurring Billing Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 About Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 2
. . . . . . . . . . 17
Supported Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Preparing the Payflow Client Application . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Activating Your Payflow Pro Account . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 3
Transaction Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Contents
Chapter 4
Credit Card Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 About Credit Card Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Obtaining an Internet Merchant Account . . . . . . . . . . . . . . . . . . . . . . . . 24 Planning Your Payflow Pro Integration . . . . . . . . . . . . . . . . . . . . . . . . . 24 Complying With the E-commerce Indicator (ECI) . . . . . . . . . . . . . . . . . . . . 25 Handling Credit Card Type Information . . . . . . . . . . . . . . . . . . . . . . . . . 25 Parameters Used in Credit Card Transactions. . . . . . . . . . . . . . . . . . . . . . . . 26 Submitting Sale Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 When To Use a Sale Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Additional Parameters For Sale Transactions . . . . . . . . . . . . . . . . . . . . . . 28 Typical Sale Transaction Parameter String . . . . . . . . . . . . . . . . . . . . . . . 29 Submitting Authorization/Delayed Capture Transactions . . . . . . . . . . . . . . . . . . 29 When To Use Authorization/Delayed Capture Transactions . . . . . . . . . . . . . . . 29 Required Authorization Transaction Parameters . . . . . . . . . . . . . . . . . . . . 30 Typical Authorization Transaction Parameter String . . . . . . . . . . . . . . . . . . . 30 Required Delayed Capture Transaction Parameters . . . . . . . . . . . . . . . . . . 30 Delayed Capture Transaction: Capturing Transactions for Lower Amounts . . . . . . . 32 Delayed Capture Transaction: Capturing Transactions for Higher Amounts . . . . . . 32 Delayed Capture Transaction: Error Handling and Retransmittal . . . . . . . . . . . . 32 Submitting Account Verifications With TRXTYPE=A. . . . . . . . . . . . . . . . . . . . . 32 When To Use Account Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Example Account Verification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Submitting Voice Authorization Transactions . . . . . . . . . . . . . . . . . . . . . . . . 33 When to Use a Voice Authorization Transaction. . . . . . . . . . . . . . . . . . . . . 33 Required Voice Authorization Transaction Parameters . . . . . . . . . . . . . . . . . 34 Submitting Credit Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Required Credit Transaction Parameters . . . . . . . . . . . . . . . . . . . . . . . . 34 Credit Transaction Parameter Strings . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Submitting Void Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 When To Use a Void Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Required Void Transaction Parameters . . . . . . . . . . . . . . . . . . . . . . . . . 37 Example Void Transaction Parameter String . . . . . . . . . . . . . . . . . . . . . . 37 Submitting Inquiry Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 When To Use an Inquiry Transaction . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Required Parameters When Using the PNREF . . . . . . . . . . . . . . . . . . . . . 38 Inquiry Transaction Parameter String Using the PNREF . . . . . . . . . . . . . . . . 38 Required Parameters When Using the CUSTREF . . . . . . . . . . . . . . . . . . . 39 Inquiry Transaction Parameter String Using the CUSTREF . . . . . . . . . . . . . . . 39
Contents
Recharging to the Same Credit Card (Reference Transactions). . . . . . . . . . . . . . . 40 When To Use a Reference Transaction . . . . . . . . . . . . . . . . . . . . . . . . . 40 Transaction Types that Can Be Used as the Original Transaction . . . . . . . . . . . 41 Fields Copied From Reference Transactions . . . . . . . . . . . . . . . . . . . . . . 41 Example Reference Transaction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Submitting Card-Present (SWIPE) Transactions. . . . . . . . . . . . . . . . . . . . . . . 42 Supported Processing Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Card-present Transaction Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Submitting Purchasing Card Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Using Address Verification Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Processing Platforms Supporting Address Verification Service . . . . . . . . . . . . . . . 44 Example Address Verification Service Request Parameter List . . . . . . . . . . . . . . . 45 Example Address Verification Service Response . . . . . . . . . . . . . . . . . . . . . . 45 Card Security Code Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Processing Platforms and Credit Cards Supporting Card Security Code . . . . . . . . 46
Chapter 5
Testing Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Credit Card Numbers Used for Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Result Values in Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Testing Result Values in Responses. . . . . . . . . . . . . . . . . . . . . . . . . . . 50 RESULT Values Returned Based on Transaction Amount. . . . . . . . . . . . . . . . . . 50 Alternative Methods for Generating Specific RESULT Values . . . . . . . . . . . . . . 51 Testing Address Verification Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Testing Card Security Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Chapter 6
Contents of a Response to a Credit Card Transaction Request . . . . . . . . . . . . . . . 55 BALAMT Response Parameter and Stored Value Cards . . . . . . . . . . . . . . . . . . 57 American Express CAPN Stored Value Card Example . . . . . . . . . . . . . . . . . 57 PNREF Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 PNREF Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 RESULT Values and RESPMSG Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 RESULT Values for Transaction Declines or Errors . . . . . . . . . . . . . . . . . . . 58 RESULT Values for Communications Errors . . . . . . . . . . . . . . . . . . . . . . 64
Contents
American Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 American Express Additional Credit Card Parameters (CAPN) . . . . . . . . . . . . . 68 American Express Additional Credit Card Parameters (Legacy) . . . . . . . . . . . . 73 First Data Merchant Services (FDMS) Nashville . . . . . . . . . . . . . . . . . . . . . . . 76 FDMS Nashville, Additional Credit Card Parameters . . . . . . . . . . . . . . . . . . 76 First Data Merchant Services (FDMS) South . . . . . . . . . . . . . . . . . . . . . . . . 77 FDMS South, Additional Credit Card Parameters . . . . . . . . . . . . . . . . . . . . 77 First Data Merchant Services (FDMS) North. . . . . . . . . . . . . . . . . . . . . . . . . 77 FDMS North, Additional Credit Card Parameters . . . . . . . . . . . . . . . . . . . . 77 Merchant e-Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Merchant e-Solutions, Additional Credit Card Parameters . . . . . . . . . . . . . . . 78 Elavon (Formerly Nova) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Elavon, Additional Credit Card Parameters . . . . . . . . . . . . . . . . . . . . . . . 79 Paymentech . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Paymentech Salem (New Hampshire), Additional Credit Card Parameters (CAPN) . . 79 Paymentech, Additional Credit Card Parameters (Legacy) . . . . . . . . . . . . . . . 82 TSYS Acquiring Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 TSYS Acquiring Solutions, Additional Credit Card Parameters (CAPN). . . . . . . . . 83 TSYS Acquiring Solutions, Additional Credit Card Parameters (Legacy) . . . . . . . . 89
Contents
Edit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 Accepted BIN Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102 American Express Phoenix Purchasing Card Transaction Processing . . . . . . . . . . .102 American Express Phoenix Level 2 Parameters (CAPN) . . . . . . . . . . . . . . . .103 American Express Phoenix Level 2 Parameters (Legacy). . . . . . . . . . . . . . . .105 Example American Express Phoenix Level 2 Transaction Parameter String . . . . . .105 American Express Phoenix Level 3 Parameters. . . . . . . . . . . . . . . . . . . . .105 Example American Express Phoenix Level 3 Transaction Parameter String . . . . . .108 First Data Merchant Services (FDMS) Nashville Purchasing Card Transaction Processing.108 First Data Merchant Services (FDMS) North Purchasing Card Transaction Processing . . 110 FDMS North Purchasing Card Line Item Parameters . . . . . . . . . . . . . . . . . . 111 First Data Merchant Services South (FDMS) Purchasing Card Transaction Processing . . 112 FDMS South Line Item Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Example FDMS South Purchasing Card Level 2 and 3 Parameter String . . . . . . . . 114 Example FDMS South Line Item Parameter String . . . . . . . . . . . . . . . . . . . 114 Global Payments - Central Purchasing Card Transaction Processing . . . . . . . . . . . . 115 Global Payments - Central Level 2 Parameters . . . . . . . . . . . . . . . . . . . . . 115 Example Global Payments - Central Level 2 Visa or MasterCard Transaction Parameter String. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Global Payments - East Purchasing Card Transaction Processing . . . . . . . . . . . . . 115 Global Payments - East Level 2 Parameters . . . . . . . . . . . . . . . . . . . . . . 116 Example Global Payments - East Level 2 Visa or MasterCard Transaction Parameter String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 Merchant e-Solutions Purchasing Card Transaction Processing . . . . . . . . . . . . . . 116 Merchant e-Solutions Level 2 Parameters. . . . . . . . . . . . . . . . . . . . . . . . 116 Merchant e-Solutions Level 3 MasterCard Parameters . . . . . . . . . . . . . . . . . 117 Merchant e-Solutions Level 3 Visa Parameters . . . . . . . . . . . . . . . . . . . . . 119 Elavon (Formerly Nova) Purchasing Card Transaction Processing . . . . . . . . . . . . .123 Elavon Level 2 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 Elavon Additional Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123 Example Elavon Level 2 Transaction Parameter String . . . . . . . . . . . . . . . . .124 Paymentech Salem (New Hampshire) Purchasing Card Transaction Processing . . . . . .124 Paymentech Salem (New Hampshire) Level 2 Parameters (CAPN) . . . . . . . . . .124 Paymentech Salem (New Hampshire) Level 2 Parameters (Legacy) . . . . . . . . . .126 Paymentech Salem (New Hampshire) Level 3 Purchasing Card Parameters. . . . . .127 Paymentech Tampa Level 2 Purchasing Card Transaction Processing . . . . . . . . . . .130 Paymentech Tampa Level 2 Parameters . . . . . . . . . . . . . . . . . . . . . . . .131 Example Paymentech Tampa Level 2 Visa and MasterCard Transaction Parameter String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131 TSYS Acquiring Solutions Purchasing Card Transaction Processing . . . . . . . . . . . .131
Contents
TSYS Acquiring Solutions Level 2 Parameters . . . . . . . . . . . . . . . . . . . . .131 TSYS Acquiring Solutions Level 3 MasterCard Parameters. . . . . . . . . . . . . . .132 TSYS Acquiring Solutions Level 3 Visa Parameters. . . . . . . . . . . . . . . . . . .134
Appendix E Additional Reporting Parameters . . . . . . . . . . . . . 145 Appendix F ISO Country Codes . . . . . . . . . . . . . . . . . . . . 147
Appendix I
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Preface
This guide describes Payflow Pro, a high performance TCP/IP-based Internet payment solution and how to use it to process credit card. Payflow Pro is pre-integrated with leading ecommerce solutions and is also available as a downloadable software development kit (SDK).
Scope
This guide explains how to integrate Payflow Pro into your website or application to process credit card transactions over the Payflow payments gateway. It includes information and special requirements for all supported processors. To process Express Checkout transactions over the Payflow gateway, see the following Payflow guide: Express Checkout for Payflow Pro.
Intended Audience
This guide assumes that its readers: Are experienced web or application developers Have a background in payments services
Related Documentation
For additional Payflow information, See the Payflow documentation set on PayPal Developer Central. Go to https://www.paypal.com/developer and click the Documentation link on the Library tab. For more examples and very current information, see the Payflow developer forums. For additional help, see the Help Center at the following URL: https://www.paypal.com/us/cgibin/helpweb?cmd=help.
Revision History
Revision History
Revision history for Payflow Pro Developers Guide.
TABLE 1.1 Revision history Date October 2009 Description Added COMPANYNAME to reporting parameters. Added new appendix on additional processor informaion. Currently includes Moneris processor information. Added Account Verification as a type of transaction that uses TRXTYPE=A and AMT=0 to verify credit card information. Updated length of PARTNER, USER, and VENDOR to 64 characters. FDMS supports unreferenced credits. Minor corrections for technical accuracy and clarification. Moved coverage of Express Checkout to a separate new document, Express Checkout for Payflow Pro. Removed coverage of the version 3 Payflow SDK, including test and live URLs. Changed Paymentech New Hampshire to Paymentech Salem (New Hampshire) Updated name of Nova processor to Elavon. Corrected format of TSYS ORDERDATE field Added more clarification to description of RESULT value 25 Added more clarification of AMEX CAPN parameters in Appendix A Updated Table 4.1 , Credit card transaction request parameters, to reflect credit card parameter descriptions only and moved the non-credit card parameter descriptions to new tables in applicable sections of the chapter Minor corrections for technical accuracy and clarification
Updated live and test URLs to reflect PayPal only: payflowpro.paypal.com live URL and pilot-payflowpro.paypal.com test URL Added Help Center URL to Preface. Added Paymentech New Hampshire processor specification updates, including: CAPN requirements
June 2008
Support of card security code for American Express and Discover cards Support of Switch/Solo Maestro card Full authorization reversals March 2008
Added PayPal processor responses. Updated RESULT value 0 to include information about PayPal processor success with warning message
February 2008
Removed note that PayPal processor does not support non-referenced credits. It supports them now. Updated test and live host URLs. Added BILLTOCOUNTRY to Paymentech additional parameters. Combined Telecheck transactions content into one appendix.
10
Revision History TABLE 1.1 Revision history Date November 2007 Description
Explains how merchant can determine what SDK version they are using. Provides guidelines to merchant to determine if merchant is following American Express CAPN requirements. Explains more about VERBOSITY parameter. Combines appendixes on performing Telecheck transactions with Telecheck responses. Adds BIN ranges. Explains how to eliminate TRANSSTATE 106 results. Updates Index to include an alphabetical listing of all Payflow parameters cited in the guide. Adds new transaction type N.
11
Revision History
12
Introduction
you prefer to have Payflow Pro integration performed for you, you can obtain Payflow Pro pre-integrated with leading e-commerce solutions. For a list of preintegrated solutions, see the Partner Solutions>Shopping Carts page on PayPal Developer Central.
Host Addresses
Use the following host addresses for the Payflow V4 SDK: For live transactions, use payflowpro.paypal.com For testing purposes, use pilot-payflowpro.paypal.com
13
Introduction
Supported Processing Platforms
1. The Payflow client encrypts each transaction request using the latest Secure Sockets Layer (SSL) encryption and establishes a secure link with the Payflow server over the internet. 2. The Payflow server, a multi-threaded processing environment, receives the request and transmits it (over a secure private network) to the appropriate financial processing network for real-time payment authorization. 3. The response (approved/declined, and so on) is received from the financial network and is returned in the same session to the Payflow client. 4. The Payflow client completes each transaction session by transparently sending a transaction receipt to the server before disconnecting the session. The entire process is a real-time synchronous transaction. Once connected, the transaction is immediately processed and the answer returned in about three seconds. Processing transactions through the Payflow service does not affect or define the time periods of authorizations, nor does it influence the approval or denial of a transaction by the issuer. When integrating with Payflow Pro, you need only be concerned with passing all the required data for transaction authorization. For transactions that you want to be settled (close batch), the operation is handled by PayPal.
14
Introduction
Supported Payment Types
About Security
It is your responsibility to protect your passwords and other confidential data and to implement security safeguards on your website and in your organization, or to ensure that your hosting company or internal web operations team is implementing them on your behalf.
IMPO RTANT: To enable testing of Payflow Pro, PayPal provides sample transaction scripts
that you customize with your Payflow Pro account information and password. Because the password is initially stored in the text of the program, it is vulnerable. Do not use the test scripts in your production environment. To minimize fraud, machine passwords should always be encrypted. You must write a program that encrypts and decrypts your Payflow Pro account password.
15
Introduction
About Security
16
S u p p o r t e d P l a tf o r m s
Payflow Pro is available on all major web server platforms in a variety of formats to support your integration requirements. Payflow Pro is available as a .NET or Java library, or you can build your own API by posting directly to the Payflow servers via HTTPS.
17
18
All Payflow transactions include a common set of required parameters. Additional parameters are required depending on the transaction type.You can also provide many optional parameters, depending on the results you want returned. For example, you can set the VERBOSITY parameter to return PayPal processor-specific details rather than normalized information if you are looking for this kind of information. VERBOSITY is described in detail in Appendix D, VERBOSITY: Viewing Processor-Specific Transaction Results.
Transaction Requests
Request Contents
A transaction request includes: Connection parameters User parameters Parameters specific to the type of the transaction, such as a sale or an authorization
19
Connection Parameters
The connection parameters are described below. Pass them in the format and syntax required by the Payflow SDK and programming language that you are using. See your integration documentation for details.
TABLE 3.1 Connection parameters Parameter HOSTADDRESS HOSTPORT PARMLIST Description (Required) Payflow host name. See Host Addresses on page 13 for details on host addresses. (Required) Use port 443. (Required) List of parameters that specify the payment information for the transaction. The quotation marks at the beginning and end are required. The following is an example: TRXTYPE=S&TENDER=C&PARTNER=PayPal&VENDOR=SuperMerchant&USER=Sup erMerchant&PWD=SuperUserPassword&ACCT=5555555555554444&EXPDATE= 0308&AMT=123.00 The content of the PARMLIST varies by the type of transaction being processed. For example, a Void transaction requires a different set of parameters than a Sale. (Required) Time-out period for the transaction. The minimum recommended time-out value is 30 seconds. The client begins tracking from the time that it sends the transaction request to the server. (Optional) Proxy server address. Use the PROXY parameters for servers behind a firewall. Your network administrator can provide the values. (Optional) Proxy server port. (Optional) Proxy server logon ID. (Optional) Proxy server logon password.
TIMEOUT
Follow these guidelines when creating the PARMLIST: Spaces are allowed in values. Enclose the PARMLIST in quotation marks (). Do not place quotation marks () within the body of the PARMLIST. Separate all name-value pairs in the PARMLIST using an ampersand (&). Set the VERBOSITY transaction parameter to MEDIUM (default is LOW) if you want the response to return more detailed information. For details, see Appendix A, Verbosity: Viewing Processor-Specific Transaction Results.
Using Special Characters in Values
Because the ampersand (&) and equal sign (=) characters have special meanings in the PARMLIST, name-value pairs like the following examples are not valid:
20
To use special characters in the value of a name-value pair, use a length tag. The length tag specifies the exact number of characters and spaces that appear in the value. The following name-value pairs are valid.
NAME[14]=Ruff & Johnson COMMENT1[7]=Level=5
N O T E : Quotation
User Parameters
All Payflow Pro transactions require the user parameters described below.
TABLE 3.2 User parameters Parameter USER Description (Required) If you set up one or more additional users on the account, this value is the ID of the user authorized to process transactions. If, however, you have not set up additional users on the account, USER has the same value as VENDOR. Limitations: Sixty-four alphanumeric, case-sensitive characters. (Required) Your merchant login ID that you created when you registered for the account. Limitations: Sixty-four alphanumeric, case-sensitive characters. (Required) The ID provided to you by the authorized PayPal Reseller who registered you for the Payflow SDK. If you purchased your account directly from PayPal, use PayPal. Limitations: Sixty-four alphanumeric, case-sensitive characters. (Required) The password that you defined while registering for the account. Limitations: Six- to thirty-two alphanumeric, case-sensitive characters.
VENDOR
PARTNER
PWD
21
Note that, besides the required Sale transaction parameters, the above string includes other Payflow Pro parameters typically included in a credit card Sale transaction request. When the transaction completes, the Payflow server returns a response string made up of name-value pair response parameters. If the transaction is successful, a RESULT value of 0 is returned. The value of PNREF identifies the transaction in future requests, and RESPMSG is a string indicating whether the transaction was approved. This is an example response to a credit card Sale transaction request:
RESULT=0&PNREF=VXYZ01234567&RESPMSG=APPROVED&AVSADDR=Y&AVSZIP=N&IAVS=Y&CVV2 MATCH=Y
Formatting Transactions
For details on how to format a transaction based on the above information, see the examples and the supporting documentation provided with your SDK.
22
This chapter describes how to plan for implementing credit card processing, presents the core set of parameters used by all credit card processors, explains how to submit a transaction for each transaction type supported, and describes other credit card features such as card security.
23
cannot remove a hold on funds through the processing networksyou must contact the card issuing bank to lift a hold early.
Capturing a transaction actually transfers the funds to your bank. At least once a day, PayPal gathers all transactions that are flagged to be settled and sends them in a batch file to the processor. The processor then charges the issuing bank and transfers the funds to your bank. It typically takes a few days before the money is actually available in your account, depending on your bank.
account used for face-to-face (in-person) retail transactions. It has additional risks associated with card-not-present (e-commerce) transactions. You need to obtain an Internet Merchant Account even if you already accept credit cards at your location. To apply for an Internet Merchant Account, contact your merchant (acquiring) bank.
24
billing address on file for the consumer. Address verification service is described on page Using Address Verification Service on page 44. Card security code refers to a 3- or 4-digit number that appears on the back of most credit cards. On American Express, the number appears above and to the right of the embossed card number. Card security code is known by other names, such as CVV2, depending on the type of card. If card security code data is submitted, the issuer can notify you whether the number matches the number assigned to the card. Card security code is described on page Card Security Code Validation on page 46. It may also be possible to implement additional safeguards yourself or to use a fraud service. You might want to discuss risk management with your Internet Merchant Account provider. Store information in your local database or use PayPal Manager reports to manage the data. You may want to store shipping information in your system, or you may prefer to send the information to PayPal with the transaction and report on it later.
N O T E : PayPal
recommends that you do not store credit card numbers. If you must store numbers, encrypt and store them behind properly configured firewalls. You should also consider whether and how to use the merchant-defined fields COMMENT1 and COMMENT2 to help tie reports to your orders/customers or to report on other information about the transaction.
If or how you want to integrate with other systems, such as order fulfillment, customer service, and so on. You may wish to connect these systems directly to Payflow Pro for capturing funds, issuing refunds/credits, and so on. Alternatively, you may prefer to perform these steps manually using PayPal Manager. Either way, PayPal recommends that you monitor transaction activity using PayPal Manager. You may want to discuss, with your Internet Merchant Acquirer, practices that help you to obtain the most advantageous rates.
25
customer with a list of the card types that you accept (in a drop-down list or menu, for example). To accept additional credit card types, you must contact your acquiring bank (the merchant that holds your Internet Merchant Account) and ask them to add the card type to your account. Upon notification from your Acquirer that you can start accepting the card type, you must add the card to your Payflow Pro account through PayPal Manager. See PayPal Manager online help for details.
TRXTYPE
HTTPS interface only) with a PNREF the same as the original. It appears only in the PayPal Manager user interface and will never settle.
26
EXPDATE
AMT
COMMENT1
COMMENT2
CVV2
FIRSTNAME
LASTNAME
STREET
ZIP
27
pinless debit tender type requires essentially the same parameters as a credit card transaction. In addition to the values required by all transactions, you must pass values for the ACCT and AMT parameters. The First Data Merchant Services (FDMS) South processing platform supports Sale and Credit transactions only.
28
Note that, besides the required parameters that you pass in a Sale transaction, this string includes other typical parameters. The COMMENT1 (and COMMENT2) fields help to track transaction information. The customers street address (STREET) and zip should be passed to use address verification service. CVV2 is needed for card security code validation. For details on address verification service and card security code, see the following sections: Submitting Card-Present (SWIPE) Transactions on page 42 Card Security Code Validation on page 46
delayed capture processing for all sale transactions. If your business provides immediate fulfillment and you are not using the PayPal processor with Fraud Protection Services, you can use a simple Sale transaction instead. For details, see Submitting Sale Transactions on page 28. If you need to recharge a credit card and you are not storing the credit card information in your local database, you can perform a new reference transaction based on a Sale. For details, see Submitting Authorization/Delayed Capture Transactions on page 29.
29
Set ORIGID to the PNREF (Transaction ID in PayPal Manager reports) value returned from the original transaction. In addition, if the amount of the capture differs from the amount of the Authorization, you also must pass a value for AMT.
Fields Copied From the Authorization Transaction into the Delayed Capture Transaction
The following fields are copied from the Authorization transaction into the Delayed Capture transaction (if they exist in the original transaction). If you provide a new value for any of these parameters when submitting the Delayed Capture transaction, then the new value is
30
used. (Exceptions are ACCT, EXPDATE, and SWIPE. These parameters retain their original values.)
TABLE 4.3 Fields copied from Authorization to Delayed Capture transaction ACCT COMMENT2 CUSTIP FIRSTNAME INVNUM SHIPTOFIRSTNAME SHIPTOSTREET SWIPE ZIP AMT COMPANYNAME DUTYAMT MIDDLENAME PONUM SHIPTOMIDDLENAME SHIPTOZIP TAXAMT CITY BILLTOCOUNTRY EMAIL LASTNAME SHIPTOCITY SHIPTOLASTNAME STATE PHONENUM COMMENT1 CUSTCODE EXPDATE FREIGHTAMT SHIPTOCOUNTRY SHIPTOSTATE STREET TAXEXEMPT
To perform the Delayed Capture: 1. Perform the Authorization transaction. The Authorization transaction uses the same parameters as Sale transactions, except that the transaction type is A. The return data for an Authorization transaction is the same as for a Sale transaction. To capture the authorized funds, perform a Delayed Capture transaction that includes the value returned for PNREF, as described in Step 2 below. Example: Authorization-only Transaction
TRXTYPE=A&TENDER=C&PWD=x1y2z3&PARTNER=PayPal&VENDOR=SuperMerchant&USER=S uperMerchant&ACCT=5555555555554444&EXPDATE=0308&AMT=123.00&COMMENT1=Seco nd purchase&COMMENT2=Low risk customer&INVNUM=123456789&STREET=5199 MAPLE&ZIP=94588
Example:Authorization Response
RESULT=0&PNREF=VXYZ01234567&RESPMSG=APPROVED&AUTHCODE=123456 &AVSADDR=Y&AVSZIP=N
31
2. Perform the Delayed Capture transaction. Set ORIGID to the PNREF value returned in the original Authorization transaction response string. (There is no need to retransmit the credit card or billing address informationit is stored at PayPal.) If the capture succeeds, the amount of the Capture is transferred to the merchants account during the daily settlement process. If the capture does not succeed, the hold on the cardholders open-to-buy is still in effect. Example:Delayed Capture Transaction
TRXTYPE=D&TENDER=C&PWD=x1y2z3&PARTNER=PayPal&VENDOR=.SuperMerchant &USER=SuperMerchant&ORIGID=VXYZ00887892
32
The TRANSSTATE is set to 0 to prevent these types of transactions from being credited, voided, or captured. See VERBOSITY: Viewing Processor-Specific Transaction Results on page 139 for details on TRANSSTATE.
N O T E : RESULT
value 4, Invalid Amount, is returned if the processor does not support Account Verifications.
33
Like Sale transactions, approved Voice Authorization transactions can be voided before settlement occurs.
When non-referenced credits are not allowed (the setting recommended by PayPal), then Credit transactions are permitted only against existing Sale, Delayed Capture, and Voice Authorization transactions. To submit a Credit transaction when non-referenced credits are not allowed, you must pass the following parameter:
34
ORIGID TABLE 4.5 Credit required parameter Parameter ORIGID Description (Required by some transaction types) ID of the original transaction that is being referenced. This ID is returned by the PNREF parameter and appears as the Transaction ID in PayPal Manager reports. Limitations: 12 case-sensitive alphanumeric characters.
Set the value of ORIGID to the PNREF value returned for the original transaction. (PNREF is displayed as the Transaction ID in PayPal Manager reports.) If you do not specify an amount, then the amount of the original transaction is credited to the cardholder.
Non-Referenced Credits Allowed
When non-referenced credits are allowed, then Credit transactions are permitted in any amount up to the transaction limit for the credit card account that you specify. To submit a Credit transaction when non-referenced credits are allowed, you must pass values for the following parameters:
ACCT EXPDATE AMT
IMPO RTANT: The
default security setting for Payflow Pro accounts is Allow non-referenced credits = No, so sending the ORIGID is the preferred method for performing Credit transactions. Using the ACCT, EXPDATE, or AMT parameters for such accounts leads to RESULT value 117 (failed the security check). For information on setting the security settings, see PayPal Manager online help.
Fields Copied From the Original Transaction into the Credit Transaction
The following fields are copied from the original transaction into the Credit transaction (if they exist in the original transaction). If you provide a new value for any of these parameters when submitting the Credit transaction, then the new value is used. (Exceptions are ACCT, EXPDATE, and SWIPE. These parameters retain their original values).
N O T E : These
fields are not copied for referenced credits: TAXAMT, TAXEXEMPT, DUTYAMT, FREIGHTAMT, and (for American Express only) DESC4.
N O T E : For
processors that use the RECURRING parameter: If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming the Credit transaction.
TABLE 4.6 Fields copied from original to Credit transaction ACCT AMT CITY COMMENT1
35
http://en.wikipedia.org/wiki/Authorization_hold.
36
Set ORIGID to the PNREF (Transaction ID in PayPal Manager reports) value returned for the original transaction.
Fields Copied From the Original Transaction into the Void Transaction
The following fields are copied from the original transaction into the Void transaction (if they exist in the original transaction). If you provide a new value for any of these parameters when submitting the Void transaction, then the new value is used. (Exceptions are ACCT, EXPDATE, and SWIPE. These parameters retain their original values).
N O T E : For
processors that use the RECURRING parameter: If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming the Void transaction.
TABLE 4.8 Fields copied from original Void transaction ACCT COMMENT2 CUSTIP FIRSTNAME INVNUM SHIPTOFIRSTNAME SHIPTOSTREET SWIPE ZIP AMT COMPANYNAME DUTYAMT MIDDLENAME PONUM SHIPTOMIDDLENAME SHIPTOZIP TAXAMT CITY BILLTOCOUNTRY EMAIL LASTNAME SHIPTOCITY SHIPTOLASTNAME STATE PHONENUM COMMENT1 CUSTCODE EXPDATE FREIGHTAMT SHIPTOCOUNTRY SHIPTOSTATE STREET TAXEXEMPT
37
TRXTYPE=V&TENDER=C&PARTNER=PayPal&VENDOR=SuperMerchant&USER=SuperMerchant& PWD=x1y2z3&ORIGID=VPNE12564395
Set ORIGID to the PNREF (Transaction ID in PayPal Manager reports) value returned for the original transaction.
38
STARTTIME
ENDTIME
there are multiple transactions with a particular CUSTREF value, then the Inquiry transaction returns only the last transaction with the specified CUSTREF. So, to ensure that you can always access the correct transaction, you must use a unique CUSTREF when submitting any transaction, including retries.
39
TRXTYPE=I&TENDER=C&PARTNER=PayPal&VENDOR=SuperMerchant&USER=SuperMerchant&P WD=x1y2z3&CUSTREF=Inv00012345
for a period of 12 months. A PNREF returned by Account Verification also can be used in a reference transaction.
your account administrator can enable reference transactions for your account. If you attempt to perform a reference transaction in an account for which reference transactions are disallowed, RESULT value 117 is returned. See PayPal Manager online help for instructions on setting reference transactions and other security features. Sale and Authorization transactions can make use of a reference transaction as a source of transaction data. PayPal looks up the reference transaction and copies its transaction data into the new Sale or Authorization transaction. With the exception of dollar amount data, which triggers a filter if out of range, reference transactions are not screened by Fraud Protection Services filters.
IMPO RTANT: When PayPal looks up the reference transaction, neither the transaction being
referenced nor any other transaction in the database is changed in any way. That is, a reference transaction is a read-only operationonly the new transaction is populated with data and acted upon. No linkage is maintained between the reference transaction and the new transaction. You can also initiate reference transactions from PayPal Manager. See PayPal Manager online help for details.
40
41
1. Submit the initial transaction, such as an Authorization. You use an Authorization transaction for the full amount of the purchase of $100 as shown in this transaction request:
TRXTYPE=A&TENDER=C&PWD=x1y2z3&PARTNER=PayPal&VENDOR=SuperMerchant&USER=S uperMerchant&ACCT=5555555555554444&EXPDATE=0308&AMT=100.00&INVNUM=123456 789&STREET=5199 MAPLE&ZIP=94588
PNREF returned in the original transaction is valid for use in reference transactions for a period of 12 months.
2. Capture the authorized funds for a partial shipment of $66. When you deliver the first $66 worth of product, you use a normal Delayed Capture transaction to collect the $66. Set ORIGID to the value of PNREF in the original Authorization as in this transaction request (See Required Delayed Capture Transaction Parameters on page 30):
TRXTYPE=D&TENDER=C&PWD=x1y2z3&PARTNER=PayPal&VENDOR=SuperMerchant&USER=S uperMerchant&ORIGID=VXYZ01234567&AMT=66.00
3. Submit a new Sale transaction or Authorization/Delayed Capture transaction of $34 for the rest of the shipment. Once you have shipped the remainder of the product, you can collect the remaining $34 in a Sale transaction that uses the initial Authorization as a reference transaction. (This is a Sale transaction because only one Delayed Capture transaction is allowed per Authorization.) This is the Sale transaction request:
TRXTYPE=S&TENDER=C&PWD=x1y2z3&PARTNER=PayPal&VENDOR=SuperMerchant&USER=S uperMerchant&ORIGID=VXYZ01234567&AMT=34.00
Follow these guidelines to take advantage of the lower card-present transaction rate: Contact your merchant account provider to ensure that they support card-present transactions. Contact PayPal Customer Service to request having your account set up properly for accepting and passing swipe data.
42
If you plan to process card-present as well as card-not-present transactions, set up two separate Payflow Pro accounts. Request that one account be set up for card-present transactions, and use it solely for that purpose. Use the other for card-not-present transactions. Using the wrong account may result in downgrades. A Sale is the preferred method to use for card-present transactions. Consult with your acquiring bank for recommendations on other methods.
43
verification service checks only for a street number match, not a street name match, so 123 Main Street returns the same response as 123 Elm Street.
The international address verification service (IAVS) response indicates whether address verification service response is international (Y), USA (N), or cannot be determined (X).
TABLE 4.12 Processing platforms supporting Address Verification Service Processing Platform American Express Phoenix American Express X Discover Master Card Visa
44
See your processors information in Processors Requiring Additional Transaction Parameters on page 65 for information on their handling of address verification service.
45
comply with credit card association regulations, do not store the CVV2 value.
On most cards, the card security code is printed on the back of the card (usually in the signature field). All or part of the card number appears before the card security code (567 in the example). For American Express, the 4-digit number (1122 in the example) is printed on the front of the card, above and to the right of the embossed account number. Be sure to explain this to your customers.
FIGURE 4.1 Card security code
need to contact American Express to be set up to accept their CID card security code.
TABLE 4.13 Processing platforms supporting card security code Processing Platform American Express Phoenix American Express Brighton FDMS Nashville FDMS North American Express X X X X Discover X X Master Card X X Visa X X
46
47
48
To test your application, direct all transactions to the host address for testing. For details, see Host Addresses on page 13. Transactions directed to this URL are processed through PayPals simulated payment network, enabling you to test the configuration and operation of your application or storefront no money changes hands. (You must activate your account and configure your application for live transactions before accepting real orders.)
Testing Guidelines
The following are testing guidelines: While testing, use only the credit card numbers listed in this chapter. Other numbers produce an error. Expiration Date must be a valid date in the future (use the mmyy format). To view the credit card processor that you have selected for testing, see Account Info > Processor Info in PayPal Manager.
49
$2001+
50
1 2 3 4 5 7 12 13
User authentication failed Invalid tender Invalid transaction type Invalid amount Invalid merchant information Field format error Declined Referral
51
113 114
52
does not match without returning a CVV2MATCH value. Test the results and check with your processor to determine whether they support card security code checking.
53
For the testing server, the first three characters of the CVV2 value determine the CVV2MATCH result, as shown here.
TABLE 5.7 Testing CVV2MATCH CVV2 Value 000 001-300 301-600 601 or higher CVV2MATCH Value Y Y N X
54
PPREF
RESULT
RESPMSG=Verified means a zero dollar authorization has been successfully performed. Any other value for RESULT indicates a decline or error. Character length and limitations: variable length, numeric CVV2MATCH Result of the card security code (CVV2) check. The issuing bank may decline the transaction if there is a mismatch. In other cases, the transaction may be approved despite a mismatch. Character length and limitations: 1 alpha character (Y, N, X, or no response) The response message returned with the transaction result. Exact wording varies. Sometimes a colon appears after the initial RESPMSG followed by more detailed information.
N O T E : For Account Verification transactions, RESULT=0 with
RESPMSG
RESPMSG=Verified means a zero dollar authorization has been successfully performed. Character length and limitations: variable, alphanumeric characters
55
AVSADDR
AVSZIP
IAVS
PROCAVS
PROCCVV2
CORRELATIONID
AMEXID
who authorize transactions through the payflow gateway but settle through a third-party solution. Character length and limitations: 15 numeric characters
56
PNREF Value
The PNREF is a unique transaction identification number issued by PayPal that identifies the transaction for billing, reporting, and transaction data purposes. The PNREF value appears in the Transaction ID column in PayPal Manager reports. The PNREF value is used as the ORIGID value (original transaction ID) in Delayed Capture transactions (TRXTYPE=D), Credits (TRXTYPE=C), Inquiries (TRXTYPE=I), and Voids (TRXTYPE=V). The PNREF value is used as the ORIGID value (original transaction ID) value in reference transactions for Authorization (TRXTYPE=A) and Sale (TRXTYPE=S).
N O T E : The
57
PNREF Format
The PNREF is a 12-character string of printable characters, for example: VADE0B248932 ACRAF23DB3C4
N O T E : Printable
characters also include symbols other than letters and numbers such as the question mark (?). A PNREF typically contains letters and numbers only.
The PNREF in a transaction response tells you that your transaction is connecting to PayPal.
Verification transactions, RESULT=0 with RESPMSG=Verified means a zero dollar authorization has been successfully performed.
A value less than 0 indicates that a communication error occurred. In this case, no transaction is attempted. A value greater than 0 indicates a decline or error. The response message (RESPMSG) provides a brief description for decline or error results.
to the request applicaton. See the PayPal API documentation on the PayPal website for information on corrective actions.
58
2 3 4 5 6 7 8 9 10 11 12
13
19 20 22
59
26
60
61
filter. This is not an error, but a notice that the transaction is in a review status. The transaction has been authorized but requires you to review and to manually accept the transaction before it will be allowed to settle. RESULT value 126 is intended to give you an idea of the kind of transaction that is considered suspicious to enable you to evaluate whether you can benefit from using the Fraud Protection Services. To eliminate RESULT 126, turn the filters off. For more information, see the fraud documentation for your payments solution. 127 128 132 133 150 151 200 201 600 601 1000 1001 1002 1003 1004 1011 1012 Fraud Protection Services Filter Not processed by filters Fraud Protection Services Filter Declined by merchant after being flagged for review by filters Card has not been submitted for update Data mismatch in HTTP retry request Issuing bank timed out Issuing bank unavailable Reauth error Order error Cybercash Batch Error Cybercash Query Error Generic host error. This is a generic message returned by your credit card processor. The RESPMSG will contain more information describing the error. Buyer Authentication Service unavailable Buyer Authentication Service Transaction timeout Buyer Authentication Service Invalid client version Buyer Authentication Service Invalid timeout value Buyer Authentication Service unavailable Buyer Authentication Service unavailable
62
1017
1021 1022 1023 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
63
64
65
66
American Express on page 67 First Data Merchant Services (FDMS) Nashville on page 76 First Data Merchant Services (FDMS) South on page 77 First Data Merchant Services (FDMS) North on page 77 Elavon (Formerly Nova) on page 79 Paymentech on page 79 TSYS Acquiring Solutions on page 83
American Express
In addition to the parameters in Table 4.1 , Credit card transaction request parameters, American Express accepts the parameters described in this section. Parameters to meet American Express Card Acceptance and Processing Network (CAPN) requirements are described in Table A.1. American Express (legacy) platform parameters are described in Table A.2.
67
appears on AMEX statements and reports. With a few exceptions, most merchants in the United States follow CAPN requirements; international merchants do not. If you are not sure whether you should make the coding changes, contact Customer Service. See How to Contact Customer Support on page 9 for contact information. American Express Phoenix accepts the following parameters to meet CAPN requirements.
TABLE A.1 Parameter American Express CAPN parameters Description Required Type Length
Retail Transaction Advice Addendum Parameters (for SWIPE transactions) L_DESCn L_AMTn Description of this line-item (n is a line item number from 1 to 6) Amount of this line-item (n is a line item number from 1 to 6) Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Examples: tip=3.00, convenience charge=2.00 Quantity of this line-item (n is a line item number from 1 to 6) No No Alphanumeric Numeric 19 12
L_QTYn
No
Numeric
Internet Transaction Data Parameters EMAIL PHONENUM PHONETYPE Account holders email address Account holders telephone number Telephone company provided ANI information identifier digits indicating the telephone call type Examples: cellular (61-63), payphone (27) Name of the server that the account holder is connected to Example: PHX.QW.AOL.COM No No No Alphanumeric String Alphanumeric Alphanumeric and special characters Alphanumeric and special characters 60 20 2
CUSTHOSTNAME
No
60
CUSTBROWSER
No
60
68
SHIPTOCOUNTRY
Numeric country code of ship-to country Example: USA: 840 Shipping method code. The values are: 01 = Same day 02 = Overnight/next day 03 = Priority, 2 - 3 days 04 = Ground, 4 or more days 05 = Electronic delivery 06 - ZZ = Reserved for future use Merchant product SKU
No
SHIPMETHOD
No
Alphanumeric
No
Alphanumeric
15
Account holders street address (number and street name) Account holders 5- to 9-digit ZIP (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737 Account holders telephone number. The formats are xxx-xxx-xxxx (US numbers) +xxxxxxxxxxx (international numbers) First name in the shipping address Last name in the shipping address Shipping street address Numeric country code Example: USA: 840
No No
Alphanumeric String
30 9
PHONENUM
No
String
20
No No No No
30 30 30 3
69
SHIPTOPHONENUM RECURRING
No No
10 1
Location Transaction Advice Addendum Parameters MERCHANTNAME MERCHANTSTREET MERCHANTCITY MERCHANTSTATE MERCHANTCOUNTRYCO DE Name of merchant Merchants street address (number and street name) Merchants city Merchants state Merchants numeric country code Example: USA: 840 Merchants 5- to 9-digit ZIP (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737 No No No No No Alphanumeric 3 Alphanumeric 30
MERCHANTZIP
No
Alphanumeric
70
ADDLAMTTYPEn
No
Alphanumeric
Airline Passenger Data Parameters AIR-DEPARTUREDATE AIR-PASSENGERNAME Departure date in the format YYYYMMDD. Name of the passenger in the following format with fields separated by a space: surname firstname middleinitial title Airport code of the originating airport. For a list of airport codes, see http://www.worldairport-codes.com/alphabetical/airportcode/a.html.
N O T E : Present day airport codes are three
No No
8 60
AIR-ORIGIN
No
characters in length. The five character length is designed to allow for future expansion. AIR-DESTINATION Destination airport code for the first segment of the trip; this is not necessarily the final destination. For example, if a passenger flies from STL to MIA with a layover at JFK, the destination airport is JFK. For a list of airport codes, see http://www.worldairport-codes.com/alphabetical/airportcode/a.html.
N O T E : Present day airport codes are three
No
Alphanumeric
characters in length. The five character length is designed to allow for future expansion.
71
Required No
Type Numeric
Length
AIR-ROUTINGCITYn
No
Alphanumeric
characters in length. The five character length is designed to allow for future expansion. AIR-CARRIERn Two character airline code for each unique airline in this flight, where n is a value from 1 to 10. If the same carrier is used for multiple segments of the trip, it is passed only once. For example, the two AIR-CARRIERn values for the following trip are UA and AA: UA flight from IAD to DEN UA flight from DEN to LAX UA flight from LAX to SFO AA flight from SFO to DFW For information about airlines codes, see http://en.wikipedia.org/wiki/Airline_codes-All. List discounts associated with the travel. Number of passengers on this trip. No Alphanumeric 5
No No
Alphanumeric Numeric
24
If this is an electronic ticket. The values are: Y = yes N = no Code assigned to the travel reservation before the ticket was purchased.
No
Alphanumeric Alphanumeric
AIRRESERVATIONCODE
No
15
72
LASTNAME INVNUM
No No
Alphanumeric Alphanumeric
13 9
ORDERDATE
No
Numeric
ORDERDATETIME
No
19
SWIPE
No
Alphanumeric
80
in the United States follow the CAPN requirements and use the parameters described in Table A.1; international merchants do not and instead use the legacy
73
parameters described in Table A.2. There are a few exceptions. If you are not sure, contact Customer Service. See How to Contact Customer Support on page 9 for contact information.
TABLE A.2 Parameter DESC American Express legacy parameters Required No Type Alphanumeric Length Brighton 40 Other American Express platforms 23 40 40 40 40 13
Describes the transaction. Describes the transaction. Describes the transaction. Describes the transaction. Account holder's first and last name. Note: Even though the parameter name indicates only the first name, this single parameter holds all of the person's name information (both first and last name, at a minimum). Account holder's last name. Merchant invoice number. The merchant invoice number is used for authorizations and settlements and, depending on your merchant bank, will appear on your customer's credit card statement and your bank reconciliation report. If you do not provide an invoice number, the transaction ID (PNREF) will be submitted. Specifies an order date. For example, July 28, 2003 is 072803. Format: mmddyy (with no slashes or dashes)
No No No No No
LASTNAME INVNUM
No No
Alphanumeric Alphanumeric
13 9
ORDERDATE
No
Numeric
74
Description Specifies an order time and date. Format is either YYYY-MM-DD or YYYY-MM-DD HH:MI:SS (where HH is in 24-hour time).If the value does not conform to one of the formats or if the date is not valid (for example, 2004-17-35), then the transaction is rejected with: RESULT=7(SIG_FIELD_ERR) RESPMSG=Invalid ORDERTIME A truncated version of the ORDERTIME value (up to 7 characters) overwrites any value provided by ORDERDATE. If no value is provided, a NULL value is stored Identifies the transaction as recurring. This value does not activate PayPals Recurring Billing Service APIs. If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming Credit, Void, and Force transactions. If you subscribe to PayPals Fraud Protection Services: To avoid charging you to filter recurring transactions that you know are reliable, the fraud filters do not screen recurring transactions. To screen a prospective recurring customer, submit the transaction data using PayPal Managers Manual Transactions page. The filters screen the transaction in the normal manner. If the transaction triggers a filter, then you can follow the normal process to review the filter results. Allows Track 1 and Track 2 data to be passed to enable a card-present transaction.
RECURRING
No
Alphanumeric Y or N
SWIPE
No
Alphanumeric
80
75
Description Merchant invoice number. The merchant invoice number is used for authorizations and settlements and, depending on your merchant bank, will appear on your customer's credit card statement and your bank reconciliation report. If you do not provide an invoice number, the transaction ID (PNREF) will be submitted. Identifies the transaction as recurring. This value does not activate PayPals Recurring Billing Service API. If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming Credit, Void, and Force transactions. If you subscribe to PayPals Fraud Protection Services: To avoid charging you to filter recurring transactions that you know are reliable, the fraud filters do not screen recurring transactions. To screen a prospective recurring customer, submit the transaction data using PayPal Managers Manual Transactions page. The filters screen the transaction in the normal manner. If the transaction triggers a filter, then you can follow the normal process to review the filter results. Allows Track 1 and Track 2 data to be passed to enable a card-present transaction.
RECURRING
No
Alphanumeric Y or N
SWIPE
No
Alphanumeric
80
76
Description Allows Track 1 and Track 2 data to be passed to enable a card-present transaction.
MERCHSVC
No
Alphanumeric
13
77
Merchant e-Solutions
Merchant e-Solutions, Additional Credit Card Parameters
In addition to the parameters in Table 4.1 , Credit card transaction request parameters, Merchant e-Solutions accepts the following parameters:
TABLE A.6 Parameter INVNUM TSYS Acquiring Solutionsa additional parameters Required No Type Alphanumeric Length 9
Description Merchant invoice number. The merchant invoice number is used for authorizations and settlements and, depending on your merchant bank, will appear on your customer's credit card statement and your bank reconciliation report. If you do not provide an invoice number, the transaction ID (PNREF) will be submitted. Allows Track 1 and Track 2 data to be passed to enable a card-present transaction. Identifies the transaction as recurring. This value does not activate PayPals Recurring Billing Service APIs. If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming Credit, Void, and Force transactions. If you subscribe to PayPals Fraud Protection Services: To avoid charging you to filter recurring transactions that you know are reliable, the fraud filters do not screen recurring transactions. To screen a prospective recurring customer, submit the transaction data using PayPal Managers Virtual Terminal page. The filters screen the transaction in the normal manner. If the transaction triggers a filter, then you can follow the normal process to review the filter results.
SWIPE RECURRING
No No
Alphanumeric Alphanumeric Y or N
80 1
78
Description Identifies the transaction as recurring. This value does not activate PayPals Recurring Billing Service API. If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming Credit, Void, and Force transactions. If you subscribe to PayPals Fraud Protection Services: To avoid charging you to filter recurring transactions that you know are reliable, the fraud filters do not screen recurring transactions. To screen a prospective recurring customer, submit the transaction data using PayPal Managers Manual Transactions page. The filters screen the transaction in the normal manner. If the transaction triggers a filter, then you can follow the normal process to review the filter results.
Paymentech
Paymentech Salem (New Hampshire), Additional Credit Card Parameters (CAPN)
In addition to the parameters in Table 4.1 , Credit card transaction request parameters, Paymentech Salem (New Hampshire) accepts the parameters in Table A.8 to meet CAPN requirements.
TABLE A.8 Parameter Additional Paymentech parameters to meet CAPN requirements Description Required Type Length
Internet Transaction Data Parameters EMAIL Account holders email address No Alphanumeric 60
79
Additional Paymentech parameters to meet CAPN Description Account holders telephone number Telephone company provided ANI information identifier digits indicating the telephone call type Examples: cellular (61-63), payphone (27) Name of the server that the account holder is connected to Example: PHX.QW.AOL.COM Required No No Type String Alphanumeric Alphanumeric and special character s Alphanumeric and special character s Alphanumeric and special character s Alphanumeric Length 20 2
CUSTHOSTNAME
No
60
CUSTBROWSER
No
60
CUSTIP
No
15
SHIPTOCOUNTRY
Numeric country code of ship-to country Example: USA: 840 Shipping method code. The values are: 01 = Same day 02 = Overnight/next day 03 = Priority, 2 - 3 days 04 = Ground, 4 or more days 05 = Electronic delivery 06 - ZZ = Reserved for future use Merchant product SKU
No
SHIPMETHOD
No
Alphanumeric
No
Alphanumeric
15
No
Alphanumeric
30
80
Additional Paymentech parameters to meet CAPN Description Account holders 5- to 9-digit ZIP (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737 Account holders telephone number. The formats are xxx-xxx-xxxx (US numbers) +xxxxxxxxxxx (international numbers) First name in the shipping address Last name in the shipping address Shipping street address Numeric country code Example: USA: 840 Shipping 5- to 9-digit ZIP (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737 Shipping telephone number Identifies the transaction as recurring. This value does not activate the PayPal Recurring Billing Service API. If the RECURRING parameter was set to Y for the original transaction, then the setting is ignored when forming Credit, Void, and Force transactions. If you subscribe to PayPals Fraud Protection Services: To avoid charging you to filter recurring transactions that you know are reliable, the fraud filters do not screen recurring transactions. To screen a prospective recurring customer, submit the transaction data using PayPal Managers Virtual Terminal. The filters screen the transaction in the normal manner. If the transaction triggers a filter, then you can follow the normal process to review the filter results. Required No Type String Length 9
PHONENUM
No
String
20
No No No No
30 30 30 3
SHIPTOZIP
No
SHIPTOPHONENUM RECURRING
No No
10 1
81
MERCHDESCR
No No No No No
22 13 2 80 1
MERCHSVC
82
Retail Transaction Advice Addendum Parameters (for SWIPE transactions) L_DESCn L_AMTn Description of this line-item (n is a line item number from 1 to 6) Amount of this line-item (n is a line item number from 1 to 6) Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Examples: tip=3.00, convenience charge=2.00 Quantity of this line-item (n is a line item number from 1 to 6) No No Alphanumeric Numeric 19 12
L_QTYn
No
Numeric
Internet Transaction Data Parameters EMAIL PHONENUM PHONETYPE Account holders email address Account holders telephone number Telephone company provided ANI information identifier digits indicating the telephone call type Examples: cellular (61-63), payphone (27) No No No Alphanumeric String Alphanumeric 60 20 2
83
CUSTBROWSER
Account holders HTTP browser type Example: MOZILLA/4.0~(COMPATIBLE;~MSIE~5.0;~W INDOWS~95) Account holders IP address
No
60
CUSTIP
No
15
SHIPTOCOUNTRY
Numeric country code of ship-to country Example: USA: 840 Shipping method code. The values are: 01 = Same day 02 = Overnight/next day 03 = Priority, 2 - 3 days 04 = Ground, 4 or more days 05 = Electronic delivery 06 - ZZ = Reserved for future use Merchant product SKU
No
SHIPMETHOD
No
Alphanumeric
No
Alphanumeric
15
Account holders street address (number and street name) Account holders 5- to 9-digit ZIP (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737 Account holders telephone number. The formats are xxx-xxx-xxxx (US numbers) +xxxxxxxxxxx (international numbers)
No No
Alphanumeric String
30 9
PHONENUM
No
String
20
84
SHIPTOZIP
No
SHIPTOPHONENUM RECURRING
No No
10 1
Location Transaction Advice Addendum Parameters MERCHANTNAME MERCHANTSTREET MERCHANTCITY MERCHANTSTATE Name of merchant Merchants street address (number and street name) Merchants city Merchants state No No No No Alphanumeric 30
85
MERCHANTZIP
No
Alphanumeric
Transaction Advice Detail Parameters ADDLAMTn Detail of a charge where n is a value from 1 - 5 Use for additional breakdown of the amount Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Examples: tip=3.00, convenience charge=2.00 A 3-digit code indicating the type of the corresponding charge detail, where n is a value from 1 - 5 No Numeric 12
ADDLAMTTYPEn
No
Alphanumeric
Airline Passenger Data Parameters AIR-DEPARTUREDATE AIR-PASSENGERNAME Departure date in the format YYYYMMDD. Name of the passenger in the following format with fields separated by a space: surname firstname middleinitial title Airport code of the originating airport. For a list of airport codes, see http://www.worldairport-codes.com/alphabetical/airportcode/a.html.
N O T E : Present day airport codes are three
No No
8 60
AIR-ORIGIN
No
characters in length. The five character length is designed to allow for future expansion.
86
Required No
Type Alphanumeric
Length 5
characters in length. The five character length is designed to allow for future expansion. AIRNUMBEROFCITIES Number of unique cities in this trip including the cities of origin and destination, where a maximum value of 10 is allowed. For example, AIRNUMBEROFCITIES is 3 for the following trip: DEN to LAX LAX to SFO SFO to DEN If not provided, this value is equal to the number of AIR-ROUTINGCITYn parameters. Airport codes of each city in this flight including cities of origin and destination, where n is a value from 1 to 10. For a list of airport codes, see http://www.worldairport-codes.com/alphabetical/airportcode/a.html.
N O T E : Present day airport codes are three
No
Numeric
AIR-ROUTINGCITYn
No
Alphanumeric
characters in length. The five character length is designed to allow for future expansion.
87
No No
Alphanumeric Numeric
24
If this is an electronic ticket. The values are: Y = yes N = no Code assigned to the travel reservation before the ticket was purchased.
No
Alphanumeric Alphanumeric
No
15
Account holder's first and last name. Note: Even though the parameter name indicates only the first name, this single parameter holds all of the person's name information (both first and last name, at a minimum). Account holder's last name. Merchant invoice number. The merchant invoice number is used for authorizations and settlements and, depending on your merchant bank, will appear on your customer's credit card statement and your bank reconciliation report. If you do not provide an invoice number, the transaction ID (PNREF) will be submitted. Order date For example, July 28, 2003 is 072803. Format: mmddyy (with no slashes or dashes)
No
Alphanumeric
13
LASTNAME INVNUM
No No
Alphanumeric Alphanumeric
13 9
ORDERDATE
No
Numeric
88
SWIPE
No
Alphanumeric
80
SWIPE
No
Alphanumeric
80
89
90
Paypal offers electronic check acceptance through TeleCheck. Before processing electronic check transactions, merchants must obtain an account through TeleCheck (www.telecheck.com). For information on: Performing credit card transactions, skip this chapter and see Credit Card Transactions on page 23. Performing ACH transactions, contact your PayPal Sales Representative at
[email protected]
TeleCheck Parameters
Parameters used for processing electronic checks through TeleCheck are described in Table B.1. Required and optional parameters are noted.
N O T E : Appendix
E, Additional Reporting Parameters, provides a list of parameters that you can pass for reporting purposes.
Required Parameters
As a summary of Table B.1, the following parameters are required for every electronic check transaction:
TRXTYPE TENDER CHKTYPE PARTNER VENDOR USER PWD AMT CITY DL or SS CHKNUM EMAIL MICR NAME STATE
91
TeleCheck Parameters Required Yes Type Numeric US Dollars only. Alpha Alphanumeric Alphanumeric Numeric Alpha Length 7
Description This is the transaction amount. Default: U.S. dollars. The transaction amount should always specify a decimal, and the exact amount to the cent (for example, 34.00, instead of 34). Do not include comma separators in the amount. Use 1199.95 not 1,199.95. Account holders city User-defined value for reporting and auditing purposes. User-defined value for reporting and auditing purposes. Account holders next unused (available) check number Check type: P: personal (default) or C: company If CHKTYPE=P, then a value for either DL or SS must be passed as an identifier. If CHKTYPE=C, then the Federal Tax ID must be passed as the SS value. Drivers license number. If CHKTYPE=P, a value for either DL or SS must be passed as an identifier. Format: XXnnnnnnnn XX = State Code nnnnnnnn = DL Number Account holders date of birth. Format: mmddyyyy. For example, July 28, 1965 is represented as 07281965. Account holders e-mail address Check invoice number Magnetic Ink Check Reader. This is the entire line of numbers at the bottom of all checks. It includes the transit number, account number, and check number. Account holders name as it appears on the check
20 128 128 7
DL
Yes
Alphanumeric
33
DOB
No
Yes No Yes
40 9 35
NAME
Yes
30
92
Description The authorized PayPal Reseller that registered you for the Payflow service provided you with a Partner ID. If you registered yourself, use PayPal. This parameter is case-sensitive. Account holders telephone number Case-sensitive 6- to 32-character password that you created while registering for the account. Account holders social security number. If CHKTYPE=P, a value for either DL or SS must be passed as an identifier. If CHKTYPE=C, the Federal Tax ID must be passed as the SS value. Account holders state Account holders street address Tender type (method of payment). Use only the value K (electronic check). Type of transaction that should be processed. Allowed transaction types: Sale (S), Void (V), Inquiry (I). Case-sensitive login ID for the Payflow Pro account that you created while registering for the account. In the future, each account will allow multiple users. This parameter will specify the user. Case-sensitive Vendor ID that you created while registering for the account. Account holders 5- to 9-digit postal code (called ZIP code in the USA). Do not use spaces, dashes, or non-numeric characters.
PHONENUM PWD SS
No Yes No
20 32 35
2 30 1 1 64
VENDOR ZIP
Yes Yes
Alphanumeric Alpha
64 9
93
Name>&PWD=<your Payflow password>& AMT=42.00&STREET=1234 Main&CITY=Buffalo&DL=CA123456&CHKNUM=1001&EMAIL=<y our e-mail address>&MICR=<Use a MICR value from Table B.2>&NAME=Sally&STATE=CA&ZIP=95050 TABLE B.2 MICR 1234567804390850001001 1234567804390850011001 1234567804390850021001 1234567804390850031001 1234567804390850041001 1234567804390850051001 1234567804390850071001 MICR values for testing HOSTCODE 000800 000801 000802 000803 000804 000805 000807 TeleCheck Result Check Approved ECA Check Approved No ECA Check Approved ECA, No Guarantee Check Approved No ECA, No Guarantee Check Decline Negative Data Check Decline Scoring Check Failed
94
Description The outcome of the attempted transaction. A result of 0 (zero) indicates the transaction was approved. Any other number indicates a decline or error. RESULT values are described in RESULT Values and RESPMSG Text on page 58. PayPal Reference ID, a unique number that identifies the transaction. PNREF is described in HOSTCODE Values on page 95. TeleChecks response code representing the results of the transaction authorization attempt. These values are described in HOSTCODE Values on page 95. A descriptive message associated with decline or error RESULTs. Response messages are described in Chapter , Responses to Transaction Requests.
PNREF HOSTCODE
Alphanumeric Numeric
12 6
RESPMSG
Alphanumeric
Variable
HOSTCODE Values
The HOSTCODE reflects the TeleCheck server result. The following tables describe the HOSTCODE values. TeleCheck requires that you display certain verbiage to the purchaser based on the returned HOSTCODE valuecheck with TeleCheck for details.
N O T E : Many of these codes will not be encountered under normal operating conditionsthey
are included as a troubleshooting aid. In the tables, the Frequency column indicates the likelihood that you will encounter the code.
TABLE B.4 Code 000500 000501 000502 000504 000505 000800 000801 000802 000803 Response Sale Approved Sale Time-out Test Card ANI Sale Approved PB Sale Approved Sale Approved Sale Approved Sale Approved Sale Approved Sale Approved HOSTCODE values Description Sale Approved by credit card network Sale transaction time-out in credit card network Test card sale approved (never billed) 900/Telco sale approved Private billing sale approved Direct Check Sale/ECA approved Direct Check Sale approved (no ECA) Direct Check Sale/ECA approved no guarantee Direct Check Sale approved no ECA no guarantee Frequency Common Common Common ANI bill only PB only Direct Check Direct Check Direct Check Direct Check
95
TABLE B.5 Code 000300 000301 000804 000805 000807 Response Sale Declined Sale Rejected
Sale Declined HOSTCODE values Description Sale declined by credit card network Sale does not meet risk standards Direct Check Sale declined negative data Direct Check Sale Decline Scoring Direct Check Sale Inquiry Approved HOSTCODE values Description Preauthorization approved. AVS matches if provided. No response from credit card network for preauth. Preauthorization approved, AVS timed out Private billing approved. Previous positive history. Test Card Preauthorization approved, AVS match 900/TELCO billing approved Frequency Common Common AVS only PB only Common Common AVS only ANI bill only Frequency Common Common Direct Check Direct Check Direct Check
Response OTB Approved No Response AVS Time-out PB Approved Positive Record Test card Approved OTB/AVS Approval ANI Bill approved TABLE B.7
General Failure HOSTCODE values Description General host based failure Invalid for one or more fields in transaction TeleCheck received an unknown response Frequency Rare Common Rare
Inquiry Declined HOSTCODE values Description Declined by credit card or Telco network (LIDB) Mismatch on PIN stored in TeleCheck database Frequency Common Not Used
96
Inquiry Declined HOSTCODE values Description Temporary and permanent blocks. Prior OTB decline, sale decline or CS block Transaction falls below minimum scoring standards. Most frequently used for risk scoring declines, where a transaction falls below minimum standards. ANI previously blocked by CS Card with chargeback history ANI with chargeback history Card has exceeded usage limits ANI has excessive number of cards ANI has exceeded usage limits Card has been used from excessive ANI OTB decline and AVS mismatch OTB approved and AVS mismatch OTB decline and AVS match Temporary Risk referral, AVS necessary Card does not meet minimum bank restrictions Private billing risk referral, AVS necessary Frequency Common
000215 000220 000225 000230 000240 000250 000260 000270 000271 000272 000280 000281 000282
a. This
Negative ANI Record Chargeback Card Chargeback ANI Exceed card profilea Too many Cards
a
Common Common Common Uncommon Uncommon Uncommon Uncommon AVS OTB only AVS OTB only AVS OTB only Common Not Used PB Only
Exceed ANI profilea Too Many Phonesa OTB/AVS Decline OTB/AVS Decline OTB/AVS Decline Risk Referral Card Not Qualified PB Risk Referral
data is included in risk scoring decisions and a response of 210 has higher precedence.
97
98
issuing institutions perform strict data verification on the enhanced data that is submitted with Level 2 or Level 3 transactions. Issuers may charge stiff penalties if fields contain either inaccurate or filler data. Only transactions that contain accurate data are eligible for the incentive rates.
99
Transaction levels Description Additional data regarding sales tax, customer code, purchase order number, invoice number are captured at the point of sale. In most cases, this information is combined with the merchants tax ID number, state, and postal code data and is then passed through during settlement. For some processors and banks, however, a Level 2 authorization may include some of this data. Significant additional information such as line items, product codes, item descriptions, unit price, unit quantities, and ship-to postal data are added to the Level 2 data to provide optimal reporting to buyers and sellers. Settlement transactions typically carry Level 3 data.
Level 3
Level 2 and Level 3 data is generally considered non-financial data. Lack of adequate data may cause a transaction to be downgraded. PayPal generally requires up to Level 2 information in an Authorization transaction followed by additional Level 3 data in the associated Delayed Capture transaction. A Sale transaction should include all Level 3 data since it is authorized and later settled.
100
Avoiding Downgrade
If a transaction uses the purchasing card BIN range (see Accepted BIN Ranges on page 100) and contains a line item but does not include all mandatory Level 3 parameters, then the transaction succeeds but is processed as Level 2 or Level 1 during settlement (depending on which data was passed). For downgraded transactions, with the VERBOSITY parameter set to MEDIUM or HIGH, a message like the following is returned in the ADDLMSGS field:
Features not processed: PCARD L3 (missing or invalid: InvoiceNumber RequestorName)
or
Features not processed: PCARD L3 (line item 3 missing: Description)
For details on VERBOSITY, see Appendix D, VERBOSITY: Viewing Processor-Specific Transaction Results.
Edit Check
PayPal performs an edit check on the transactions amount fields to ensure that all line item and tax amounts balance. If the edit check fails, the transaction fails with Result 4: Invalid Amount. To pass the edit check, the following relationship must be true: Transaction Amount = Total Tax Amount + Total Freight Amount + Total Handling Amount + Total Line Item Amount.
Transaction Amount Total Tax Amount Total Freight Amount Total amount for the transaction, AMT TAXAMT FREIGHTAMT, or, if not present, the summation of L_FREIGHTAMTn for all line items
101
HANDLINGAMT, or, if not present, the summation of L_HANDLINGAMTn for all line items Summation of L_QTYn * L_COSTn for all line items (n as the line item number). For example, if there are 2 line items, then the Total Line Item Amount would be (LQTY1*LCOST1) + (LQTY2*LCOST2)
merchants in the United States follow CAPN requirements; international merchants do not.There are a few exceptions. If you are not sure, contact Customer Service. See How to Contact Customer Support on page 9 for contact information.
102
Description
CPC Level 2 Transaction Advice Addendum Parameters PONUM SHIPTOZIP Purchase order number Ship-to postal code (called zip code in the USA). This field must contain one of the following values: Zip code of the destination where the merchandise is to be shipped (If the above is not available) Zip code of the location where the merchant executed the transaction Total tax amount Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56 Description of this line item; if not provided, DESC1 (if present) is used Charge for this line item Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56 Quantity of this line item Description of this line item; if not provided, DESC2 (if present) is used Charge for this line item Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Quantity of this line item Description of this line item; if not provided, DESC3 (if present) is used Charge for this line item Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Quantity of this line item Yes Yes Alphanumeric Alphanumeric 17 15
TAXAMT
No
Numeric
12
L_DESC1 L_AMT1
No No
Alphanumeric Numeric
140 12
No No No
3 40 12
No No No
3 40 12
L_QTY3
No
Numeric
103
Description Description of this line item; if not provided, DESC4 (if present) is used Charge for this line item Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Quantity of this line item
L_QTY4
No
Numeric
Location Transaction Advice Addendum Parameters MERCHANTNAME MERCHANTSTREET MERCHANTCITY MERCHANTSTATE Name of merchant Merchants street address (number and street name) Merchants city Merchants state No No No No No Alphanumeric Alphanumeric 38 38 21 3 3
MERCHANTCOUNTRY Merchants numeric country code CODE Example: USA: 840 MERCHANTZIP Merchants 5- to 9-digit zip (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737
No
Alphanumeric
15
Transaction Advice Detail Parameters ADDLAMTn Detail of a charge (n is the line item number, a value from 1 - 5); use for additional breakdown of the charge Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Examples: tip=3.00, convenience charge=2.00 A 3-digit code indicating the type of the corresponding charge detail (n is the line item number, a value from 1 - 5) No Numeric 12
ADDLAMTTYPEn
No
Alphanumeric
104
Description Purchase order number Ship-to postal code (called zip code in the USA). This field must contain one of the following values: Zip code of the destination where the merchandise is to be shipped (If the above is not available) Zip code of the location where the merchant executed the transaction Freeform description Freeform description Freeform description Freeform description
No No No No
40 40 40 40
105
Postal code, Merchant No, and Federal Tax ID. The merchant provides the values listed in Table C.4.
TABLE C.4 AMEX Name (per American Express Specification) Supplier Reference Number Authorization Code Mandatory / Optional American Express Phoenix Level 3 Parameters XMLPayRequest parameter (See Payflow Pro XMLPay Developers Guide for detailed instructions.) Invoice.InvNum
Pay Flow SDK parameter INVNUM Defaults to PNREF if not present. AUTHCODE (Passed transparently for delayed capture. Use only with voice authorized force capture transactions) REQNAME PONUM SHIPTOZIP Ship-to postal code (called zip code in the USA). This field must contain one of the following values: Zip code of the destination where the merchandise is to be shipped (If the above is not available) Zip code of the location where the merchant executed the transaction INVOICEDATE Defaults to Transaction Date if not present.
ForceCapture.Authcode
M M M
Invoice Date
Invoice.Date
106
Pay Flow SDK parameter AMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56).
N O T E : American Express Phoenix
Level 3 processing requires that this parameter have a maximum field length of 8 for Level 3 processing. Total Tax Amount M TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). DESC Defaults to NO FREIGHTAMT HANDLINGAMT L_QTYn L_UOMn L_COSTn L_DESCn L_CATALOGNUMn L_COSTCENTERNUMn L_PRODCODEn Invoice.TaxAmt 1/6 NUM
Charge Description Total Freight Amt Total Handling Amt Quantity Invoiced Unit of Measure Unit Price Item Description Supplier Catalog No Cost Center No Supplier Stock Keeping Unit Number Universal Product Code Item Tax Amount
O O O M M M M M M O
Invoice.Description Invoice.FreightAmt Invoice.HandlingAmt Item.Quantity Item.UnitOfMeasurement Item.UnitPrice Item.Description Item.CatalogNumber Item.CostCenterNumber Item.SKU
1/40, AN 1/15, AN 1/15, AN 1/10, NUM 2/2, AN 1/15, NUM 1/80, AN 1/20, AN 1/30, AN 1/30, AN
O O
L_UPCn L_TAXAMTn
Item.UPC Item.TaxAmt
107
Pay Flow SDK parameter L_FREIGHTAMTn L_HANDLINGAMTn L_TRACKINGNUMn L_PICKUPSTREETn L_PICKUPCITYn L_PICKUPSTATEn L_PICKUPZIPn L_PICKUPCOUNTRYn L_UNSPSCCODEn
Format (min/max, type) 1/15, NUM 1/15, NUM 1/30, AN 1/40, AN 2/30, AN 2/2, AN 3/15, AN 2/3, AN 1/30, AN
O O O O O O O O O
First Data Merchant Services (FDMS) Nashville Purchasing Card Transaction Processing
N O T E : FDMS
108
The following parameters are recommended to obtain the best rates for purchasing card transactions with FDMS Nashville.
TABLE C.5 Parameter COMMCARD FDMS commercial card parameters Required No (defaults to U - Unknown) Type Alphanumeric Length 1
Description One-character value representing type of purchasing card account number sent. P Purchase Card C Corporate Card B Business Card U Unknown (default) N None Sometimes called import tax. The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). Freight amount. The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56).. Purchase order number.
DUTYAMT
No
Currency
10
FREIGHTAMT
No
Currency
10
PONUM
No (but provides best rate when used) No (but provides best rate when used) No (but provides best rate when used)
Alphanumeric Numeric
25
SHIPTOZIP
TAXAMT
Tax amount. The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56).. Is the customer tax exempt? Y or N
Currency
10
TAXEXEMPT
No
Alpha
109
First Data Merchant Services (FDMS) North Purchasing Card Transaction Processing
The following parameters are recommended to obtain the best rates for Level 2 and Level 3 purchasing card transactions with FDMS North:
TABLE C.6 Parameter SHIPTOCOUNTRY FDMS North purchasing card parameters Description Destination country code. Visa and MasterCard are different. Refer to country code tables. (See Appendix F, ISO Country Codes) Discount amount on total sale Sometimes called import tax. If the currency uses a decimal, then the value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56) See FDMS South Currency Codes and Decimal Positions on page 166. Freight amount If the currency uses a decimal, then the value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). See FDMS South Currency Codes and Decimal Positions on page 166. Purchase order number / merchant-related data. Required No Type Alpha Length 4
DISCOUNT DUTYAMT
No No
Currency Currency
10 10
FREIGHTAMT
No
Currency
10
PONUM
No (but provides best rate when used) No (but provides best rate when used) No (but provides best rate when used)
Alphanumeric
25
SHIPFROMZIP
The postal code (called zip code in the USA) from which shipping occurs.
Numeric
SHIPTOZIP
Numeric
110
Description Quantity (whole units only). Item commodity code. Item description. Item unit of measure. See Units of Measure on page 161. Cost per item, excluding tax. Supplier specific product code. Discount per line item. Total line item amount including tax and discount. + for debit, - for credits. Line item tax amount.
111
First Data Merchant Services South (FDMS) Purchasing Card Transaction Processing
The following parameters are recommended to obtain the best rates for Level 2 and Level 3 purchasing card transactions with FDMS South.
TABLE C.8 Parameter CITY SHIPTOCOUNTRY FDMS South Level 2 and Level 3 purchasing card parameters Description Cardholders city. Destination Country Code. Visa and MasterCard are different. Refer to Country Code tables. (See Appendix F, ISO Country Codes) Customer code/customer reference ID. Discount amount on total sale. Sometimes called import tax. If the currency uses a decimal, then the value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). See FDMS South Currency Codes and Decimal Positions on page 166. Cardholders first name. Freight amount. If the currency uses a decimal, then the value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56)). See FDMS South Currency Codes and Decimal Positions on page 166. Merchant invoice number. This reference number (PNREFgenerated by PayPal) is used for authorizations and settlements. The acquirer decides if this information will appear on the merchants bank reconciliation statement. Cardholders last name. Order date. Format is mmddyy with no slashes or dashes. For example, July 28, 2003 is 072803. Required No No Type Alpha Alpha Length 13 4
No No No
17 10 10
FIRSTNAME FREIGHTAMT
No No
Alpha Currency
15 10
INVNUM
No
Alphanumeric
LASTNAME ORDERDATE
No No
Alpha Numeric
15 6
112
PONUM
No (but provides best rate when used) No (but provides best rate when used) No (but provides best rate when used) No No No (but provides best rate when used)
Alphanumeric
25
SHIPFROMZIP
The postal code (called zip code in the USA) from which shipping occurs.
Numeric
SHIPTOZIP
Numeric
Cardholders state. Allows Track 1 and Track 2 data to be passed to enable a card-present transaction. Tax amount. The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). See FDMS South Currency Codes and Decimal Positions on page 166. Is the customer tax exempt? Y or N
2 80 10
TAXEXEMPT
No
Alpha
113
name-value starts with L_ and ends with n where n is the line item number. For example L_QTY0=1 is the quantity for line item 0 and is equal to 1, with n starting at 0.
TABLE C.9 Parameter L_QTYn L_COMMCODEn L_DESCn FDMS South purchasing card line item parameters Required Yes No No No No No No Yes No Type Numeric Alphanumeric Alphanumeric Alpha Currency Alphanumeric Currency Currency Currency Length 10 12 35 3 10 12 10 10 10
Description Quantity (whole units only). Item commodity code. Item description. Item unit of measure. See Units of Measure on page 161. Cost per item, excluding tax. Supplier-specific product code. Discount per line item. Total line item amount including tax and discount. + for debit, - for credits. Line item tax amount.
114
Example Global Payments - Central Level 2 Visa or MasterCard Transaction Parameter String
TRXTYPE=S&ACCT=5105105105105100&AMT=20.10&CITY=Mountain View&COMMENT1=L2 Testing&EXPDATE=1209&NAME=Cardholder Name&PARTNER=PayPal&PWD=pwd&STATE=CA&STREET=123 Main St.&TENDER=C&USER=user&ZIP=94043&CUSTCODE=123456&TAXAMT=1.34
115
Example Global Payments - East Level 2 Visa or MasterCard Transaction Parameter String
TRXTYPE=S&ACCT=5105105105105100&AMT=20.10&CITY=Mountain View&COMMENT1=L2 Testing&EXPDATE=1209&NAME=Cardholder Name&PARTNER=PayPal&PWD=pwd&STATE=CA&STREET=123 Main St.&TENDER=C&USER=user&ZIP=94043&CUSTCODE=123456&TAXAMT=1.34
Global Payments - Central (MAPP) supports Level 2 for MasterCard, and Visa Sale, Credit, and Delayed Capture transactions.
116
Level 2 values marked as mandatory in Table C.12 are required to get the discount rate.
TABLE C.12 Merchant e-Solutions Level 2 parameters Merchant eSolutions Name Cust Ref ID Tax Amount Mandatory / Optional M M Format (min/max, type) 1/17, AN NUM
Payflow Parameter PONUM TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). TAXEXEMPT, Y or N
1, A
Example Merchant e-Solutions Level 2 Visa Transaction Parameter String TRXTYPE=S&ACCT=4111111111111111&AMT=20.02&CITY=Mountain View&COMMENT1=L2 Testing&EXPDATE=1209&INVNUM=661254585&NAME=CardHolder Name&PARTNER=PayPal&PWD=pwd&STATE=CA&STREET=123 Main St.&TAXAMT=1.01&TAXEXEMPT=N&TENDER=C&USER=user&ZIP=94043
details.
117
Merchant e-Solutions Level 2 MasterCard Parameters Required for Level 3 Transactions TABLE C.13 Merchant e-Solutions Level 2 MasterCard parameters for Level 3 line item transactions Merchant e-Solutions Name Purchase Identifier Tax Amt Mandatory / Optional M M Length, Data Type 25, AN NUM
Payflow Parameter PONUM Value of TransID is sent if no value is provided. TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). LOCALTAXAMT TAXEXEMPT, Y or N NATIONALTAXAMT You may omit this parameter if there is no such tax. INVNUM Value of PNREF is sent if no value is provided.
Lcl Tax Lcl Tax Incl Flag National Tax Amt Purch Ord #/Cust Ref ID
O O O M
The parameters listed in Table C.14 apply to Level 3 MasterCard transactions as extended data.
TABLE C.14 Merchant e-Solutions Level 3 MasterCard Extended Data Merchant e-Solutions Name Freight Amt Duty Amt Dest Postal / ZIP Code Mandatory / Optional O O M Payflow Parameter FREIGHTAMT DUTYAMT SHIPTOZIP The zip code of the address to which the goods are shipped. SHIPFROMZIP The postal code (called zip code in the USA) from which shipping occurs. SHIPTOCOUNTRY ALTTAXAMT Length, Data Type 12, NUM 12, NUM 10, AN
Ship from Postal / ZIP Code Dest Country Code Alt Tax Amt
10, AN
O O
4, AN 9, NUM
118
Merchant e-Solutions Level 3 MasterCard Line item Detail Records TABLE C.15 Merchant e-Solutions Level 3 MasterCard line item detail record Merchant e-Solutions Name Mandatory / Optional Payflow Parameter Length, Data Type
N O T E : For these values, n is a sequence counter that should begin with 1 and increase in sequence. Each line item
should also contain quantity (L_QTY<n>) and unit price (L_COST<n>) fields. Item Descriptor Product Code Quantity Unit of Measure/Code Tax Rate Applied Tax Type Applied Tax Amount Discount Amount M O M M O O O O L_DESCn L_UPCn L_QTYn L_UOMn L_TAXRATEn L_TAXTYPEn L_TAXAMTn L_DISCOUNTn 35, AN 12, AN 12, NUM 12, AN 4, NUM 4, AN 12, NUM 12, NUM
Example Merchant e-Solutions Level 3 MasterCard Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&USER=User&PWD=Password&ACCT=552500000000 0005&EXPDATE=0406&AMT=1.00&STREET=5199 JOHNSON&ZIP=94588&ALTTAXAMT=1.00&CUSTVATREGNUM=11111&LOCALTAXAMT=1.00&NATIO NALTAXAMT=1.00&COMMCODE=22222&VATAXAMT=1.00&VATAXPERCENT=10&TAXEXEMPT=Y&DIS COUNT=1.00&FREIGHTAMT=1.00&DUTYAMT=1.00&SHIPTOZIP=33333&SHIPFROMZIP=44444&S HIPTOCOUNTRY=840&ORDERDATE=020725&L_COMMCODE1=123456789ABC&L_DESC1=Line item 1 description&L_UPC1=CBA987654321&L_QTY1=1&L_UOM1=123456789012&L_COST1=1.00&L _TAXAMT1=1.00&L_TAXRATE1=1.00&L_DISCOUNT1=1.00&L_AMT1=1.00&L_TAXTYPE1=TT3
details.
119
Merchant e-Solutions Level 2 Visa Parameters Required for Level 3 Transactions TABLE C.16 Merchant e-Solutions Level 2 Visa parameters for Level 3 line item transactions Merchant eSolutions Name Purchase Identifier Tax Amount Mandatory / Optional M M Length, Data Type 25, AN NUM
Payflow Parameter PONUM Value of TransID is sent if no value is provided. TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). LOCALTAXAMT TAXEXEMPT, Y or N.
Lcl Tax Lcl Tax Incl Flag National Tax Amt Purch Ord #/Cust Ref ID
O M
The parameters listed in Table C.17 apply to Level 3 Visa transactions as extended data.
TABLE C.17 Merchant e-Solutions Level 3 Visa extended data Merchant eSolutions Name Summary Commodity Code Discount Amt Freight Amt Duty Amt Order Date Mandatory / Optional M O M O O Payflow Parameter COMMCODE Commodity code identifier for the business. DISCOUNT FREIGHTAMT DUTYAMT ORDERDATE Format is mmddyy with no slashes or dashes. For example, July 28, 2003 is 072803 SHIPTOZIP The zip code of the address to which the goods are shipped. Length, Data Type 4, AN 12, NUM 12, NUM 12, NUM 6, NUM
10, AN
120
O M
4, AN 20, AN
9, AN
M O O
121
Merchant e-Solutions Level 3 Visa Line item Detail Records TABLE C.18 Merchant e-Solutions Level 3 Visa line item detail record Merchant e-Solutions Name Mandatory / Optional Payflow Parameter Length, Data Type
N O T E : For these values, n is a sequence counter that should begin with 1 and increase in sequence. Each line item
should also contain quantity (L_QTY<n>) and unit price (L_COST<n>) fields. Item Commodity Code Item Descriptor Product Code Quantity Unit of Measure/Code Unit Cost VAT/Tax Amount VAT/Tax Rate Discount Per Line Item Line-item Total O M M M M M O O M O L_COMMCODEn L_DESCn L_UPCn L_QTYn L_UOMn L_COSTn L_TAXAMTn L_TAXRATEn L_DISCOUNTn L_AMTn 12, AN 35, AN 12, AN 12, NUM 12, AN 12, NUM 12, NUM 4, NUM 12, NUM 12, NUM
Example Merchant e-Solutions Level 3 Visa Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&USER=User&PWD=Password&ACCT=411111111111 1111&EXPDATE=0406&AMT=1.00&STREET=5199 JOHNSON&TAXAMT=106&ZIP=94588&ALTTAXAMT=1.00&CUSTVATREGNUM=11111&LOCALTAXAMT =1.01&NATIONALTAXAMT=1.02&COMMCODE=22222&VATAXAMT=1.03&VATAXPERCENT=55&TAXE XEMPT=N&DISCOUNT=.50&FREIGHTAMT=1.00&DUTYAMT=1.00&SHIPTOZIP=33333&SHIPFROMZ IP=44444&SHIPTOCOUNTRY=840&ORDERDATE=020725&L_COMMCODE1=123456789ABC&L_DESC 1=Line item 1 description&L_UPC1=CBA987654321&L_QTY1=1&L_UOM1=123456789012&L_COST1=1.50&L _TAXAMT1=1.05&L_TAXRATE1=12&L_DISCOUNT1=.50&L_AMT1=1.00&L_TAXTYPE1=TT1
122
Payflow Parameter CUSTCODE Value of {ServerID}{TransID} is sent if no value is provided. TAXAMT Value of 0 (zero) is sent if no value is provided. The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56).
PONUM
AN
25
123
merchants in the United States follow CAPN requirements; international merchants do not.There are a few exceptions. If you are not sure, contact Customer Service. See How to Contact Customer Support on page 9 for contact information.
TABLE C.21 Paymentech Salem (New Hampshire) CAPN Level 2 parameters Parameter Description Required Type Length
CPC Level 2 Transaction Advice Addendum Parameters PONUM SHIPTOZIP TAXAMT Purchase order number Ship-to postal code (called zip code in the USA) Total tax amount Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Yes Yes No Alphanumeric Alphanumeric Numeric 17 15 12
124
No No No
3 40 12
No No No
3 40 12
No No No
3 40 12
L_QTY4
No
Numeric
Location Transaction Advice Addendum Parameters MERCHANTNAME MERCHANTSTREET MERCHANTCITY MERCHANTSTATE Name of merchant Merchants street address (number and street name) Merchants city Merchants state No No No No Alphanumeric 38 38 21 3
125
MERCHANTCOUNTRY Merchants numeric country code CODE Example: USA: 840 MERCHANTZIP Merchants 5- to 9-digit zip (postal) code excluding spaces, dashes, and non-numeric characters Example: 951121737
No
Alphanumeric
15
Transaction Advice Detail Parameters ADDLAMTn Detail of a charge (n is the line item number, a value from 1 - 5); use for additional breakdown of the charge Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) Examples: tip=3.00, convenience charge=2.00 A 3-digit code indicating the type of the corresponding charge detail (n is the line item number, a value from 1 - 5) No Numeric 12
ADDLAMTTYPEn
No
Alphanumeric
Payflow Parameter PONUM TAXAMT Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56) To qualify for Level 2 discounts, this value must not be all zeros or blank spaces.
126
Example Paymentech Salem (New Hampshire) Level 2 Visa and MasterCard Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&PWD=Password&USER=User&ACCT=548018000000 0024&EXPDATE=1203&AMT=1.00&COMMENT1=0508&NAME=Robert&STREET=1600&ZIP=94065& CVV2=426&PONUM=ABCDEFGHIJ&TAXAMT=1.00 TRXTYPE=S&TENDER=C&PARTNER=Partner&PWD=Password&USER=User&ACCT=427533001234 5626&EXPDATE=1203&AMT=1.00&COMMENT1=0508&STREET=1600&ZIP=94065&CVV2=426&PON UM=ABCDEFGHIJ&TAXAMT=1.00 Example American Express Level 2 Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&PWD=Password&USER=User&ACCT=378734493671 000&EXPDATE=1203&AMT=1.00&COMMENT1=0508&NAME=Robert&STREET=1600&ZIP=94065&D ESC=Descriptor&DESC1=Descriptor1&DESC2=Descriptor2&DESC3=Descriptor3&DESC4= Descriptor4
Both Level 2 parameters listed in Table C.23 are required to get the discount rate.
TABLE C.23 Paymentech Salem (New Hampshire) Level 2 parameters Paymentech Data Items Customer Ref No Sales Tax Mandatory / Optional M M Format (min/max, type) 1/17, char NUM
Payflow Parameter PONUM TAXAMT Must include a decimal and be exact to the cent (42.00, not 42) and exclude comma separators (1234.56 not 1,234.56). To qualify for Level 2 discounts, this value must not be all zeros or blank spaces.
127
Paymentech Salem (New Hampshire) Level 3 MasterCard Parameters TABLE C.24 Paymentech Salem (New Hampshire) Level 3 MasterCard order and line item parameters Paymentech MasterCard data item Order Freight Amt Duty Amt Destination ZIP Destination Country Ship from ZIP Discount Amount Alternate Tax ID Alternate Tax Amt Line Item Record #1 Description Product Code Quantity Unit of measure Tax Amt Tax Rate Line Item Record #2 Line-item Total Discount Amt Tax Type Applied O O O L_AMTn L_DISCOUNTn L_TAXTYPEn NUM NUM M O M M O O L_DESCn L_PRODCODEn L_QTYn L_UOMn TAXAMTn TAXPERCENTAGEn NUM NUM M M M M M M M M FREIGHTAMT DUTYAMT SHIPTOZIP SHIPTOCOUNTRY SHIPPEDFROMZIP DISCOUNT ALTERNATETAXID ALTERNATETAXAMT NUM NUM NUM NUM Mandatory / Optional Payflow Parameter Format (min/max, type)
128
129
Example Paymentech Salem (New Hampshire) Level 3 MasterCard Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&PWD=Password&USER=User&ACCT=548018000000 0024&EXPDATE=1203&AMT=1.00&COMMENT1=0508&NAME=Robert&STREET=1600&ZIP=94065& CVV2=426&PONUM=ABCDEFGHIJ&TAXAMT=1.00&FREIGHTAMT=2.00&DUTYAMT=3.00&SHIPTOZI P=94543&SHIPTOCOUNTRY=840&SHIPFROMZIP=94509&ALTERNATETAXID=10&ALTERNATETAXA MT=4.00&L_DESC1=MC Pcard&L_UPC1=1&L_QTY1=2&L_UOM1=3&L_TAXAMT1=4&L_TAXRATE1= 5&L_AMT1=6&L_DISCOUNT1=7&L_TAXTYPE1=8 Example Paymentech Salem (New Hampshire) Level 3 Visa Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&PWD=Password&USER=User&ACCT=427533001234 5626&EXPDATE=1203&AMT=1.00&COMMENT1=0508&NAME=Robert&STREET=1600&ZIP=94065& CVV2=426&PONUM=ABCDEFGHIJ&TAXAMT=1.00&FREIGHTAMT=2.00&DUTYAMT=3.00&SHIPTOZI P=94543&SHIPTOCOUNTRY=840&SHIPFROMZIP=94509&DISCOUNT=4.00&VATAXAMT=5.00&VAT AXPERCENT=10&L_DESC1=TSYS Acquiring Solutions Pcard&L_UPC1=1&L_UOM1=2&L_QTY 1=3&L_TAXAMT1=4&L_TAXRATE1=5&L_AMT1=6&L_DISCOUNT1=7&L_COMMCODE1=8&L_COST1=9 &L_COST1=10
130
Payflow Parameter PONUM TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). To qualify for Level 2 discounts, this value must not be all zeros or blank spaces. TAXEXEMPT, Y or N Contact your acquiring bank to determine if your transactions are tax exempt. SHIPTOZIP (called zip code in the USA).
Tax Exempt
1/16
Example Paymentech Tampa Level 2 Visa and MasterCard Transaction Parameter String
TRXTYPE=S&TENDER=C&PWD=PWD&USER=USER&PARTNER=PARTNER&ACCT=4275330012345675&EXPDATE=0 209&AMT=12.59&VERBOSITY=1&STREET=123 main street&ZIP=49801&CVV2=248&TAXAMT=1.22&PONUM=AB12345678&SHIPTOZIP=98765&TAXEXEMPT=N
131
Level 2 parameters marked as mandatory in Table C.27 are required to get the discount rate.
TABLE C.27 TSYS Acquiring Solutions Level 2 parameters Mandatory / Optional M M Format (min/max, type) 1/17, AN NUM
Payflow Parameter PONUM TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). TAXEXEMPT, Y or N
1, A
Example TSYS Acquiring Solutions Level 2 Visa Transaction Parameter String TRXTYPE=S&ACCT=4111111111111111&AMT=20.02&CITY=Mountain View&COMMENT1=L2 Testing&EXPDATE=1209&INVNUM=661254585&NAME=CardHolder Name&PARTNER=PayPal&PWD=pwd&STATE=CA&STREET=123 Main St.&TAXAMT=1.01&TAXEXEMPT=N&TENDER=C&USER=user&ZIP=94043
details.
132
TSYS Acquiring Solutions Level 2 MasterCard Parameters Required for Level 3 Line Item Transactions TABLE C.28 TSYS Acquiring Solutions Level 2 MasterCard transaction data for line item transactions Name Purchase Identifier Tax Amt Mandatory / Optional M M Payflow Parameter PONUM Value of TransID is sent if no value is provided. TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). LOCALTAXAMT TAXEXEMPT, Y or N NATIONALTAXAMT You may omit this parameter if there is no such tax. INVNUM Value of PNREF is sent if no value is provided. Length, Data Type 25, AN NUM
Lcl Tax Lcl Tax Incl Flag National Tax Amt Purch Ord #/Cust Ref ID
O O O M
The parameters listed in Table C.29 apply to Level 3 MasterCard transactions as extended data.
TABLE C.29 TSYS Acquiring Solutions Level 3 MasterCard Extended Data Name Freight Amt Duty Amt Dest Postal / ZIP Code Mandatory / Optional O O M Payflow Parameter FREIGHTAMT DUTYAMT SHIPTOZIP The zip code of the address to which the goods are shipped. SHIPFROMZIP The postal code (called zip code in the USA) from which shipping occurs. SHIPTOCOUNTRY ALTTAXAMT Length, Data Type 12, NUM 12, NUM 10, AN
Ship from Postal / ZIP Code Dest Country Code Alt Tax Amt
10, AN
O O
4, AN 9, NUM
133
TSYS Acquiring Solutions Level 3 MasterCard Line item Detail Records TABLE C.30 TSYS Acquiring Solutions Level 3 MasterCard line item detail record Name Mandatory / Optional Payflow Parameter Length, Data Type
N O T E : For these values, n is a sequence counter that should begin with 1 and increase in sequence. Each line item
should also contain quantity (L_QTY<n>) and unit price (L_COST<n>) fields. Item Descriptor Product Code Quantity Unit of Measure/Code Tax Rate Applied Tax Type Applied Tax Amount Discount Amount M O M M O O O O L_DESCn L_UPCn L_QTYn L_UOMn L_TAXRATEn L_TAXTYPEn L_TAXAMTn L_DISCOUNTn 35, AN 12, AN 12, NUM 12, AN 4, NUM 4, AN 12, NUM 12, NUM
Example TSYS Acquiring Solutions Level 3 MasterCard Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&USER=User&PWD=Password&ACCT=552500000000 0005&EXPDATE=0406&AMT=1.00&STREET=5199 JOHNSON&ZIP=94588&ALTTAXAMT=1.00&CUSTVATREGNUM=11111&LOCALTAXAMT=1.00&NATIO NALTAXAMT=1.00&COMMCODE=22222&VATAXAMT=1.00&VATAXPERCENT=10&TAXEXEMPT=Y&DIS COUNT=1.00&FREIGHTAMT=1.00&DUTYAMT=1.00&SHIPTOZIP=33333&SHIPFROMZIP=44444&S HIPTOCOUNTRY=840&ORDERDATE=020725&L_COMMCODE1=123456789ABC&L_DESC1=Line item 1 description&L_UPC1=CBA987654321&L_QTY1=1&L_UOM1=123456789012&L_COST1=1.00&L _TAXAMT1=1.00&L_TAXRATE1=1.00&L_DISCOUNT1=1.00&L_AMT1=1.00&L_TAXTYPE1=TT3
details.
134
TSYS Acquiring Solutions Level 2 Visa Parameters for Level 3 Line Item Transactions TABLE C.31 TSYS Acquiring Solutions Level 2 Visa transaction data for line item transactions Name Purchase Identifier Tax Amount Mandatory / Optional M M Payflow Parameter PONUM Value of TransID is sent if no value is provided. TAXAMT The value must include a decimal and the exact amount to the cent (42.00, not 42). Do not include comma separators (1234.56 not 1,234.56). LOCALTAXAMT TAXEXEMPT, Y or N O M NATIONALTAXAMT INVNUM Value of TransID is sent if no value is provided. Length, Data Type 25, AN NUM
Lcl Tax Lcl Tax Incl Flag National Tax Amt Purch Ord #/Cust Ref ID
The parameters listed in Table C.32 apply to Level 3 Visa transactions as extended data.
TABLE C.32 TSYS Acquiring Solutions Level 3 Visa extended data Name Summary Commodity Code Discount Amt Freight Amt Duty Amt Order Date Mandatory / Optional M O M O O Payflow Parameter COMMCODE Commodity code identifier for the business. DISCOUNT FREIGHTAMT DUTYAMT ORDERDATE Format is yymmdd with no slashes or dashes. For example, November 28, 2008 is 081128 SHIPTOZIP The zip code of the address to which the goods are shipped. Length, Data Type 4, AN 12, NUM 12, NUM 12, NUM 6, NUM
10, AN
135
O M
4, AN 20, AN
9, AN
M O O
136
TSYS Acquiring Solutions Level 3 Visa Line item Detail Records TABLE C.33 TSYS Acquiring Solutions Level 3 Visa line item detail record Name Mandatory / Optional Payflow Parameter Length, Data Type
N O T E : For these values, n is a sequence counter that should begin with 1 and increase in sequence. Each line item
should also contain quantity (L_QTY<n>) and unit price (L_COST<n>) fields. Item Commodity Code Item Descriptor Product Code Quantity Unit of Measure/Code Unit Cost VAT/Tax Amount VAT/Tax Rate Discount Per Line Item Line-item Total O M M M M M O O M O L_COMMCODEn L_DESCn L_UPCn L_QTYn L_UOMn L_COSTn L_TAXAMTn L_TAXRATEn L_DISCOUNTn L_AMTn 12, AN 35, AN 12, AN 12, NUM 12, AN 12, NUM 12, NUM 4, NUM 12, NUM 12, NUM
Example TSYS Acquiring Solutions Level 3 Visa Transaction Parameter String TRXTYPE=S&TENDER=C&PARTNER=Partner&USER=User&PWD=Password&ACCT=411111111111 1111&EXPDATE=0406&AMT=1.00&STREET=5199 JOHNSON&TAXAMT=106&ZIP=94588&ALTTAXAMT=1.00&CUSTVATREGNUM=11111&LOCALTAXAMT =1.01&NATIONALTAXAMT=1.02&COMMCODE=22222&VATAXAMT=1.03&VATAXPERCENT=55&TAXE XEMPT=N&DISCOUNT=.50&FREIGHTAMT=1.00&DUTYAMT=1.00&SHIPTOZIP=33333&SHIPFROMZ IP=44444&SHIPTOCOUNTRY=840&ORDERDATE=081125&L_COMMCODE1=123456789ABC&L_DESC 1=Line item 1 description&L_UPC1=CBA987654321&L_QTY1=1&L_UOM1=123456789012&L_COST1=1.50&L _TAXAMT1=1.05&L_TAXRATE1=12&L_DISCOUNT1=.50&L_AMT1=1.00&L_TAXTYPE1=TT1
137
138
D
TABLE D.1 Parameter VERBOSITY
By default, VERBOSITY is set to LOW.. A LOW setting causes PayPal to normalize the transaction result values. Normalizing the values limits them to a standardized set of values and simplifies the process of integrating the Payflow SDK. By setting VERBOSITY to MEDIUM, you can view the processors raw response values. This setting is more verbose than the LOW setting in that it returns more detailed, processorspecific information.
139
Processor responses Type Char Char Length 7 17 Description Response code returned by the processor. This value is not normalized by PayPal. Text corresponding to the response code returned by the processor. This text is not normalized by PayPal. Address Verification Service response from the processor CVV2 (buyer authentication) response from the processor VPAS/SPA response from the processor Additional error message that indicates that the merchant used a feature that is disabled
140
DATE_TO_SETTLE
19
BATCHID SETTLE_DATE
10 19
Value available only after settlement has assigned a Batch ID Value available only after settlement has completed
141
transactions through the payflow gateway but settle through a third-party solution. AMEXPOSDATA Alphanumeric 12 American Express transactions meeting CAPN requirements:
N O T E : Used only by merchants who authorize
transactions through the payflow gateway but settle through a third-party solution.
142
143
Table D.3 shows the increments that are possible on basic TRANSSTATE values.
TABLE D.3 Increment +100 TRANSSTATE increments
Meaning If no client acknowledgment (ACK) is received for the transaction, the original TRANSSTATE value is incremented by 100. For example, if the original TRANSSTATE is 6, it is incremented to 106. Transactions in this range do not settle. For transactions in TRANSSTATE 106, use Auto Resettle in PayPal Managers Virtual Terminal to submit them for settlement or void them using a manual Void. If the host process never receives an ACK from the transaction broker (or backend payment server) for the transaction, the original TRANSSTATE value is incremented by 200. For example, if the original TRANSSTATE is 6, it is incremented to 206. Transactions in this range are basically in limbo and will not be settled. If a Void transaction is run (through the API, PayPal Virtual Terminal, or by PayPal Customer Service) against a successful Authorization or Sale transaction, the original TRANSSTATE is incremented by 1000. For example, if the original TRANSSTATE is 6, it is incremented to 1006.
+200
+1000
144
This appendix lists parameters whose values can appear in PayPal Manager reports. For example, the Shipping and Billing report displays these values. Some of the following parameters may also have other purposes. The STREET and ZIP parameters, for instance, are also used for Address Verification Service.
N O T E : For
regular credit card transactions, reporting parameters are normally not passed to the processor. See Appendix A, Processors Requiring Additional Transaction Parameters, to learn which fields are sent to your processor.
Additional reporting parameters Description Cardholders billing city User-defined value for reporting and auditing purposes (PayPal parameter only) User-defined value for reporting and auditing purposes (PayPal parameter only) Cardholders billing country code Cardholders company Customer code Duty amount Cardholders email address Cardholders first name Freight amount Cardholders last name Required No No Type Alpha Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Max Length 20 128
COMMENT2
No
128
No No No No No No No No
4 30 30 10 64 15 10 15
145
Additional reporting parameters Description Cardholders name Purchase order number Shipping city First name in the shipping address Last name in the shipping address Shipping state US = 2 letter state code; outside US, use full name Shipping street address Shipping postal code (called zip code in the USA) Cardholders billing state code Cardholders billing street address (used for Address Verification Service and reporting) Tax amount Account holders 5-to-9-digit postal code (called zip in the USA). Do not use spaces, dashes, or non-numeric characters. The postal code is verified by Address Verification Service. Required No No No No No No Type Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Alphanumeric Max Length 15 15 30 30 30 10
No No No No
30 9 2 30
TAXAMT ZIP
No No
10 9
146
F
TABLE F.1 Country Name Afghanistan Albania Algeria American Samoa Andorra Angola Anguilla Antarctica
The following International Standards Organization (ISO) country codes are used when filling the order fields BILLTOCOUNTRY, SHIPTOCOUNTRY, and CORPCOUNTRY: ISO country codes Code 4 8 12 16 20 24 660 10 28 32 51 533 36 40 31 44 48 108 116 120 124 132 136 140 Country Name Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia-Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory Brunei Darussalam Bulgaria Burkina Faso Dominican Republic East Timor Ecuador Egypt El Salvador Equatorial Guinea Eritrea Code 50 52 112 56 84 204 60 64 68 70 72 74 76 86 96 100 854 214 626 218 818 222 226 232
Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic
147
TABLE F.1
ISO country codes Code 148 152 156 162 166 170 174 178 184 188 384 191 192 196 203 208 262 212 304 308 312 316 320 324 624 328 332 334 Country Name Estonia Ethiopia Falkland Islands (Malvinas) Faroe Islands Fiji Finland France France, Metropolitan French Guiana French Polynesia French Southern Territories Gabon Gambia Georgia Germany Ghana Gibraltar Greece Jordan Kazakhstan Kenya Kiribati Korea, Democratic Peoples Republic of (formerly North Korea) Korea, Republic of (formerly South Korea) Kuwait Kyrgyzstan Lao Peoples Democratic Republic (formerly Laos) Latvia Code 233 231 238 234 242 246 250 249 254 258 260 266 270 268 276 288 292 300 400 398 404 296 408 410 414 417 418 428
Country Name Chad Chile China Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo Cook Islands Costa Rica Cote Divoire (Ivory Coast) Croatia (local name: Hrvatska) Cuba Cyprus Czech Republic Denmark Djibouti Dominica Greenland Grenada Guadeloupe Guam Guatemala Guinea Guinea-Bissau Guyana Haiti Heard and McDonald Islands
148
TABLE F.1
ISO country codes Code 340 344 348 352 356 360 364 368 372 376 380 388 392 466 470 584 474 478 480 175 484 583 498 492 496 500 504 508 104 Country Name Lebanon Lesotho Liberia Libyan Arab Jamahiriya (formerly Libya) Liechtenstein Lithuania Luxembourg Macau Macedonia, the Former Yugoslav Republic of Madagascar Malawi Malaysia Maldives Niue Norfolk Island Northern Mariana Islands Norway Oman Pakistan Palau Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Code 422 426 430 434 438 440 442 446 807 450 454 458 462 570 574 580 578 512 586 585 591 598 600 604 608 612 616 620 630
Country Name Honduras Hong Kong Hungary Iceland India Indonesia Iran (Islamic Republic of) Iraq Ireland Israel Italy Jamaica Japan Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Micronesia, Federated States of Moldova, Republic of Monaco Mongolia Montserrat Morocco Mozambique Myanmar (formerly Burma)
149
TABLE F.1
ISO country codes Code 516 520 524 528 530 540 554 558 562 566 678 682 686 690 694 702 703 705 90 706 710 239 724 144 654 666 736 740 744 Country Name Qatar Reunion Romania Russian Federation Rwanda Saint Kitts and Nevis Saint Lucia Saint Vincent and the Grenadines Samoa San Marino Tajikistan Tanzania, United Republic of Thailand Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu Uganda Ukraine United Arab Emirates United Kingdom United States United States Minor Outlying Islands Uruguay Code 634 638 642 643 646 659 662 670 882 674 762 834 764 768 772 776 780 788 792 795 796 798 800 804 784 826 840 581 858
Country Name Namibia Nauru Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Sao Tome and Principe Saudi Arabia Senegal Seychelles Sierra Leona Singapore Slovakia (Slovak Republic) Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Islands Spain Sri Lanka St. Helena St. Pierre and Miquelon Sudan Suriname Svalbard and Jan Mayen Islands
150
TABLE F.1
ISO country codes Code 748 752 756 760 158 92 850 876 92 850 732 Country Name Uzbekistan Vanuatu Vatican City State Venezuela Viet Nam Western Samoa Yemen Yugoslavia Zaire Zambia Zimbabwe Code 860 548 336 862 704 882 887 891 180 894 716
Country Name Swaziland Sweden Switzerland Syrian Arab Republic (formerly Syria) Taiwan, Province of China Virgin Islands (British) Virgin Islands (U.S.) Wallis and Futuna Islands Virgin Islands (British) Virgin Islands (U.S.) Western Sahara
151
152
G
TABLE G.1 ALBANIA ALGERIA
Codes used by FDMS South only are Country Codes, Units of Measure, and Currency Codes.
MasterCard country codes ALB DZA ASM AND AGO AIA ATA ATG LAO AFG ARG ARN ABW AUS AUT AZE BHS BHR BGD BRB BLR BEL
AMERICAN SAMOA ANDORRA ANGOLA ANGUILLA ANTARCTICA ANTIGUA AO PEOPLES DEMOCRATIC APHGANISTAN ARGENTINA ARMENIA ARUBA AUSTRALIA AUSTRIA AZERBAIJAN BAHAMAS BAHRAIN BANGLADESH BARBADOS BELARUS BELGIUM
153
MasterCard country codes BLZ BEN BMU BTN BOL BIH BWA BVT BRA IOT BRN BGR BFA BDI KHM CAN CPV CYM CAF TCD CHL CHN CXR CMR CCK COL COM GOG COK CRI
MasterCard country codes CIV HRV CYP CZE DNK DJI DMA DOM SLV GNQ EST ETH FRO FLK FJI FIN FRA GUF PYF ATF GAB GMB GEO DDR DEU GHA GIB GRC GRL GRD GLP
COTED'IVOIRE CROATIA CYPRUS CZECH REPUBLIC DENMARK DJIBOUTI DOMINICA DOMINICAN REPUBLIC EL SALVADOR EQUATORIAL GUINEA ESTONIA ETHIOPIA FAEROE ISLANDS FALKLAND ISLANDS (MALVINAS) FIJI FINLAND FRANCE FRENCH GUIANA FRENCH POLYNESIA FRENCH SOUTHERN TERRITORY GABON GAMBIA GEORGIA GERMAN DEMOCRATIC REP GERMANY GHANA GIBRALTER GRECE GREENLAND GRENADA GUADALUPE
154
MasterCard country codes GUM GTM GIN GNB GUY HTI HMD HND HKG HUN ISL IND IDN IRN IRQ IRL ISR ITA JAM JPN JOR KAZ KEN KOR KWT KGZ LVA LBN LSO LBR LBY
MasterCard country codes LIE LTU LUX MAC MYS MDV MLI MLT MCO MHL MTQ MRT MUS MEX FSM MDA MNG MSR MAR MOZ MMR NAM NRU SEN NPL NLD ANT NCL NZL NIC NER
LIECHTNSTIEN LITHUANIA LUXEMBOURG MACAU MALAYSIA MALDIVES MALI MALTA MANACO MARSHALL ISLANDS MATINIQUE MAURITANIA MAURITIUS MEXICO MICRONESIA MOLDOVA MONGOLIA MONTSERRAT MOROCCO MOZAMBIQUE MYANMAR NAMIBIA NAURU NEGEL NEPAL NETHERLANDS NETHERLANDS ANTILLES NEW CALDONIA NEW ZEALAND NICARAGUA NIGER
155
MasterCard country codes NGA NIU NFK MNP NOR OMN PAK PLW PAN PNG PRY PER PHI PCN POL PRT PRI QAT REU ROM RUS RWA WSM SMR STP SAU SYC SLE SGP SHN KNA
MasterCard country codes LCA SPM VCT SDN SUR SJM SWZ SWE CHE SYR TWN TJK TZA THA TGO TKL TON TTO TUN TR TM TC TUV UMI UGA UKR ARE GBR USA URY
156
MasterCard country codes UZB VUT VAT VEN VNM VGB VIR WLF ESH YEM YUG ZAR ZMB RHO
UZBEKISTAN VANUATU VATICAN CITY STATE VENEZUELA VIETNAM VIRGIN ISLANDS BRITISH VIRGIN ISLANDS US WALLIS AND FUTUNA IS WESTERN SAHARA YEMEN YUGOSLAVIA ZAIRE ZAMBIA ZIMBABWE
157
CZECH REPUBLIC DENMARK DJIBOUTI DOMINICA DOMINICAN REPUBLIC EAST TIMOR ECUADOR EGYPT EL SALVADOR EQUATORIAL GUINEA ERITREA ESTONIA ETHIOPIA FAEROE ISLANDS FALKLAND ISLANDS FIJI FINLAND FRANCE FRENCH GUIANA FRENCH METROPOLITAN FRENCH POLYNESIA FRENCH SOUTHERN TERRITORY GABON GAMBIA GEORGIA GERMANY GHANA GIBRALTER GRECE GREENLAND GRENADA
158
GUADALUPE GUAM GUATEMALA GUINEA GUINEA-BISSAU GUYANA HAITI HEARD & MCDONALDS ISLAND HONDURAS HONG KONG HUNGARY ICELAND INDIA INDONESIA IRAN IRAQ IRELAND ISRAEL ITALY JAMAICA JAPAN JORDAN KAZAKHSTAN KENYA KIRIBATI KOREA, REPUBLIC OF KUWAIT KYRGYZSTAN LAO PEOPLES DEMOCRATIC LATVIA LEBANON
159
NETHERLANDS NETHERLANDS ANTILLES NEW CALDONIA NEW ZEALAND NICARAGUA NIGER NIGERIA NIUE NORFOLK ISLAND NORTHERN MARIANA ISLAND NORWAY OMAN PAKISTAN PALAU PANAMA PAPAU NEW GUINEA PARAGUAY PERU PHILIPPINES PITCAIRN ISLAND POLAND PORTUGUL PUERTO RICO QATAR REUNION ROMANIA RUSSIAN FERERATION RWANDA SAMOA SAN MARINO SAN TOME AND PRICIPEL
SAUDI ARABIA SENEGAL SEYCHELLES SIERRA LEONE SINGAPORE ST. HELENA ST. KITTS-NEVIS-ANGUILLA ST. LUCIA ST. PIERRE AND MIQUELON ST. VINCENT AND THE GRENADINES SUDAN SURINAM SVALBARD & JAN MAYEN IS. SWAZILAND SWEDEN SWITZERLAND SYRIAN ARAB REPUBLIC TAIWAN, PROVIDENCE OF CHINA TAJIKISTAN TANZANIA, UNITED REPUBLIC THAILAND TOGO TOKELAU TONGA TRINIDAD AND TOBAGO TUNISIA TURKEY TURKMENISTAN TURKS & CAICOS ISLANDS TUVALU
160
U.S. MINOR OUTLYING ISL. UGANDA UKRAINIAN SSR UNITED ARAB EMIRATES UNITED KINGDOM UNITED STATES URAGUAY UZBEKISTAN VANUATU VATICAN CITY STATE VENEZUELA VIETNAM VIRGIN ISLANDS BRITISH VIRGIN ISLANDS US WALLIS AND FUTUNA IS WESTERN SAHARA YEMEN YUGOSLAVIA ZAIRE ZAMBIA ZIMBABWE
Units of Measure
TABLE G.3 TABLE G.3 Units of measure ACR ASM ASV AMP Units of measure AMH ARE BAR BLL BQL BIL Ampere=hour (3,6 kC)* Are (100 m2) Bar* Barrel (petroleum) (158,987 dm3) Becquerel* Billion EUR
Acre (4840 yd2) Alcoholic strength by mass Alcoholic strength by volume Ampere*
161
Units of measure
162
Units of measure
Units of measure KSH KSD KMQ KGS KGM KHZ KJO KMH KMT KPA KUR KTN KVR KVT KVA KWT KWH KNT LEF GLL PTL QTL LTR LPA LTN CWI LUM LUX MHZ MAL
Kilogram of sodium hydroxide Kilogram of substance 90 percent dry Kilogram per cubic meter* Kilogram per second* Kilogram* Kilohertz* Kilojoule* Kilometre per hour* Kilometre* Kilopascal* Kilorgram of uranium Kilotonne* Kilovar Kilovolt* Kilovolt-ampere* Kilowatt* Kilowatt-hour* Knot (1 nautical mile per hour) Leaf Liquid gallon (3,78541 dm3) Liquid pint (0,473176 dm3) Liquid quart (0,946353 dm3) Litre (1 dm3)* Litre of pure alcohol Long ton GB, US (1,0160469 t) (long) hundredweight GB (50,802345 kg) Lumen* Lux Megahertz* Megalitre*
163
Units of measure
Units of measure NPL NPT NRL OHM ONZ APZ PAL DWT PCE PTI LBR PGL QTI QAN QTR DTN RPM RPS SCO SCR SEC SET SHT SST STN SIE CMK DMK FTK INK
Number of parcels Number of parts Number of rolls Ohm* Ounce GB, US (28,349523 g) Ounce GB, US (31,103448 g) (syn: Troy ounce) Pascal* Pennyweight GB, US (1555174 g) Piece Pint (0,568262 dm3) Pound GB, US (0,45359237 kg) Proof gallon Quart (1,136523 dm3) Quarter (of a year) Quarter, GB (12,700586 kg) Quintal, metric (100 kg) Revolution per minute* Revolution per second* Score scruple, GB (1,2955982 g) Second* Set Shipping ton Short standard (7200 matches) Short ton GB, US (0,90718474 t) Siemens* Square centimetre* Square decimetre* Square foot Square inch
164
Units of measure KMK MTK MIK MMK YDK WSD ATM SMI STI ATT DAD TPR MIL TAH MBF TQD MBE TSH TNE TSD TRL BIL APZ LBT VLT WTT WHR WEB WEE YRD ANN
Square kilometre* Square metre* Square mile Square millimetre* Square yard Standard standard atmosphere (101325 Pa) (statue) mile (1609,344 m) Stone GB (6,350293 kg) Technical atmosphere (98066,5 Pa) Ten days Ten pairs Thousand Thousand ampere-hour* Thousand board feet (2,36 m3) Thousand cubic metres per day* Thousand standard brick equivalent Ton of steam per hour Tonne (1000 kg)* Tonne of substance 90 percent dry Trillion EUR Trillion US Troy ounce Troy pound, US (373,242 g) Volt* Watt* Watt-hour* Weber Week Yard (0,9144 m) Year
165
166
XMLPay
About XMLPay
XMLPay specifies an XML syntax for payment requests and associated responses in a payment-processing network. Instead of using name/value pairs, the Payflow SDK allows the use of XML documents based on XMLPay 2.0 schema. The typical user of XMLPay is an internet merchant or merchant aggregator who wants to dispatch credit card, corporate purchase card, Automated Clearinghouse (ACH), or other payment requests to a financial processing network. Using the data type definitions specified by XMLPay, such a user creates a client payment request and dispatches it in the same fashion as using name/value pairs to an associated XMLPay-compliant server component. Responses are also formatted in XML and convey the results of the payment requests to the client.
167
XMLPay
Payflow Pro XMLPay Developers Guide
168
Moneris Solutions
The Moneris Solutions processor has the following characteristics: It supports ecommerce and mail order or telephone order (MOTO) transactions. It supports the four basic credit card types: American Express, Discover, MasterCard, and Visa. To process live transactions, it requires undergoing a certification process. For details, see the Moneris Receipts Specification available on the Payflow Pro page on Developer Central.
169
170
Index
A
Account Verification 23, 32 ADDLMSGS 101 address verification service 44 ALTERNATETAXAMT parameter 128 ALTERNATETAXID parameter 128 ALTTAXAMT parameter 118, 133 American Express 67 American Express CAPN 68, 83, 102, 124 AMT 101 AMT parameter 27, 107 APIs documentation 17 downloading 17 application testing 49 AUTHCODE parameter 34, 106 CUSTREF parameter 39 CUSTVATREGNUM parameter 121, 136 CVV2 parameterPayflow parameters CVV2 27
D
DESC parameter 74, 107 DESC1 parameter 74, 105 DESC2 parameter 74, 105 DESC3 parameter 74, 105 DESC4 parameter 74, 105 developer forums 9 DISCOUNT parameter 110, 112, 120, 128, 129, 135 DL parameter 92 DOB parameter 92 documentation API 17 downgraded transactions 101 downloading APIs 17 duplicate transactions 26 DUTYAMT parameter 109, 110, 112, 118, 120, 129, 133, 135
B
BALAMT 57 BALAMT parameter 57 Bank Identification Numbers. See 100 BIN 101
E
Elavon (Formerly Nova) 79 electronic check transaction required parameters 91 ENDTIME parameter 39 EXPDATE parameter 27
C
CAPN 68, 83, 102, 124 card acceptance and processing network (CAPN) 102, 124 certification 169 CHKNUM parameter 92 CITY parameter 82, 112 close batch see settlement operation COMMCARD parameter 109 COMMCODE parameter 120, 135 COMMENT1 parameter 27 COMMENT2 parameter 27 credit card verification 23, 32 credit transaction type 34 CUSTCODE parameter 112, 116
F
FDMS CardNet 77 FDMS North 77, 110 FDMS South 77, 112 firewalls. configuring 17 FIRSTNAME parameter 27, 73, 74, 88, 112 FREIGHTAMT 101 FREIGHTAMT parameter 107, 109, 110, 112, 118, 120, 128, 129, 133, 135
Index
H
HANDLINGAMT parameter 107 HOSTCODE parameter 95
I
inquiry transaction type 38 INVNUM parameter 73, 74, 76, 78, 82, 88, 89, 106, 112, 118, 121, 133, 136 INVOICEDATE parameter 106
L
L_AMTn parameter 111, 114, 122, 128, 129, 137 L_CATALOGNUMn parameter 107 L_COMMCODEn parameter 111, 114, 122, 137 L_COSTCENTERNUMn parameter 107 L_COSTn parameter 107, 111, 114, 122, 129 L_COSTn parameterPayflow parameters L_COSTn 137 L_DESCn parameter 107, 111, 114, 119, 122, 128, 129, 134, 137 L_DISCOUNTn 137 L_DISCOUNTn parameter 111, 114, 119, 122, 128, 129, 134, 137 L_FREIGHTAMTn 101 L_FREIGHTAMTn parameter 108 L_HANDLINGAMTn parameter 108 L_PICKUPCITYn parameter 108 L_PICKUPCOUNTRYn parameter 108 L_PICKUPSTATEn parameter 108 L_PICKUPSTREETn parameter 108 L_PICKUPZIPn parameter 108 L_PRODCODEn parameter 107, 114, 128, 129 L_QTYn 137 L_QTYn parameter 107, 111, 114, 119, 122, 128, 129, 134, 137 L_TAXAMTn parameter 107, 111, 114, 119, 122, 129, 134, 137 L_TAXRATEn parameter 119, 122, 129, 134, 137 L_TAXTYPEn parameter 119, 128, 134 L_TRACKINGNUMn parameter 108 L_UNSPSCCODEn parameter 108 L_UOMn parameter 107, 111, 114, 119, 122, 128, 129, 134, 137 L_UPCn parameter 107, 111, 119, 122, 129, 134, 137 LASTNAME parameter 27, 73, 74, 88, 112
length tags 21 Level 2 parameters American Express Phoenix (CAPN) 103 American Express Phoenix (legacy) 105 Elavon (Formerly Nova) 123 Global Payments - East 116 Global Payments Central 115 Merchant e-Solutions 116 Paymentech Salem (New Hampshire) 124, 126 Paymentech Tampa 131 Level 3 MasterCard transactions TSYS Acquiring Solutions 117 Level 3 parameters Merchant e-Solutions 119 Paymentech Salem (New Hampshire) 127, 128, 129 TSYS Acquiring Solutions 132, 134 Level 3 transactions American Express Brighton 108 American Express Phoenix 105, 111 Level 3 Visa transactions, TSYS Acquiring Solutions 119 levels, transaction parameters 99 Line item parameters First Data Merchant Services North 111 Line item paramters First Data Merchant Services South 113 live transactions 18 live transactions host address 13 LOCALTAXAMT parameter 118, 120, 133, 135 Logging Transaction Information 97
M
MERCHDESCR parameter 82 MERCHSVC parameter 77, 82 MICR parameter 92 Moneris Solutions 14, 169 MOTO 169
N
NATIONALTAXAMT parameter 118, 120, 133, 135 Nova. See Elavon. 79, 123
O
operation
172
Index
testing 49 ORDERDATE parameter 73, 74, 88, 112, 120, 135 ORDERDATETIME parameter 73, 75, 89 ORDERTIME parameter 113 ORIGID parameter 30, 35, 37, 38
P
parameters required for electronic check 91 PARTNER parameter 21 Payflow parameters ACCT 21, 28, 30, 31, 35, 37, 41, 43 ACCTTYPE 41 ADDLAMTn 71, 86, 104, 126 ADDLAMTTYPEn 71, 86, 104, 126 ADDLMSGS 101, 140 ALTERNATETAXAMT 128 ALTERNATETAXID 128 ALTTAXAMT 118, 133 AMEXID 142 AMEXPOSDATA 142 AMT 21, 27, 28, 30, 31, 35, 37, 91, 92, 101, 107 AUTHCODE 33, 34, 106 AVSADDR 53 AVSZIP 53 BALAMT 57 BATCHID 141 BILLTOCOUNTRY 31, 36, 37, 41, 82, 145 CHKNUM 91, 92 CHKTYPE 91, 92 CITY 31, 35, 37, 41, 82, 91, 92, 112, 145 COMMCARD 109 COMMCODE 120, 135 COMMENT1 27, 31, 35, 37, 92, 145 COMMENT2 27, 31, 36, 37, 92, 145 COMPANYNAME 31, 36, 37, 145 CUSTBROWSER 68, 80, 84 CUSTCODE 31, 36, 37, 112, 115, 116, 145 CUSTHOSTNAME 68, 80, 84 CUSTIP 31, 36, 37, 69, 80, 84 CUSTREF 39 CUSTVATREGNUM 121, 136 CVV2 54 CVV2MATCH 53 DATE_TO_SETTLE 141 DESC 74, 107
DESC1 74, 105 DESC2 74, 105 DESC3 74, 105 DESC4 35, 74, 105 DISCOUNT 110, 112, 120, 128, 129, 135 DL 91, 92 DOB 92 DUTYAMT 31, 35, 37, 109, 110, 112, 118, 120, 129, 133, 135, 145 EMAIL 31, 36, 37, 68, 79, 83, 91, 92, 145 ENDTIME 39 EXPDATE 22, 27, 28, 30, 31, 35, 36, 37, 41, 43 FIRSTNAME 27, 31, 36, 37, 41, 73, 74, 88, 112, 145 FREIGHTAMT 31, 35, 37, 101, 107, 109, 110, 112, 118, 120, 128, 129, 133, 135, 145 HANDLINGAMT 102, 107 HOSTADDRESS 20 HOSTCODE 95, 140 HOSTPORT 20 INVNUM 31, 36, 37, 73, 74, 76, 78, 82, 88, 89, 92, 106, 112, 118, 120, 121, 133, 136 INVOICEDATE 106 L_AMT1 103, 125 L_AMT2 103, 125 L_AMT3 103, 125 L_AMT4 104, 125 L_AMTn 68, 83, 111, 114, 122, 128, 129, 137 L_CATALOGNUMn 107 L_COMMCODEn 111, 114, 122, 137 L_COSTCENTERNUMn 107 L_COSTn 102, 107, 111, 114, 122, 129 L_DESC1 103, 125 L_DESC2 103, 125 L_DESC3 103, 125 L_DESC4 104, 125 L_DESCn 68, 83, 107, 111, 114, 119, 122, 128, 129, 134, 137 L_DISCOUNTn 111, 114, 119, 122, 128, 129, 134 L_FREIGHTAMTn 101, 108 L_HANDLINGAMTn 102, 108 L_PICKUPCITYn 108 L_PICKUPCOUNTRYn 108 L_PICKUPSTATEn 108 L_PICKUPSTREETn 108 L_PICKUPZIPn 108 L_PRODCODEn 107, 114, 128, 129 L_QTY1 103, 125
173
Index
L_QTY2 103, 125 L_QTY3 103, 125 L_QTY4 104, 125 L_QTYn 68, 83, 102, 107, 111, 114, 119, 122, 128, 129, 134 L_TAXAMTn 107, 111, 114, 119, 122, 129, 134, 137 L_TAXRATEn 119, 122, 129, 134, 137 L_TAXTYPEn 119, 128, 134 L_TRACKINGNUMn 108 L_UNSPSCCODEn 108 L_UOMn 107, 114, 119, 122, 128, 129, 134, 137 L_UPCn 107, 111, 119, 122, 129, 134, 137 LASTNAME 27, 31, 36, 37, 41, 73, 74, 88, 112, 145 LOCALTAXAMT 118, 120, 133, 135 MERCHANTCITY 70, 85, 104, 125 MERCHANTCOUNTRYCODE 70, 86, 104, 126 MERCHANTNAME 70, 85, 104, 125 MERCHANTSTATE 70, 85, 104, 125 MERCHANTSTREET 70, 85, 104, 125 MERCHANTZIP 70, 86, 104, 126 MERCHDESCR 82 MERCHSVC 77, 82 MICR 91, 92 MIDDLENAME 31, 36, 37, 41 NAME 91, 92, 146 NATIONALTAXAMT 118, 120, 133, 135 ORDERDATE 73, 74, 88, 112, 120, 135 ORDERDATETIME 73, 75, 89 ORDERTIME 113 ORIGID 30, 35, 37, 38, 57 PARMLIST 20 PARTNER 21, 91, 93 PHONENUM 31, 36, 37, 68, 69, 80, 81, 83, 84, 93 PHONETYPE 68, 80, 83 PNREF 30, 35, 37, 38, 57, 95 PONUM 31, 36, 37, 103, 105, 106, 109, 110, 113, 117, 118, 120, 124, 126, 131, 132, 133, 135, 146 PROCAVS 140 PROCCARDSECURE 140 PROCCVV2 140 PROXYADDRESS 20 PROXYLOGON 20 PROXYPASSWORD 20 PROXYPORT 20 PWD 21, 91, 93 RECURRING 35, 37, 70, 75, 76, 78, 81, 82, 85, 90
RECURRINGTYPE 83 REQNAME 106 RESPMSG 58, 95 RESPTEXT 140 RESULT 58, 64, 95 SETTLE_DATE 141 SHIPFROMZIP 110, 113, 118, 121, 133, 136 SHIPMETHOD 69, 80, 84 SHIPPEDFROMZIP 128, 129 SHIPTOCITY 31, 36, 37, 146 SHIPTOCOUNTRY 31, 36, 37, 69, 80, 81, 84, 85, 110, 112, 118, 121, 129, 133, 136 SHIPTOFIRSTNAME 31, 36, 37, 69, 81, 85, 146 SHIPTOLASTNAME 31, 36, 37, 69, 81, 85, 146 SHIPTOMIDDLENAME 31, 36, 37 SHIPTOPHONENUM 70, 81, 85 SHIPTOSTATE 31, 36, 37, 146 SHIPTOSTREET 31, 36, 37, 69, 81, 85, 146 SHIPTOZIP 31, 36, 37, 70, 81, 85, 103, 105, 106, 109, 110, 118, 120, 124, 129, 131, 133, 135, 146 SKU 69, 80, 84 SS 91, 93 STARTTIME 39 STATE 31, 36, 37, 41, 82, 91, 93, 113, 146 STREET 27, 31, 36, 37, 41, 45, 53, 69, 80, 84, 92, 93, 146 SWIPE 28, 31, 36, 37, 41, 42, 43, 73, 75, 76, 78, 82, 89, 113 TAXAMT 31, 35, 37, 101, 103, 107, 109, 111, 113, 115, 116, 117, 118, 120, 124, 126, 129, 131, 132, 133, 135, 146 TAXAMTn 128 TAXEXEMPT 31, 35, 37, 109, 113, 117, 118, 120, 131, 132, 133, 135 TAXPERCENTAGE 129 TAXPERCENTAGEn 128 TENDER 26, 91, 93 TIMEOUT 20 TRANSSTATE 141 TRXTYPE 26, 28, 29, 33, 34, 36, 57, 91, 93 USER 21, 91, 93 VATREGNUM 121, 136 VATTAXAMT 121, 136 VATTAXPERCENT 121, 136 VENDOR 21, 91, 93 VERBOSITY 19, 20, 101, 139
174
Index
ZIP 24, 27, 31, 36, 37, 41, 44, 45, 53, 69, 81, 84, 92, 93, 146 payflowpro.paypal.com 13 payment types 15 PayPal Developer Central 9 PHONENUM parameter 69, 81, 84, 93 pilot-payflowpro.paypal.com 13 PINless debit 26 pinless debit 15, 26, 27, 28 PNREF format of value 58 PNREF parameter 95 PNREF value 57 PONUM parameter 103, 105, 106, 109, 110, 113, 117, 118, 120, 124, 126, 131, 132, 133, 135 Purchasing card transactions American Express Phoenix 100 First Data Merchant Services Nashville 108 First Data Merchant Services North 110 First Data Merchant Services South 112 Global Payments - Central 115 Global Payments East 115 Merchant e-Solutions 116 Nova 123 Paymentech Salem (New Hampshire) 124 Paymentech Tampa 130 TSYS Acquiring Solutions 131 purchasing cards about 99 BIN ranges 100 PWD parameter 21
settlement operation 14 SHIPFROMZIP parameter 110, 113, 118, 121, 133, 136 SHIPPEDFROMZIP parameter 128, 129 SHIPTOCOUNTRY parameter 110, 112, 118, 121, 128, 129, 133, 136 SHIPTOFIRSTNAME parameter 69, 81, 85 SHIPTOLASTNAME parameter 69, 81, 85 SHIPTOSTREET parameter 69, 81, 85 SHIPTOZIP parameter 70, 81, 85, 103, 105, 106, 109, 110, 113, 118, 120, 124, 129, 131, 133, 135 Software Development Kit 9 SS parameter 93 SSL 17 SSL, see Secure Sockets Layer STARTTIME parameter 39 STATE parameter 82, 113 Stored Value 57 storefront testing 49 STREET parameter 27, 69, 80, 84, 93 SWIPE 68, 83 SWIPE parameter 28, 73, 75, 76, 78, 82, 89, 113
T
TAXAMT 101 TAXAMT parameter 107, 109, 111, 113, 116, 117, 118, 120, 126, 129, 131, 132, 133, 135 TAXAMTn parameter 128 TAXEXEMPT parameter 109, 113, 117, 118, 120, 131, 132, 133, 135 TAXPERCENTAGE parameter 129 TAXPERCENTAGEn parameter 128 TENDER parameter 26 testing operation 49 testing transactions host address 13 transaction types supporded for Level 3 procdessing 101 transaction levels described 99 transaction response PNREF parameter 57 RESPMSG parameter 58 RESULT parameter 58 transactions credit 34 inquiry 38
R
RECURRING parameter 70, 75, 76, 78, 81, 82, 85, 90 REQNAME parameter 106 required parameters electronic check 91 RESPMSG parameter 95 RESPMSG value 58 RESULT parameter 95 RESULT value 58
S
sale transaction type 28 Secure Sockets Layer 14
175
Index
U
USER parameter 21
V
VATREGNUM parameter 121, 136 VATTAXAMT parameter 121, 136 VATTAXPERCENT parameter 121, 136 VENDOR parameter 21 VERBOSITY 101 VERBOSITY parameter 139 void transaction type 36
Z
zero dollar Authorization 23, 32 ZIP parameter 27, 69, 81, 84
176