Download PayPal Certified Developer Program - 2008 Study Guide
Transcript
6 Express Checkout Express Checkout API Reference Information SetExpressCheckout Request The SetExpressCheckout notifies PayPal that the application is using Express Checkout to obtain payment from the customer. TABLE 6.2 SetExpressCheckout Request Parameters Parameter Description Required? METHOD Name of the API: SetExpressCheckout Yes RETURNURL A secure URL to which the customer’s browser is returned after the customer chooses to pay with PayPal. Yes N OT E : PayPal recommends that the value be the final review page on which the customer confirms the order and payment. Character length and limitations: no limit. CANCELURL The URL to which the customer is returned if the customer does not approve the use of PayPal to pay the merchant. Yes N OT E : PayPal recommends that the value be the final review page on which the customer confirms the order and payment. Character length and limitations: no limit. 62 AMT The total cost of the order to the customer. If shipping cost and tax charges are known, include them in this value; otherwise, this value should be the current subtotal of the order. Limitations: Must not 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 (,). Yes CURRENCYCODE A three-character currency code for one of the PayPal-supported transactional currencies. Default value: USD No MAXAMT The expected maximum total amount of the complete order, including shipping cost and tax charges. Limitations: Must not 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 (,). No March 2008 PayPal Certified Developer Program Study Guide