2009
Table Of Contents
- Contents
- Introduction
- Downloading, Installing, and Activating
- Simple Payflow Transaction
- Performing Direct Payment Credit Card Transactions
- About Direct Payment Credit Card Processing
- Parameters Used in Transactions
- Submitting Sale Transactions
- Submitting Authorization/Delayed Capture Transactions
- When To Use Authorization/Delayed Capture Transactions
- Required Authorization Transaction Parameters
- Typical Authorization Transaction Parameter String
- Required Delayed Capture Transaction Parameters
- Delayed Capture Transaction: Capturing Transactions for Lower Amounts
- Delayed Capture Transaction: Capturing Transactions for Higher Amounts
- Delayed Capture Transaction: Error Handling and Retransmittal
- Submitting Credit Transactions
- Submitting Void Transactions
- Recharging to the Same Credit Card (Reference Transactions)
- Using Address Verification Service
- Card Security Code Validation
- Responses to Transaction Requests
- Testing Credit Card Transactions
- Verbosity: Viewing Processor- Specific Transaction Results
- Currency Codes
- Country Codes
- Index
Simple Payflow Transaction
Formatting Transactions
3
16 Website Payments Pro Payflow Edition Developer’s Guide
z EXPDATE - The expiration date of the credit card
Typical Sale Transaction
The following is a typical request transaction string for a Sale transaction.
TRXTYPE=S&TENDER=C&USER=SuperMerchant&PWD=SuperUserPassword&PARTNER=PayPal&
ACCT=5105105105105100&EXPDATE=1209&AMT=99.06&COMMENT1=Reservation&FIRSTNAME
=John&LASTNAME=Jones&STREET=123 Main St.&CITY=San
Jose&STATE=CA&ZIP=123451234&BILLTOCOUNTRY=US&CVV2=123&CUSTIP=0.0.0.0
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&PPREF=68W3371331353001F&CORRELATIONID=2dc60e253495e
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.