Integration Guide
Table Of Contents
- What is Express Checkout?
- How Express Checkout Works
- Designing an Optimal Checkout Flow
- Integration Use Cases
- Sample Code
- Documentation
Express Checkout ~ Integration Overview
8/16/2013 Page 16 of 18
The net amount of the refund, which is deducted from your balance.
To issue a refund:
In the RefundTransaction request, specify the transaction ID of the
original transaction which you want to refund.
TRANSACTIONID=transaction_id
Specify the kind of refund, which is either Full or Partial.
REFUNDTYPE=Full
Or
REFUNDTYPE=Partial
For a partial refund, specify the refund amount, including the currency.
AMT=amount
CURRENCYCODE=currencyID
For a partial refund, specify the memo description.
NOTE=description
Execute the RefundTransaction operation.
Check the acknowledgement status in the RefundTransaction response
to ensure that the operation was successful (ACK=Success).
Managing Response Codes
Possible error codes returned by each of the PayPal APIs can be found in an online list of API
Error Codes.
The error codes are broken out by API.
The documentation includes both the Short and Long Message for each error
and, where appropriate, a possible corrective action to be taken.
Testing Your Integration
To test your integration, PayPal provides a Sandbox for you to use to ensure
that your integration is working properly before releasing it to your buyers.
The Sandbox environment is a duplicate of the live PayPal environment,
except no money changes hand. You will need to sign up for a Sandbox
account in order to use this environment. For more information and to sign
up for a Sandbox account, please see the PayPal Sandbox Guide.