Class DoExpressCheckoutPayment

Description

Used to invoke the DoExpressCheckoutPayment Operation

Located in /doexpresscheckoutpayment.php (line 25)

PaypalAPI
   |
   --DoExpressCheckoutPayment
Method Summary
 void addPaymentItem ([string $Name = ''], [float $Number = ''], [integer $Quantity = 1], [float $Tax = ''], [float $Amount = ''], [string $currencyID = 'USD'])
 void execute ()
 void setParams (string $PaymentAction, string $Token, string $PayerID, string $PaymentDetails)
Methods
addPaymentItem (line 62)

Adds Item to the Payment Details

void addPaymentItem ([string $Name = ''], [float $Number = ''], [integer $Quantity = 1], [float $Tax = ''], [float $Amount = ''], [string $currencyID = 'USD'])
  • string $Name
  • float $Number
  • integer $Quantity
  • float $Tax
  • float $Amount
  • string $currencyID
execute (line 77)

Executes the DoExpressCheckoutPayment Operation

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.

  • access: public
  • throws: SoapFault
void execute ()
setParams (line 47)

Prepares the message to be sent

This method prepares the message to be sent to the Paypal Webservice

  • access: public
void setParams (string $PaymentAction, string $Token, string $PayerID, string $PaymentDetails)
  • string $PaymentAction
  • string $Token
  • string $PayerID
  • string $PaymentDetails

Inherited Methods

Inherited From PaypalAPI

 PaypalAPI::getAPIException()
 PaypalAPI::getAPIResponse()
 PaypalAPI::success()

Documentation generated on Sat, 03 Feb 2007 20:59:00 -0800 by phpDocumentor 1.3.1