Download PayPal Web Services API - 2006 Reference Manual

Transcript
Express Checkout API
SetExpressCheckout
SetExpressCheckoutRequest
Request to use PayPal Express Checkout to obtain payment.
IMPO RTANT: Any
fields in the WSDL or XSD files that are not described here are ignored.
For example, do not set CountryName.
Fields
TABLE 6.1 SetExpressCheckoutRequest Fields
Allowable
Values
Required
?
ebl:Express
CheckoutTokenType
See the description
of “Token” on
page 72.
No
cc:BasicAmount
Type
See description.
Yes
Element
Description
Data Type
Token
On your first invocation of
SetExpressCheckoutRequest, the value of
this token is returned by
SetExpressCheckoutResponse.
I M P O R T A N T : Include this element and its value
only if you want to modify an
existing checkout session with
another invocation of
SetExpressCheckoutReque
st; for example, if you want the
customer to edit his shipping
address on PayPal.
Character length and limitations: 20 single-byte
characters
OrderTotal
The total cost of the order to the customer. If
shipping cost and tax charges are known, include
them in OrderTotal; if not, OrderTotal should be the
current sub-total of the order.
N O T E : You must set the currencyID attribute to
one of the three-character currency codes
for any of the supported PayPal currencies.
Character length and limitations: Must not exceed
$10,000 USD in any currency. No currency
symbol. Regardless of currency, decimal separator
must be a period (.), and the thousands separator
must be a comma (,). Equivalent to nine characters
maximum for USD.
Web Services API Reference
July 2006
67