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
RefundTransaction API
Subscription Term Fields
RefundTransaction API
Issue a refund to the PayPal account holder associated with a transaction.
RefundTransaction Request
RefundTransaction Response
RefundTransaction Request
TABLE A.10 Subscription Terms Fields
Field Description
AMT
The amount subscriber is to be charged in one payment.
Character length and limitations: no limit
PERIOD
The period of time that the subscriber will be charged.
Character length and limitations: no limit
T
ABLE A.11 RefundTransaction Request Fields
Field Description
METHOD
Must be RefundTransaction.
TRANSACTIONID
(Required) Unique identifier of a transaction.
Character length and limitations - 17 single-byte alphanumeric
characters.
REFUNDTYPE
(Required) Type of refund you are making:
Other
Full
Partial
AMT
Refund amount. Amount is required if RefundType is Partial.
N OTE: If RefundType is Full, do not set the Amount.
NOTE
(Optional) Custom memo about the refund.
Character length and limitations - 255 single-byte alphanumeric
characters.