Developer's Guide
Table Of Contents
- Payflow Pro Developer’s Guide
- Contents
- Preface
- Introduction
- Installing and Configuring the Payflow APIs
- Performing Credit Card Transactions
- About Credit Card Processing
- Contents of a Transaction Request
- How To Format a Transaction
- Parameters Used in Credit Card Transactions
- Values Required by All Transaction Types
- Submitting Sale Transactions
- Submitting Authorisation/Delayed Capture Transactions
- When To Use Authorisation/Delayed Capture Transactions
- Required Authorisation Transaction Parameters
- Typical Authorisation 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 Voice Authorisation Transactions
- Submitting Credit Transactions
- Submitting Void Transactions
- Submitting Inquiry Transactions
- Recharging to the Same Credit Card (Reference Transactions)
- Submitting Card-Present (SWIPE) Transactions
- Card Security Code Validation
- Responses to Credit Card Transaction Requests
- Testing Payflow Pro Credit Card Transactions
- Activating Your Payflow Pro Account
- Processor Details
- Verbosity: Viewing Processor- Specific Transaction Results
- Additional Reporting Parameters
- XMLPay
- Index
Payflow Pro Developer’s Guide 31
Performing Credit Card Transactions
Submitting Void Transactions
z You can void Delayed Capture, Sale, Credit, Authorisation, and Voice Authorisation
transactions. You cannot void a Void transaction.
z You can only use a Void transaction on a transaction that has not yet settled. To refund a
customer’s money for a settled transaction, you must submit a Credit transaction.
Required Void Transaction Parameters
To submit a Void transaction, you must pass the following parameter:
ORIGID
Set ORIGID to the PNREF (Transaction ID in PayPal Manager reports) value returned for the
original transaction. (For details on PNREF, see Chapter 4, “Responses to Credit Card
Transaction Requests.”)
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 OTE: 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.
Example Void Transaction Parameter String
This is an example Void transaction parameter string:
“TRXTYPE=V&TENDER=C&PARTNER=PayPal&VENDOR=SuperMerchant
&USER=SuperMerchant&PWD=x1y2z3&ORIGID=VPNE12564395”
ACCT AMT CITY COMMENT1
COMMENT2 COMPANYNAME BILLTOCOUNTRY CUSTCODE
CUSTIP DL DOB DUTYAMT
EMAIL EXPDATE FIRSTNAME FREIGHTAMT
INVNUM LASTNAME MIDDLENAME PONUM
SHIPTOCITY SHIPTOCOUNTRY SHIPTOFIRSTNAME SHIPTOLASTNAME
SHIPTOMIDDLENAME SHIPTOSTATE SHIPTOSTREET SHIPTOZIP
SS STATE STREET SWIPE
TAXAMT TAXEXEMPT PHONENUM ZIP