2006
Table Of Contents
- Authorization & Capture Integration Guide
- Preface
- Overview
- Basic Authorization & Capture on the PayPal Website
- Authorization & Capture API
- Order Authorizations Scenarios
- Best Practices
- Testing PayPal Authorization & Capture
- PayPal Authorization & Capture Statuses
- PayPal Authorization & Capture API Error Codes, Short Messages, and Long Messages
- IPN and PayPal Authorization & Capture
- Glossary
Authorization & Capture Integration Guide June 2006 47
5
Order Authorizations Scenarios
The following are common scenarios you will encounter when implementing order
authorizations.
Simple Order
TABLE 5.13 Simple Order Scenario
Complex Order
TABLE 5.14 Complex Order Scenario
Action API Call Running Balance
Your buyer orders an item from your
website.
You request an order from PayPal to
authorize the payment, specifying the
variable paymentaction=order. You
receive a response that the order has been
created for a payment amount of $100.00.
DoExpressCheckoutPaymentRequest
with:
<PaymentAction>
order
</PaymentAction>
You request authorization for $100.00. DoAuthorizationRequest <$100.00>
You capture funds in the amount of
$115.00, the maximum amount allowed.
The order now has a “Complete” status.
DoCaptureRequest $15.00
Action API Call Running Balance
Your buyer orders 2 items from your
website.