Developer's Guide
Table Of Contents
Website Payments Pro Developer’s Guide 39
Performing Direct Payment Credit Card Transactions
Using Address Verification Service
4
Note the value of the PNREF in the response.
EXAMPLE 4.14 Response to the Authorisation
RESULT=0&PNR EF=EFHP0D426A51&RESPMSG=Approved&AVSADDR=N&AVSZIP=Y&CVV2MATCH=X
&PPREF=6FS950632E172331R&CORRELATIONID=3c1a7c1c411a
Step 2 Capture the authorised funds for a partial delivery 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
Authorisation.
EXAMPLE 4.15 Partial capture of the purchase amount
"TRXTYPE=D&TENDER=C&PWD=SuperUserPassword&PARTNER=PayPalUK&VENDOR=SuperMerc
hant&USER=SuperMerchant&O RIGID=EFHP0D426A51&AMT=66.00"
RESULT=0&PNREF=VXYZ01234568&AUTHCODE=25TEST&AVSADDR=Y&AVSZIP=N&CORRELATIONI
D=2dc60e253495e
Step 3 Submit a new Sale transaction of $34 for the rest of the delivery
Once you have sent the remainder of the product, you can collect the remaining $34 in a Sale
transaction that uses the initial Authorisation as a reference transaction.
EXAMPLE 4.16 New Sale transaction for the balance
"TRXTYPE=S&TENDER=C&PWD=SuperUserPassword&PARTNER=PayPalUK&VENDOR=SuperMerc
hant&USER=SuperMerchant&O RIGID=EFHP0D426A51&AMT=34.00"
RESULT=0&PNREF=EFHP0D426A53&AUTHCODE=25TEST&AVSADDR=Y&AVSZIP=N&CORRELATIONI
D=2dc60e253495e
NOTE: In the case that your business model uses Authorisation/Delayed Capture for all
transactions, you could have chosen to use partial captures to collect the $34. For an
example, see “Delayed Capture Transaction: Capturing Transactions for Lower
Amounts” on page 33.
Using Address Verification Service
Address Verification Service (AVS) consists of the information — postal address and
postcode.
AVS compares the submitted billing postal address and postcode with the values on file at the
cardholder’s bank. The response includes values for AVSADDR and AVSZIP: Y, N or X for
the match status of the customer’s postal address and postcode. Y = match, N = no match,
X = cardholder’s bank does not support AVS. The AVS result is for advice only. Banks do not
decline transactions based on the AVS result — the merchant makes the decision to approve or
decline a transaction. AVS is supported by most US banks and some international banks.