Source for file setexpresscheckout.php
Documentation is available at setexpresscheckout.php
* SetExpressCheckout Object
* This class is used to perform the SetExpressCheckout operation
* @author Israel Ekpo <perfectvista@users.sourceforge.net>
* @copyright Copyright 2007, Israel Ekpo
* @license http://phppaypalpro.sourceforge.net/LICENSE.txt BSD License
* @package ExpressCheckout
* Used to invoke the SetExpressCheckout Operation
* @author Israel Ekpo <perfectvista@users.sourceforge.net>
* @copyright Copyright 2007, Israel Ekpo
* @license http://phppaypalpro.sourceforge.net/LICENSE.txt BSD License
* @package ExpressCheckout
* Message Sent to the Webservice
* Prepares the message to be sent
* This method prepares the message to be sent to the
* @param double $OrderTotal
* @param string $ReturnURL
* @param string $CancelURL
* @param string $PaymentAction Sale or Order
public function setParams($OrderTotal, $ReturnURL, $CancelURL, $PaymentAction)
* Prepares the final message and the calls the Webservice operation. If it is successfull the response is registered
* and the OperationStatus is set to true, otherwise the Operation status will be set to false and an Exception of the type
* soapFault will be registered instead.
$this->apiMessage['SetExpressCheckoutRequestDetails'] =
$this->apiMessage;
$this->apiMessage =
array('SetExpressCheckoutRequest' =>
$this->apiMessage);
$this->apiMessage =
array($this->apiMessage);
parent::registerAPIResponse(PayPalBase::getSoapClient()->__soapCall('SetExpressCheckout', $this->apiMessage, null, PayPalBase::getSoapHeader()));
catch (SoapFault $Exception)
parent::registerAPIException($Exception);
Documentation generated on Sat, 03 Feb 2007 20:59:06 -0800 by phpDocumentor 1.3.1