Omnipay\PayPal\Message\ExpressCompletePurchaseResponse::isSuccessful PHP Method

isSuccessful() public method

public isSuccessful ( )
    public function isSuccessful()
    {
        $success = isset($this->data['ACK']) && in_array($this->data['ACK'], array('Success', 'SuccessWithWarning'));
        return !$this->isRedirect() && $success;
    }
ExpressCompletePurchaseResponse