ServiceType\_Do::DoExpressCheckoutPayment PHP Method

DoExpressCheckoutPayment() public method

Method to call the operation originally named DoExpressCheckoutPayment Meta informations extracted from the WSDL - SOAPHeaderNames : RequesterCredentials - SOAPHeaderNamespaces : urn:ebay:api:PayPalAPI - SOAPHeaderTypes : \StructType\CustomSecurityHeaderType - SOAPHeaders : required
public DoExpressCheckoutPayment ( StructType\DoExpressCheckoutPaymentReq $doExpressCheckoutPaymentRequest ) : StructType\DoExpressCheckoutPaymentResponseType | boolean
$doExpressCheckoutPaymentRequest StructType\DoExpressCheckoutPaymentReq
return StructType\DoExpressCheckoutPaymentResponseType | boolean
    public function DoExpressCheckoutPayment(\StructType\DoExpressCheckoutPaymentReq $doExpressCheckoutPaymentRequest)
    {
        try {
            $this->setResult(self::getSoapClient()->DoExpressCheckoutPayment($doExpressCheckoutPaymentRequest));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }