|[ class tree: Payment_PayPal_SOAP ] [ index: Payment_PayPal_SOAP ] [ all elements ]|
$useLocalWsdl = false
[line 146]Whether or not to use a local copy of the PayPal WSDL
If true, a local copy of the PayPal WSDL is used instead of the copy hosted on PayPal's servers. This can be used if PayPal breaks the hosted WSDL files, as has happened in the past.
__construct (Constructor) [line 280]
Creates a new PayPal SOAP client
Either signature-based or certificate-based authentication options are required. The username, password and optional signature fields may be retrieved from your PayPal account in the 'API Credentials' section.
Sandbox and live modes require different PayPal accounts so all option values will require changing if you select a different mode.
The available options are:
call [line 393]
Makes a PayPal SOAP request
If a structured array is used as the arguments, WSDL types with attributes may be specified as:
getLastRequest [line 532]
Gets the XML sent in the last SOAP request
getLastResponse [line 552]
Gets the XML returned in the last SOAP response
getSoapClient [line 621]
Gets the SOAP client used to make PayPal SOAP calls
If the client doesn't exist, it is created and stored in the protected property PaymentPayPal_SOAP::$soapClient.
getSoapHeaders [line 582]
Gets the SOAP headers required for PayPal authentication
If the header doesn't exist, it is created and stored in the protected property PaymentPayPal_SOAP::$soapHeader.
This header is passed to all PayPal SOAP calls.
getWsdlFile [line 805]
Gets the WSDL file to use when building the SOAP object
setCertificateFile [line 754]
Sets the local certificate file used for certificate-based authentication
This file is downloaded from your API credentials page when logged into your PayPal account.
setMode [line 781]
Sets the mode to use for API calls
setPassword [line 683]
Sets the API password used for authentication
setSignature [line 703]
Sets the API signature used for signature-based authentication
setSoapClient [line 645]
Sets a SOAP client to use for SOAP requests
This is useful for testing.
setSubject [line 730]
Sets the subject used for making requests on behalf of a third-party
For example, you may be running a marketplace where customers will purchase goods directlry from your clients through your market. In this case, you can use the client's PayPal email address as the subject to initiate a checkout for the customer in your marketplace.
setUsername [line 664]
Sets the API username used for authentication
Documentation generated on Wed, 09 Dec 2015 23:01:45 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.