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
Website Payments Pro Payflow Edition Developer’s Guide 27
Performing Direct Payment Credit Card Transactions
Submitting Authorization/Delayed Capture Transactions
4
E=John&LASTNAME=Jones&STREET=123 Main St.&CITY=San
Jose&STATE=CA&ZIP=123451234&COUNTRY=US&CVV2=123&CLIENTIP=0.0.0.0
Example:Authorization Response
RESULT=0&PNREF=EFHP0D4 26838&RESPMSG=Approved&AVSADDR=N&AVSZIP=Y&CVV2MATC
H=X&PPREF=68W3371331353001F&CORRELATIONID=2e52df7ddf292
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 information—it is
stored at PayPal.)
If the capture succeeds, the amount of the Capture is transferred to the merchant’s account
during the daily settlement process. If the capture does not succeed, the hold on the
cardholder’s open-to-buy is still in effect.
Example:Delayed Capture Transaction
TRXTYPE=D&TENDER=C&USER=SuperMerchant&VENDOR=SuperMerchantPARTNER=PayPal
&PWD=SuperUserPassword&TENDER=C&COMMENT1=Reservation&ORIGID=EFHP0D426838
Example:Delayed Capture Response
RESULT=0&PNREF=EFHP0D42687C&RESPMSG=Approved&CORRELATIONID=b5689409e279f
&PPREF=68W3371331353001F&FEEAMT=0.56&PAYMENTTYPE=instant&PENDINGREASON=c
ompleted
Delayed Capture Transaction: Capturing Transactions for Lower Amounts
You can perform a Delayed Capture transaction for an amount lower than the original
Authorization amount (useful, for example, when you make a partial shipment). To perform a
partial capture programmatically using the Payflow SDK, set CAPTURECOMPLETE to N in the
Delayed Capture transaction request. Setting CAPTURECOMPLETE to Y voids any remaining
amount of the original authorized transaction
You can also perform Authorizations and Delayed Captures through through PayPal Manager.
For details, see PayPal Manager online help.
Example:Partial Capture Transaction
In this example, you authorize an amount of $100 for a shipment and charge $66 for the first
partial shipment using a Delayed Capture transaction. You charge the $34 for the final part of
the shipment using a second Delayed Capture transaction to draw credit card and shipping
address information from the initial Authorization transaction.
1. Submit the initial transaction (Authorization in this example).
This example uses an Authorization transaction for the full amount of a purchase of $100.
TRXTYPE=A&TENDER=C&PWD=SuperUserPassword&PARTNER=PayPal&VENDOR=SuperMerc
hant&USER=SuperMerchant&ACCT=5555555555554444&EXPDATE=0308&AMT=100.00&IN
VNUM=123456789&FIRSTNAME=John&LASTNAME=Jones&STREET=5199 MAPLE&ZIP=94588
Note the value of the PNREF in the response.
RESULT=0&PNREF=EFHP0D4 26A51&RESPMSG=Approved&AVSADDR=N&AVSZIP=Y&CVV2MATC
H=X&PPREF=6FS950632E172331R&CORRELATIONID=3c1a7c1c411a