Payment_PayPal_SOAP |
[ class tree: Payment_PayPal_SOAP ] [ index: Payment_PayPal_SOAP ] [ all elements ] |
Packages: Payment_PayPal_SOAP Classes:
Payment_PayPal_SOAP
Files:Payment_PayPal_SOAP_Error Payment_PayPal_SOAP_ErrorException Payment_PayPal_SOAP_ExpiredTokenException Payment_PayPal_SOAP_FaultException Payment_PayPal_SOAP_InvalidModeException Payment_PayPal_SOAP_InvalidRequestNameException Payment_PayPal_SOAP_MissingPropertyException |
[ Top ] $useLocalWsdl = false[line 146] Whether or not to use a local copy of the PayPal WSDLIf 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.
[ Top ] Method Detail__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:
Parameters:
[ Top ]
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:
Parameters:
[ Top ]
getLastRequest [line 532]
Gets the XML sent in the last SOAP request
[ Top ]
getLastResponse [line 552]
Gets the XML returned in the last SOAP response
[ Top ]
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.
[ Top ]
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.
[ Top ]
getWsdlFile [line 805]
Gets the WSDL file to use when building the SOAP object
[ Top ]
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.
Parameters:
[ Top ]
setMode [line 781]
Sets the mode to use for API calls
Parameters:
[ Top ]
setPassword [line 683]
Sets the API password used for authentication
Parameters:
[ Top ]
setSignature [line 703]
Sets the API signature used for signature-based authentication
Parameters:
[ Top ]
setSoapClient [line 645]
Sets a SOAP client to use for SOAP requests This is useful for testing.
Parameters:
[ Top ]
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.
Parameters:
[ Top ]
setUsername [line 664]
Sets the API username used for authentication
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 15:50:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |