Developer's Guide

Website Payments Pro Developer’s Guide 33
Performing Direct Payment Credit Card Transactions
Submitting Authorisation/Delayed Capture Transactions
4
EXAMPLE 4.5 Authorisation response
(For details on response parameters, see Chapter 8, “Responses to Transaction Requests.)
RESULT=0&PNREF=EFHP0D4268 38&RESPMSG=Approved&AVSADDR=N&AVSZIP=Y&CVV2MATCH=X
&PPREF=68W3371331353001F&CORRELATIONID=2e52df7ddf292
Step 2 Perform a Delayed Capture transaction
Set ORIGID to the PNREF value returned in the original Authorisation 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 Sale is transferred to the merchant’s 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 4.6 Delayed Capture transaction parameter string
"TRXTYPE=D&TENDER=C&USER=SuperMerchant&VENDOR=SuperMerchantPARTNER=PayPalUK
&PWD=SuperUserPassword&TENDER=C&COMMENT1=Reservation&ORIGID=EFHP0D426 838"
E
XAMPLE 4.7 Delayed Capture response
RESULT=0&PNREF=EFHP0D42687C&RESPMSG=Approved&PPREF=1F987159809825103&CORREL
ATIONID=b5689409e279f&FEEAMT=0.56&PAYMENTTYPE=instant&PENDINGREASON=complet
ed
Delayed Capture Transaction: Capturing Transactions for Lower Amounts
You can perform a Delayed Capture transaction for an amount lower than the original
Authorisation amount (useful, for example, when you make a partial delivery). To perform a
partial capture programmatically using the PayPal SDK, set CAPTURECOMPLETE to N in
the Delayed Capture transaction request. Setting CAPTURECOMPLETE to Y voids any
remaining amount of the original authorised transaction.
You can also perform Authorisations and Delayed Captures through PayPal Manager. For
details, see PayPal Manager Online Help.
Example Partial Capture Transaction
In this example, you authorise an amount of $100 for a consignment and charge $66 for the
first partial delivery using a Delayed Capture transaction. You charge the $34 for the final part
of the delivery using a second Delayed Capture transaction to draw credit card and postal
address information from the initial Authorisation transaction.