Integration Guide
Table Of Contents
- Website Payments Pro Hosted Solution Integration Guide
- About This Guide
- Intended Audience
- Revision History
- Documentation Feedback
- Getting Started with Website Payments Pro Hosted Solution
- Integrating Your Website Using HTML
- Customising Your PayPal Payment Page
- Integrating iFrame in Your Website
- Integrating Your Website Using API
- Testing Your Integration in Sandbox
- Order Processing
- Protecting Buttons by Using Encrypted Website Payments
- Public Key Encryption Used by Encrypted Website Payments
- Setting Up Certificates Before Using Encrypted Website Payments
- Generating Your Private Key Using OpenSSL
- Generating Your Public Certificate Using OpenSSL
- Uploading Your Public Certificate to Your PayPal Account
- Downloading the PayPal Public Certificate from the PayPal Website
- Removing Your Public Certificate
- Using Encrypted Website Payments to Protect Your Payment Buttons
- Blocking Unprotected and Non-encrypted Website Payments
- Optional API Operations
- Moving from Website Payments Standard to Hosted Solution
- Error Messages
- Currency Codes
- Index
Optional API Operations
DoCapture API
74
RefundTransaction Response
DoCapture API
Capture an authorized payment.
DoCapture Request
DoCapture Response
DoCapture Request
TABLE A.12 RefundTransaction Response Fields
Field Description
REFUNDTRANSACTIONID
Unique transaction ID of the refund.
Character length and limitations - 17 single-byte alphanumeric
characters.
FEEREFUNDAMT
Transaction fee refunded to original recipient of payment.
GROSSREFUNDAMT
Amount of money refunded to original payer.
NETREFUNDAMT
Amount subtracted from PayPal balance of original recipient of
payment to make this refund.
T
ABLE A.13 DoCapture Request Fields
Field Description
METHOD
(Required) Must be DoCapture.
AUTHORIZATIONID
(Required) The authorisation identification number of the payment you
want to capture.This is the transaction id returned from
DoExpressCheckoutPayment or DoDirectPayment.
Character length and limitations - 19 single-byte characters
maximum.
AMT
(Required) Amount to capture.
Limitations - Value is a positive number which cannot exceed $10,000
USD in any currency. No currency symbol. Must have two decimal
places, decimal separator must be a period (.), and the optional
thousands separator must be a comma (,).
CURRENCYCODE
(Optional) A three-character currency code. Default: USD.